Required Resources
Always load before drafting:
- •
references/plan_checklist.md - •
references/definition_of_done.md - •
references/validation.md - •
assets/templates/plan_template.md - •Optional calibration example:
assets/examples/plan_example_docs_import.md
Workflow
- •Read PRD and FDD for the target feature.
- •Copy section blocks from
assets/templates/plan_template.md. - •Build numbered phases with dependency order and explicit verification per phase.
- •Enforce
references/plan_checklist.mdandreferences/definition_of_done.md. - •Run
.agents/scripts/spec_validate.sh --slug <feature_slug> --check planimmediately after updatingplan.md. - •Hard gate: if validation fails, fix
plan.mdand re-run until it passes before proceeding. - •If validation cannot run, instruct the user to run it before implementation.
Validation Gate
- •After updating any spec-pack doc(s), execute
.agents/scripts/spec_validate.sh --slug <feature_slug> --check plan. - •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>/plan.md. - •Final response: updated path, numbered phases, and parallel tracks.