Spec Writer
Workflow
- Run
spec-routerfirst and load the selected files; loadagents/reference/interfaces.mdbefore editing domain specs. - Use
agents/skills/spec-writer/templates/domain-template.mdfor new domain files. - Keep requirements explicit and testable; use
MUSTonly for hard constraints. - Keep files cohesive; split only when split triggers are present.
- Keep
AGENTS.mdrequest routing and affectedagents/skills/*workflows in sync when instruction files change. - Document contracts, failure modes, and at least one corner case for changed behavior.
- Update
AGENTS.mdrouting metadata when domain files are added or renamed. - Run
spec-auditorafter substantial changes.
Writing Constraints
- Prefer direct, implementation-ready statements over narrative prose.
- Keep canonical interface names and shared contracts in
agents/reference/interfaces.md. - Remove duplicated rules when a single canonical source already exists.
- Use normative keywords consistently (
MUST,SHOULD,MAY) and avoid ambiguous wording. - Keep examples concise and tied to real behavior.
- Prefer deterministic, testable phrasing (explicit condition and expected outcome).
- Optimize for efficiency by minimizing repeated guidance and cross-referencing canonical files.
- Keep wording objective: specify observable behavior instead of intent-only language.
Split Triggers
- Mixed concerns in one file.
- Unrelated churn causing frequent conflicts.
- Review cognitive load grows beyond practical limits.
- File size/complexity impairs safe editing.
Converted and distributed by TomeVault — claim your Tome and manage your conversions.