spec-authoring
Purpose
Write or refine requirements.md so it is clear, testable, and scoped, using REQ IDs and the repository template.
Inputs
PROJECT.mdspecs/requirements.mdORspecs/features/<slug>/requirements.md(scope)- If present: existing
design.md/tasks.mdfor the same scope (read-only context; do not advance phases)
Steps
- Resolve scope:
- If
<slug>provided: usespecs/features/<slug>/requirements.md - Else: use
specs/requirements.md
- If
- Read the target requirements file and keep its template structure.
- Fill/iterate:
- Introduction (what/why, not how)
- Glossary (only domain terms; consistent naming)
- Requirements list using REQ IDs:
REQ-001,REQ-002, ...
- For each requirement:
- Keep it single-purpose.
- Make it testable and unambiguous.
- Avoid implementation details.
- Add acceptance criteria only if it improves testability (SHALL statements).
- Detect missing info and ask only the minimum blocking questions.
- Stop and request explicit approval when the requirements are coherent and complete.
Output
- Updated requirements file for the resolved scope
- 3–5 bullets summarizing what changed
- Blocking questions (only if required to proceed)
Converted and distributed by TomeVault — claim your Tome and manage your conversions.