Required Resources
Always load these files before drafting:
- •
references/prd_checklist.md - •
references/definition_of_done.md - •
references/validation.md - •
assets/templates/prd_template.md - •Optional calibration example:
assets/examples/prd_example_docs_import.md
Workflow
- •Resolve
feature_slugand open/createdocs/features/<feature_slug>/prd.md. - •Start by copying the exact section blocks from
assets/templates/prd_template.md. - •Fill sections using user input plus Torus context; keep FR/AC IDs strict and testable.
- •Run
references/prd_checklist.mdandreferences/definition_of_done.mdas hard gates. - •Run
.agents/scripts/spec_validate.sh --slug <feature_slug> --check prdimmediately after updating the PRD. - •Hard gate: if validation fails, fix
prd.mdand re-run until it passes before proceeding. - •If validation cannot be run, instruct the user to run it and do not claim the PRD is complete.
Validation Gate
- •After updating any spec-pack doc(s), execute
.agents/scripts/spec_validate.sh --slug <feature_slug> --check prd. - •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>/prd.md. - •Keep the final response short: updated path, key changes, and any open questions.