PluginBench
Skill
Review
Audit score 70

paper-writing-section

lingzhi227/agent-research-skills

Write publication-quality sections for academic papers with section-specific guidance and two-pass refinement.

What is paper-writing-section?

This skill generates individual sections of academic papers (Abstract, Introduction, Methods, Results, etc.) with structured guidance and automated refinement. Use it when drafting or improving a specific paper section to ensure quality, correctness, and consistency with your research.

  • Writes LaTeX-formatted sections with proper math notation and citation handling
  • Applies section-specific writing tips from built-in reference guides
  • Performs two-pass refinement to fix errors and remove redundancies
  • Validates math formatting, cross-references, and citation syntax
  • Ensures numbers match experimental logs and results
  • Maintains objective, publication-ready writing style

How to install paper-writing-section

npx skills add https://github.com/lingzhi227/agent-research-skills --skill paper-writing-section
Prerequisites
  • LaTeX knowledge (basic)
  • Existing paper context (title, contributions, results)
  • Optional: experiment logs, figures, tables, or prior sections as reference
Claude Code
Cursor
Windsurf
Cline

How to use paper-writing-section

  1. 1.Specify the section name (abstract, introduction, methods, results, discussion, etc.)
  2. 2.Optionally provide a context file with research plan, results, or prior sections
  3. 3.The skill reads existing .tex files and experiment logs to gather context
  4. 4.Section-specific tips are applied before writing each paragraph
  5. 5.Two refinement passes automatically fix errors and improve clarity
  6. 6.Output is a LaTeX fragment ready to integrate into your paper

Use cases

Good for
  • Draft an Abstract summarizing your research contributions and findings
  • Write a Methods section describing your experimental setup and procedures
  • Generate a Results section presenting key findings with proper figure/table references
  • Create a Discussion section analyzing implications and comparing to related work
  • Improve an existing section by applying refinement passes for clarity and correctness
Who it's for
  • Academic researchers writing papers
  • Graduate students preparing manuscripts for publication
  • Authors needing help structuring specific paper sections
  • Teams collaborating on multi-section papers

paper-writing-section FAQ

What section types are supported?

Abstract, Introduction, Background, Related Work, Methods, Experimental Setup, Results, Discussion, and Conclusion.

Do I need to provide all context upfront?

No, but providing existing sections, experiment logs, and results helps the skill write more accurate and consistent content.

What format is the output?

LaTeX fragment with proper math notation ($...$), cross-references (\ref{}), and citations (\cite{}), but no document preamble.

How does the two-pass refinement work?

Pass 1 fixes errors like unenclosed math, broken references, and hallucinated numbers. Pass 2 removes redundancies and improves transitions.

Can I use this to improve an existing section?

Yes, provide the existing section as context and the skill will refine it using the two-pass process.

Full instructions (SKILL.md)

Source of truth, from lingzhi227/agent-research-skills.


name: paper-writing-section description: 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. argument-hint: [section-name]

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