Required Resources
Always load before writing:
- •
references/fdd_checklist.md - •
references/definition_of_done.md - •
references/validation.md - •
assets/templates/fdd_template.md - •Optional calibration example:
assets/examples/fdd_example_docs_import.md
Workflow
- •Read
docs/features/<feature_slug>/prd.md. - •Copy section blocks from
assets/templates/fdd_template.mdintodocs/features/<feature_slug>/fdd.md. - •Fill each block with design decisions, signatures/contracts, and operational concerns.
- •Apply
references/fdd_checklist.mdandreferences/definition_of_done.mdbefore finalizing. - •Run
.agents/scripts/spec_validate.sh --slug <feature_slug> --check fddimmediately after updatingfdd.md. - •Hard gate: if validation fails, fix
fdd.mdand re-run until it passes before proceeding. - •If validation cannot run, instruct the user to run it and report failures.
Validation Gate
- •After updating any spec-pack doc(s), execute
.agents/scripts/spec_validate.sh --slug <feature_slug> --check fdd. - •If validation fails, fix the doc and re-run before proceeding.
- •Execute the command directly when environment access allows; do not merely suggest it.
Output Contract
- •Update file directly:
docs/features/<feature_slug>/fdd.md. - •Final response: updated path, key decisions, unresolved questions.