write-materials-and-methods
Draft the AI and Software Discussion at the end of the Introduction and AI Methods in the appendix from the repo's ai-usage.md and tokens.md trail, to the contract in AI-POLICY.md (AI-rules) — factual claims ONLY from the trail, with a one-paragraph Discussion and a ten-heading AI Methods appendix holding methods and combined record-keeping/token accounting. Use when the user says "write the software section", "add the AI disclosure", "draft acknowledgements scaffolding", or when latex-ai-statement routes a failed rule here for repair. Grants, hospitality, and personal thanks are supplied by the human, never invented. NOT for auditing an existing disclosure (that is latex-ai-statement) and NOT for writing the trail itself (update-ai-usage, update-tokens).
- License 许可
- GPL-3.0
- 最近更新
- 2026-11-13
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- write-materials-and-methods
- description
- Draft the AI and Software Discussion at the end of the Introduction and AI Methods in the appendix from the repo's ai-usage.md and tokens.md trail, to the contract in AI-POLICY.md (AI-rules) — factual claims ONLY from the trail, with a one-paragraph Discussion and a ten-heading AI Methods appendix holding methods and combined record-keeping/token accounting. Use when the user says "write the software section", "add the AI disclosure", "draft acknowledgements scaffolding", or when latex-ai-statement routes a failed rule here for repair. Grants, hospitality, and personal thanks are supplied by the human, never invented. NOT for auditing an existing disclosure (that is latex-ai-statement) and NOT for writing the trail itself (update-ai-usage, update-tokens).
03 SKILL.md 正文
write-materials-and-methods
Runs subdomains/latex/WRITERS.md preamble and postamble in full (manuscript-tier
target). This leaf's middle:
Sources and placement
- Contract: the repo's
AI-POLICY.md(AI-rules), resolved repo-local-first persubdomains/repo-docs/RESOLUTION.md. On a miss, stop and route tonew-repo-ai-policy— never fall back to the pack template, and never instantiate: RESOLUTION §2's instantiate-and-interrupt is carved out forcheck-*skills, and a drafter creating the contract it will then be judged against defeats the trinity. It governs what the disclosure must contain; this skill governs how it is written. Do not restate or widen it. - Sources: the repo's master
ai-usage.md/tokens.mdtrail and the per-folder working records they consolidate. Those files are written by [[update-ai-usage]] and [[update-tokens]], never by this skill; a gap in the trail is fixed there and the drafting waits. Every named tool, model string, and usage claim must appear in the trail — no memory, no inference from vibes; missing telemetry is stated plainly, never estimated. - Reader access: use internal logs as drafting evidence, not as substitutes for disclosure. The manuscript must itself state the relevant tools/models, concrete contributions, review performed, and any material limits of the record. Do not direct readers to local paths, scratch files, private chats, ai-usage.md, tokens.md, or similar records they will not receive. A supplement may be cited only if it will actually accompany the paper or has a verified public, stable location; summarize the essential information in the paper even then. Token usage is reported in the combined record-keeping and token accounting subsection under Structure, unless a recorded venue requirement excludes it. Do not infer human verification from agent review.
- Before delivery, read the disclosure as a reader who has only the submitted paper and its declared public supplements. Replace each inaccessible-file reference with the supported substantive information it was meant to convey.
- Placement and heading follow Layout below; the repo's AI12 is checked for conflict there, not obeyed blindly. Where the document has an abstract, draft its one-sentence disclosure too (AI12) — factual, no marketing: what assisted, which model and harness, and that the authors are responsible; without it the auditor's abstract finding has no repair path. Keep Acknowledgements distinct; never invent grants, hospitality, or thanks.
- Placeholders (
<grant numbers>,<host institutions>,<author check>) for everything only the human knows, listed for them explicitly.
Layout
Unless a recorded venue requirement overrides it, use one two-part disclosure:
- The Introduction ends with
\subsection{AI and Software Discussion}\label{sec:ai}: one paragraph, no lower headings. - The appendix contains
\section{AI Methods}\label{app:ai-methods}with ten\subsectionheadings, in this order: typesetting, agent management, natural language proofs, adversarial reviews, AI assisted computations, AI statement generation, Proofreading and adversarial review, Literature review, Formalization, Record keeping and token accounting.
The paragraph is short and readable by someone who never saw the project's records: what AI was used for (for example "proofreading and porting the manuscript to Lean"), with model, harness and citation; which sections hold material an AI drafted or corrected, and whether the authors have checked it; who drafted the disclosure and its review status; and the AI9 sentence. The appendix gives methods, runs and the combined record/token account. There is no separate token-accounting section. A category with no activity is omitted from the paragraph; in the appendix it gets one factual sentence. Where an abstract exists, add one factual AI-disclosure sentence there (AI12). Keep Acknowledgements separate; never invent grants, hospitality, or thanks.
For the house layout, if the document has no Introduction, create only a
structural \section{Introduction} heading with the AI and Software
Discussion as its final subsection. Leave substantive introductory prose to
write-introduction at its human-initiated final stage; a heading is not
permission to draft introductory claims early. On migration, retain the
existing disclosure's supported content and author markers under the
repository's revision protocol. Preserve or update every label and
reference affected by moved material, including cross-manuscript citation
locators; run check-labels-and-refs before delivery. Older Layout choice (AI12) entries are historical records, not permission to use an obsolete
house layout.
Recording. Before drafting, open or amend this task's update-ai-usage
entry through that skill. Its Agents table is the trail source for the
self-disclosure of both parts. Do not invent a layout-choice record: the
house layout is fixed.
Venue override. Follow a journal placement requirement recorded with the
manuscript or in ai-usage.md, and name its location in the delivery report.
Keep the content categories unless the requirement explicitly excludes them.
Stale policy. If the repository's AI12 still requires an older layout, or
its AI14 lacks "in the mathematical body, not the disclosure" (for instance,
it wants findings exhibited "before the positive results" or counts in the
document), report the conflict and route its amendment to
new-repo-ai-policy. Draft the house layout, with refutations in the body,
without rewriting the policy from this skill; the auditor reports
POLICY-STALE until the amendment is made.
Structure
The reader is a mathematician reading the paper, who has not seen the
project's records and cannot follow internal labels. Write what they can use:
what the machines did to this paper and where the results sit. Internal
process — how many agents, which passes, which skills were consulted, finding
counts, effort settings — is mentioned only when it is scientifically
interesting; otherwise it belongs to the appendix or the ai/ records. Never
cite a finding by an internal number or list review findings: a correction the
authors adopt is stated where it belongs in the mathematics (LX11), and the
disclosure names its section. Errors an AI reported — in review or in
formalization — that the authors have not adopted are neither described nor
counted in the paragraph; until adopted they live in the appendix and records.
Summarize proofreading-grade corrections (typos, misprints, slips that change
no statement; not refutations under LX11) as "some minor errors in §5.7", not
item by item. Session dates and identifiers belong to the ai/ records; where
the repo's AI1 requires a date on an AI mention, put it inside the item it
dates. Use the exact headings and levels in Layout above. Copy the
structure, not another manuscript's project history.
AI Methods, in the appendix (starting material, AI7, opens it):
- typesetting — editing phases; what the router does and which
check-*skills it actually runs. - agent management — each repo contract file present and its writer
skill (
new-repo-*-policy; CONTEXT.md is [[domain-modeling]]'s). - natural language proofs — when [[frontier-dump]] was used, one sentence of result per related dump. If explaining the workflow's model-selection rationale, cite Sutton's bitter lesson and distinguish the source's claim from the workflow's design choice.
- adversarial reviews — when reviews ran and which skills.
- AI assisted computations — computations and source checks, each with system and version.
- AI statement generation — explicitly say when this Methods text was AI-drafted, with model, harness, date where required by AI1, and skills executed versus only consulted. Name the Discussion's drafting pass as well; its own disclosure sentence remains in the Discussion. Distinguish AI drafting from human review and acceptance; include the AI9 responsibility sentence.
- Proofreading and adversarial review — each review skill run, the model and harness that ran it, and the sections where the paper corrects what it caught; for each substantive AI-result kept, its origin (AI4) and derivation account (AI8) in a sentence.
- Literature review — the skill that located references ([[track-down-reference]]), how searches were run and their limits, the AI5 search for each AI-result, techniques and counterexamples alike (First Proof Second Batch, arXiv:2606.18119, p.~5, is why it is owed even when nothing looks borrowed), and whether the authors checked the references (only what the record shows; otherwise a placeholder for them).
- Formalization — what was formalized, in which system and revision, with which skills, or that there is none.
- Record keeping and token accounting — explain the master
ai-usage.md/tokens.md, what each records and its writer. Put the manuscript's token table here: task, model and harness, available token classes and cost, preceded by counting scope, rates and their as-of date. Label unrecorded or unpriced rows; missing telemetry is unavailable, not zero. Do not send readers to inaccessible local records for the answer.
Software citations (default, not optional)
- Cite all software used substantively in the work. Every software system named in this subsection needs a bibliography entry and an in-text citation: computational systems, packages, AI systems and interfaces, workflow packages, and named document-build tools. Acknowledgement prose alone is not a citation. Audit the software-name/citation pairs before delivery; do not infer that a package's citation also credits its host system, or conversely.
- For OpenAI assistance, cite OpenAI as the corporate author and the actual product used (for example, Codex at https://openai.com/codex/). State the model identifier and interface in the disclosure when evidenced by the usage trail. Apply the same rule to other AI providers. Use verified official product pages or provider-recommended citations. Do not cite ChatGPT when the recorded interface was Codex; do not turn a website into an invented journal article or copy malformed bibliography metadata from a precedent. The provider citation identifies the system, not evidence of the project's usage; the contribution account still belongs in the text.
- Prefer the software author's
CITATION.cff, official recommended citation, archived release DOI, or associated software/algorithm paper. Give author, title, the version actually used when known, and a stable public URL or DOI. For a live website, include an access date. Do not replace a recorded older version with the latest version shown on the website, or invent a release date. Use the appropriate version or documented section as a citation locator; do not manufacture page or theorem numbers for software. - Follow Drew Sutherland's software-citation practice as a model: identify the actual implementation and host system, and credit the associated research paper when requested by its author. His galrep software page identifies the Magma implementation and asks users to cite the associated paper. This is a citation-practice example, not a reason to cite galrep, Magma, or Sutherland in a project that did not use them.
- Name and cite every skill the statement mentions, executed or
reviewing, to the repository that holds it.
readlink -f ~/.claude/skills/<name>finds the repository and the skill's directory (the locator); the commit comes from the trail or the declared-tools table, never from the checkout's current HEAD. A local checkout does not establish public availability. A skill in a private repository is still named and cited to that repository, marked private; its AI3 gap is stated in the text and reported to the human, never hidden by dropping the skill. The paper still describes each procedure it relies on; never make an inaccessible file the reader's source of the methods.
Delivery check
Read both disclosure parts, the combined record/token subsection, the bibliography and the Introduction together. Confirm the required layout, self-contained contribution descriptions, provider citations (OpenAI when used), citations for every named software system, actual version evidence, public accessibility, and separation of agent review from human verification.
Then hand the file to [[latex-ai-statement]] for the per-rule audit against
AI-POLICY.md and the trail. Drafting is not self-certifying: this skill
writes the disclosure, that one decides whether it passes.
Red flags
| Thought | Reality |
|---|---|
| "Presumably Magma was used" | The trail says what was used. Presumably ships lies. |
| "Copy the acknowledgements from the template paper" | Structure transfers; gratitude does not. |
| "Naming OpenAI in the prose is enough" | Add the provider/product bibliography citation. |
| "Put all AI material at the end of the paper" | The discussion closes the Introduction; methods belong in the appendix. |
| "Give token accounting its own appendix section" | Combine it with record keeping under AI Methods. |
| "The local skill path is a reproducibility reference" | Readers need the procedures in the paper and an accessible public citation. |
Negative results travel with the positive ones (LX11, LX12)
LX11 and LX12 put a refutation in the mathematics: the corrected statement or
counterexample, where the reader meets the claim. The disclosure carries no
list of findings; it names the sections where corrections that originated
with an AI appear (AI4); AI12 is the authorized reason for excluding the
list from the disclosure (LX12), and the delivery report gives the counts
stated in the body and excluded. An unadjudicated agent claim is not yet a
result of the paper and is not disclosed as one. Record each established
refutation the body does not yet state in the task's update-ai-usage entry
as not yet integrated, and name it to the human.
04 同仓库更多 Skills
writing-skills
Use when creating new skills, editing existing skills, or verifying skills work before deployment
writing-plans
Use when you have a spec or requirements for a multi-step task, before touching code
verification-before-completion
Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always
using-superpowers
Use when starting any conversation - establishes how to find and use skills, requiring skill invocation before ANY response including clarifying questions
using-git-worktrees
Use when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback
test-driven-development
Use when implementing any feature or bugfix, before writing implementation code