Standards — focused engineering guidance
Load the smallest set of standards justified by the caller's files, language,
and risks. Do not preload the entire reference corpus.
Procedure
- Record the supplied paths, language, change type, and risk cues.
- Load
common-standards.md plus only the matching language or checklist
references.
- Compare the supplied artifact to those sources.
- Return cited findings with path and line when possible, plus checked and
not-checked scope.
- Stop.
This skill provides context and findings. It does not edit, validate, retry,
approve, commit, release, deliver, or decide continuation.
Mutation-safety standards
When the supplied change rewrites existing files in bulk — formatters,
codemods, migration scripts, generators pointed at hand-written sources —
check it against three standards and report each as a finding when absent:
- Single audited mutation chokepoint. All rewrites flow through one named
command or script whose inputs, outputs, and dry-run mode can be inspected.
Edits scattered across ad-hoc one-liners and manual touch-ups are the
diffuse mutation failure mode: no single point can be audited, re-run,
or blamed. Finding: name every mutation path outside the chokepoint.
- Hash-witnessed backups before rewrite. Before the chokepoint runs, the
originals are preserved with content hashes recorded (a committed baseline
counts), so "the rewrite changed only what it claims" is checkable
byte-for-byte, not asserted. Finding: a bulk rewrite with no verifiable
before-state.
- Self-administered ambition gate. The change states what it deliberately
does not touch, and the diff respects it. A formatter run that also renames,
a codemod that also refactors, is the scope-creep rewrite failure mode.
Finding: any file class in the diff outside the change's own stated scope.
Stop condition for this check: all three standards have an explicit pass or
finding; a bulk-rewrite review that reports style nits but skips these is
incomplete.
References
- Common standards
- Go
- Python
- Rust
- TypeScript
- JavaScript
- Shell
- JSON
- YAML
- Markdown
- SQL safety
- Race conditions
- LLM trust boundaries
- Skill structure
- Test strategy
1---2name: standards3description: Load only the standards relevant to a caller-supplied change, then report concrete findings. Triggers: "check standards", "which standards apply".4---5# Standards — focused engineering guidance
6
7Load the smallest set of standards justified by the caller's files, language,
8and risks. Do not preload the entire reference corpus.
9
10## Procedure
11
121. Record the supplied paths, language, change type, and risk cues.
132. Load `common-standards.md` plus only the matching language or checklist
14 references.
153. Compare the supplied artifact to those sources.
164. Return cited findings with path and line when possible, plus checked and
17 not-checked scope.
185. Stop.
19
20This skill provides context and findings. It does not edit, validate, retry,
21approve, commit, release, deliver, or decide continuation.
22
23## Mutation-safety standards
24
25When the supplied change rewrites existing files in bulk — formatters,
26codemods, migration scripts, generators pointed at hand-written sources —
27check it against three standards and report each as a finding when absent:
28
29- **Single audited mutation chokepoint.** All rewrites flow through one named
30 command or script whose inputs, outputs, and dry-run mode can be inspected.
31 Edits scattered across ad-hoc one-liners and manual touch-ups are the
32 **diffuse mutation** failure mode: no single point can be audited, re-run,
33 or blamed. Finding: name every mutation path outside the chokepoint.
34- **Hash-witnessed backups before rewrite.** Before the chokepoint runs, the
35 originals are preserved with content hashes recorded (a committed baseline
36 counts), so "the rewrite changed only what it claims" is checkable
37 byte-for-byte, not asserted. Finding: a bulk rewrite with no verifiable
38 before-state.
39- **Self-administered ambition gate.** The change states what it deliberately
40 does not touch, and the diff respects it. A formatter run that also renames,
41 a codemod that also refactors, is the **scope-creep rewrite** failure mode.
42 Finding: any file class in the diff outside the change's own stated scope.
43
44Stop condition for this check: all three standards have an explicit pass or
45finding; a bulk-rewrite review that reports style nits but skips these is
46incomplete.
47
48## References
49
50- [Common standards](references/common-standards.md)
51- [Go](references/go.md)
52- [Python](references/python.md)
53- [Rust](references/rust.md)
54- [TypeScript](references/typescript.md)
55- [JavaScript](references/javascript.md)
56- [Shell](references/shell.md)
57- [JSON](references/json.md)
58- [YAML](references/yaml.md)
59- [Markdown](references/markdown.md)
60- [SQL safety](references/sql-safety-checklist.md)
61- [Race conditions](references/race-condition-checklist.md)
62- [LLM trust boundaries](references/llm-trust-boundary-checklist.md)
63- [Skill structure](references/skill-structure.md)
64- [Test strategy](references/test-pyramid.md)