Paper Writing Section

by lingzhi2279e6c085d65e3No license386 starsListed Oct 8, 2026Updated Oct 8, 2026Repository updated 7 months ago

Write a specific section of an academic paper (Abstract, Introduction, Background, Related Work, Methods, Experiments, Results, Discussion/Conclusion) with section-specific guidance and two-pass refinement. Use when the user wants to write, draft, or improve a paper section.

AI-generated overview

Drafts a specific section of an academic paper in LaTeX with section-specific tips and two-pass refinement.

What it does
Guides an agent through writing one named section of an academic paper, such as an abstract, introduction, methods, results, or conclusion. It gathers context from existing LaTeX files, experiment logs, and result files, then loads section-specific writing tips and applies two refinement passes covering error fixes and compression. The output is a LaTeX fragment without document class or preamble, with properly enclosed math and valid references.
When to use it
Use when a user wants to write, draft, or improve a particular section of an academic paper. It suits authors who already have research context, results, or prior sections and need publication-quality LaTeX prose for one section.
Requirements
Requires access to the paper's existing LaTeX files, experiment logs, result files, or other context. It reads two bundled reference files for section tips and refinement prompts. No scripts are shipped and no credentials or network access are stated.

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

  • Upstream: data-analysis, figure-generation, table-generation, related-work-writing
  • Downstream: latex-formatting, citation-management
  • See also: paper-assembly

Source and attribution

Source:lingzhi227/agent-research-skillsinskills/paper-writing-sectionat commit9e6c085

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal