agentleFS
MinLee0210MinLee0210/paper-orchestra-skills/skills/research-section-writing/SKILL.md

research-section-writing

Skill0 starsChanged 10 days agoApache-2.0View on GitHub

Write the remaining sections of a LaTeX research paper from a structured outline, verified citation map, figures, and experimental log, producing a complete compilable manuscript. Use after the Introduction and Related Work are filled, or whenever the user needs the abstract, method, experiments, results, discussion, conclusion, tables, or appendix drafted into an existing template. Do not use to invent results or to fill in missing data.

The file

Show its rules and text

We split this skill into the rules it gives an agent

17 rules. About 0 are common, 3 are distinctive, and 14 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 14

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read references/prompt.md for the full writing directive, references/writing-style.md for how to present results, and …

    line 21
  2. Very specific:

    Build tables from the log: Use booktabs (\toprule, \midrule, \bottomrule).

    line 28
  3. Very specific:

    Place every figure: Use the exact filename and extension from info.json.

    line 29
  4. Very specific:

    Cite from the map: Use only citation_candidates for that subsection.

    line 30
  5. Very specific:

    Compile: Run the compile script from research-content-refinement.

    line 32
  6. Very specific:

    Lint: Run python scripts/lint_latex.py to catch unresolved citations, missing figures, and unbalanced environments.

    line 33
  7. Very specific:

    Ground the numbers: Write claims_grounding.json at the project root: the claims that carry the argument and a derivation for every computed …

    line 34
  8. Very specific:

    No invented numbers: Every quantitative claim traces to experimental_log.md.

    line 38
  9. Very specific:

    No invented citations: Every key exists in citation_map.json.

    line 39
  10. Distinctive:

    Negative results stay negative: When nothing beat the baseline, or a final evaluation missed its bar, say so and state the limitation.

    line 42
  11. Very specific:

    No missing figures: Use all figures in info.json.

    line 45
  12. Distinctive:

    Dense academic tone: No marketing adjectives, no "revolutionary", no "groundbreaking".

    line 49
  13. Very specific:

    Use width=\linewidth or width=\columnwidth.

    line 55
  14. Very specific:

    Do not change cleveref to cleverref.

    line 56
  15. Very specific:

    Do not add packages unless the template already loads them.

    line 57
  16. Distinctive:

    Keep indentation and spacing consistent with the template.

    line 58
  17. Very specific:

    Write latex_writeup/raw_draft_paper.tex containing the full document, not a diff.

    line 62

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Section writing agent

The outline is the plan; the experimental log is the truth; the citation map is the allowed bibliography; the figures are the available evidence. This stage merges them into a complete LaTeX draft.

Inputs

  • latex_writeup/template.tex — Introduction and Related Work already written, other sections empty.
  • outline.json (the outline_v1.json produced by the literature stage) — section plan with citation_candidates.
  • idea.md — method details and equations.
  • experimental_log.md — every number and table.
  • citation_map.json — keys, titles, authors, and abstracts.
  • figures/info.json and the figure files — after the merge these live in latex_writeup/figures/.
  • guidelines.md — page limit, formatting, mandatory sections.

Read references/prompt.md for the full writing directive, references/writing-style.md for how to present results, and references/latex-conventions.md before editing.

Process

  1. Read the whole template first. Identify which sections are filled and which are placeholders. Never rewrite a filled section except for consistency.
  2. Map outline sections to LaTeX sections. The outline uses titles like 3. Methodology; match them to \section{...} and subsections.
  3. Draft in order: Abstract, Method, Experiments, Results/Discussion, Conclusion, then Appendix. The abstract is easier to write after the results are placed.
  4. Build tables from the log. Use booktabs (\toprule, \midrule, \bottomrule). Copy exact values. If the log has no value for a cell, leave it empty or remove the row; do not estimate.
  5. Place every figure. Use the exact filename and extension from info.json. One \includegraphics per figure; do not combine figures. Reference each figure in the text before or near its placement.
  6. Cite from the map. Use only citation_candidates for that subsection. When describing a cited paper, use its abstract from the map.
  7. Keep the math grounded. Formalize definitions, losses, and algorithms that appear in idea.md. Do not introduce variables or theorems the inputs do not support.
  8. Compile. Run the compile script from research-content-refinement. Fix errors before returning.
  9. Lint. Run python scripts/lint_latex.py to catch unresolved citations, missing figures, and unbalanced environments.
  10. Ground the numbers. Write claims_grounding.json at the project root: the claims that carry the argument and a derivation for every computed value (differences, ratios, relative gains). Then run the number check from research-evidence-audit on the draft and fix every error.

Content rules

  • No invented numbers. Every quantitative claim traces to experimental_log.md.
  • No invented citations. Every key exists in citation_map.json.
  • No unsupported comparisons. Causal attribution to a component needs a controlled ablation in the log. Rankings and "across all" statements must follow from the tables.
  • No invented implementation details. Describe only what idea.md, the log, or readable source code shows.
  • Negative results stay negative. When nothing beat the baseline, or a final evaluation missed its bar, say so and state the limitation. Do not manufacture a winner.
  • One thesis, not a diary. Organize by claim and evidence, never by the order in which experiments ran.
  • No orphan figures or tables. Each one is referenced in the text.
  • No missing figures. Use all figures in info.json; if one cannot be used, say why in the handoff.
  • Tables and figures before the Conclusion, unless deliberately placed in the Appendix.
  • Appendix after References, on a fresh page if the venue requires it.
  • Limitations and future work at the end of the main text when the venue expects them. Do not turn a limitation into a hidden claim.
  • Dense academic tone. No marketing adjectives, no "revolutionary", no "groundbreaking".

LaTeX rules

  • Preserve the preamble, document class, and package list.
  • In a two-column venue, prefer single-column figure unless the figure is explicitly wide; then use figure* and close it with \end{figure*}.
  • Use width=\linewidth or width=\columnwidth; never set both width and height, which distorts the aspect ratio.
  • Do not change cleveref to cleverref.
  • Do not add packages unless the template already loads them. The one exception is tabularx, which the formatting pass in research-content-refinement may add.
  • Keep indentation and spacing consistent with the template.

Output

Write latex_writeup/raw_draft_paper.tex containing the full document, not a diff.

Also write claims_grounding.json (format in research-evidence-audit).

Handoff message:

  • sections written
  • tables created and their source rows
  • figures included
  • citation keys used
  • anything skipped and why
  • compile status

Files

  • references/prompt.md — complete section-writing directive.
  • references/latex-conventions.md — table, figure, citation, and appendix patterns.
  • references/writing-style.md — abstract, results, consistency, and claim-strength rules.
  • scripts/lint_latex.py — structural and reference checks.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.