write-example
Write one self-contained worked mathematical example or counterexample in the declared LaTeX manuscript, with explicit hypotheses, reproducible calculation or proof, and optional linked figures. Use to explain a finite case, not to smuggle in a general theorem.
- License 许可
- GPL-3.0
- 最近更新
- 2026-11-13
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- write-example
- description
- Write one self-contained worked mathematical example or counterexample in the declared LaTeX manuscript, with explicit hypotheses, reproducible calculation or proof, and optional linked figures. Use to explain a finite case, not to smuggle in a general theorem.
03 SKILL.md 正文
write-example
Parent: mathcity-latex.
Run WRITERS.md preamble and postamble in full. Use the project's existing example environment and label convention. If it has no such environment, use a permitted titled paragraph or make the smallest style-compatible declaration within the authorized task; never invent a competing manuscript. Check referenced evidence/assets and the configured TeX toolchain before writing; missing dependencies get a named reason and a specific recovery action, never invented output.
Drafting one example
- Identify the phenomenon, the earlier definition/result it illustrates, and the precise finite instance. State its field/ring, parameters, equivalence convention, and every hypothesis needed by the calculation. Explain why the instance satisfies those hypotheses.
- Give reproducible intermediate work. Exact identities need a derivation,
checked certificate or verified pinpoint reference. State computational
range, exact/numerical arithmetic, tolerance and multiplicities/normalization.
Keep source/data pointers in a TeX comment and ledger; consult only
explain-experiment's provenance conventions, without dispatching it. - State the lesson and its scope. A single instance is an example; a
counterexample must satisfy the proposed statement's hypotheses and
explicitly violate its conclusion. General conclusions require
write-propositionor an explicitly marked conjecture throughrapid-prototype. A pretty picture is not the missing derivation. - Introduce new terminology before any theorem-class statement (LX10). Keep workflow statuses in the ledger. Apply the contradiction gate and SOUND doubt requirement to claim promotions, including computational claims; relabeling a claim as an example does not evade those gates.
- When called by
add-figure, return the example label without a figure. Otherwise, for an explanatory graphic calladd-figureonce with the existing/reserved example label and no example redispatch. Require unique labels, two-way references and captioned encoding.
Preserve all human markers and prior text under the shared tagging rules. Finish with the writer postamble, reporting the example label, dependencies, calculation or certificate, optional figure link, and actual validation.
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