Article writing

From MechMath/MechMath-agent-team · View interactive version

Article writing is an AI agent skill from the GitHub repository MechMath/MechMath-agent-team. Use when NL-Prover needs reader-facing mathematical exposition: a final proof PDF after verified proof completion, a full LaTeX article candidate, a local proof/article rewrite candidate, or the mandatory progress notes written before any stop without a verified proof. Trigger on proof.pdf, progress

How to use this skill

Skill file

Article-Writing Skill

Use this skill inside the Writer agent. It is not a proof-search workflow.

Writer turns verified or explicitly state-marked material into reader-facing

LaTeX prose without changing the mathematics.

Load Only What You Need

| Need | Reference |

|------|-----------|

| Create or reuse the writing style profile | style-profile.md |

| Ground mathematical claims and citations | mathematical-grounding.md |

| Rewrite a local passage | local-revision.md |

| Explain unfinished/restartable state (mandatory before any non-proof stop) | progress-note.md |

| Say where the run stands, for a person (same stop, second file) | progress-summary-example.md |

| Build a full research-note/paper or complete-proof candidate | latex-research-note-template.md |

For full article or complete-proof candidates, read style-profile.md,

mathematical-grounding.md, and latex-research-note-template.md.

For local rewrites, read style-profile.md, mathematical-grounding.md, and

local-revision.md.

For progress notes, read mathematical-grounding.md and progress-note.md;

read style-profile.md only if the note must match an existing document.

A non-proof stop writes two documents and they are not versions of each

other. writer/progress_notes.tex is the restart document: its reader is the

next run, it carries full proofs, and it has no length cap.

writer/progress_summary.tex, exported to progress_summary.pdf at the

workspace root, is for the person deciding what to do about this run: seven

fixed sections opening with the problem statement, the blocker third, at most

300 body lines and 10 pages, every established result written out as statement +

sketch + path, no harness vocabulary, every coined term defined. Both are LaTeX and both

are compiled — the summary is the one a person opens, so it is the one that most

needs typesetting. Read progress-summary-example.md for

the shape and gate summary <workspace> for what is checked. The contrast

between the two is tabulated at the end of progress-note.md — do not merge

them, and do not shorten the note to satisfy the summary's cap.

Core Rules

can be compiled directly from writer/.

user supplies no template, venue, or format, default to the repository house

KLMM template: read repo-root tex/template.tex and use it as the structural

starting point. Keep the package and bibliography paths compatible with a

sibling KLMM/ directory: \usepackage[]{KLMM/klmm} and, if a bibliography is

present, \bibliographystyle{KLMM/klmm}. The Orchestrator copies tex/KLMM/

next to the .tex before compiling. Local rewrites instead match the

surrounding document. Only depart from the KLMM template when the user

explicitly provides another template or venue.

for another article language or venue.

references/refs.bib; every \cite key must resolve there. No TODO

placeholders — surface missing metadata to the Orchestrator (ADR 0019; see

references/mathematical-grounding.md).

open blockers as final mathematical results.

request. Progress notes cover unfinished state, and are required before any

stop that is not a verified proof — not only when the human asks.

hypotheses, and notation, then carry the five required sections in order:

routes explored; verified results with their complete proofs written out;

failed explorations with the reason each failed; possible next paths including

the atomic blocker; and a short summary of the collected literature. See

references/progress-note.md.

for the Orchestrator.

Standard Outputs

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.