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
- 01Draft nine types of paper sections
- 02Gather context from paper files and results
- 03Add a plan comment before each paragraph
- 04Refine for errors and concision
- 05Check math, references, and citations
Use cases
- 01Draft an introduction from a research plan
- 02Write a results section using experiment logs
- 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-sectionAfter installing, type/paper-writing-sectionin Claude Code to confirm it loaded.
Bundled filesreferences/refinement-prompts.mdreferences/section-tips.md
Details
From the project READMEPaper 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