Spec Writer
Workflow
- •Load
agents/interfaces.mdbefore editing any domain file. - •Use
skills/spec-writer/templates/domain-template.mdfor each domain document. - •Write imperative and normative language using MUST and SHOULD where behavior is mandatory or recommended.
- •Keep files cohesive and split only when split triggers are present.
- •Document data contracts, failure modes, edge cases, and examples in each domain file.
- •Update
AGENTS.mdload matrix when adding or renaming domain files. - •Route to
spec-auditorafter substantial updates.
Writing Constraints
- •Keep guidance implementation-ready and decision complete.
- •Preserve stable interface names and contracts in
interfaces.md. - •Avoid legacy style or accidental compatibility requirements unless explicitly defined.
- •Avoid filler prose; prefer structured, direct rules.
Split Triggers
- •Mixed concerns in one file.
- •Unstable churn from unrelated edits.
- •Increasing review cognitive load.
- •Exceeded size or complexity threshold.