mcpField
P
paper-writing-section

paper-writing-section

github.com/lingzhi227Documents4401.8k installsUpdated 35w ago
Repository

About paper-writing-section

A skill that drafts academic paper sections as LaTeX fragments, using the paper’s existing materials and section-specific guidance. It is for researchers writing or refining a paper section.

Key features

  1. 01Draft nine types of paper sections
  2. 02Gather context from paper files and results
  3. 03Add a plan comment before each paragraph
  4. 04Refine for errors and concision
  5. 05Check math, references, and citations

Use cases

  1. 01Draft an introduction from a research plan
  2. 02Write a results section using experiment logs
  3. 03Refine a conclusion before paper assembly

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/lingzhi227/agent-research-skills --skill paper-writing-section

After installing, type/paper-writing-sectionin Claude Code to confirm it loaded.

Bundled filesreferences/refinement-prompts.mdreferences/section-tips.md

Details

From the project README

Paper Section Writer

Write a publication-quality section for an academic paper.

Input

  • $0 — Section name: abstract, introduction, background, related-work, methods, experimental-setup, results, discussion, conclusion
  • $1 — (Optional) Path to context file (research plan, results, prior sections)

Workflow

Step 1: Gather Context

Read the paper's existing .tex files, experiment logs, result files, and any provided context. Understand: title, contributions, methodology, key results, figures, tables.

Step 2: Write the Section

Load section-specific tips from references/section-tips.md. Before every paragraph, include a brief plan as a LaTeX comment (% Plan: ...).

Step 3: Two-Pass Refinement

Apply both refinement passes from references/refinement-prompts.md:

  • Pass 1: Fix errors (unenclosed math, broken refs, hallucinated numbers, duplicate labels)
  • Pass 2: Remove redundancies, compress, ensure smooth transitions

References

  • Section writing tips: ~/.claude/skills/paper-writing-section/references/section-tips.md
  • Refinement prompts and error checklist: ~/.claude/skills/paper-writing-section/references/refinement-prompts.md

Output

LaTeX fragment (no \documentclass, no preamble). All math enclosed in $...$ or \begin{equation}, all figures referenced with \ref{}, all cited works use \cite{}, no placeholder text.

Quality Checklist

  • All math enclosed properly
  • All \ref{} and \cite{} valid
  • No TODO/TBD/FIXME markers
  • Numbers match experimental logs exactly
  • Writing style is objective — no hype words
  • Section length appropriate for venue

Related Skills

Comments

Markdown supported