| name | harness-plan |
| description | Convert PRD and FDD into a dependency-ordered implementation plan in a work item directory under docs/exec-plans/current/ with explicit gates and verification notes. |
| examples | ["$harness-plan docs/exec-plans/current/gradebook-overrides","$harness-plan docs/exec-plans/current/platform-modernization/gradebook-overrides"] |
| when_to_use | ["PRD/FDD are present and implementation planning is required.","A phased execution plan is needed before coding."] |
| when_not_to_use | ["PRD/FDD are missing (use $harness-analyze and $harness-architect first).","Task is direct coding (use $harness-develop)."] |
Required Resources
Always load before planning:
references/persona.md
references/approach.md
references/planning_considerations.md
references/output_requirements.md
references/plan_checklist.md
references/definition_of_done.md
references/validation.md
assets/templates/plan_template.md
<work_item_dir>/prd.md
<work_item_dir>/fdd.md
ARCHITECTURE.md
harness.yml
docs/STACK.md
docs/TOOLING.md
docs/TESTING.md
docs/PRODUCT_SENSE.md
docs/FRONTEND.md
docs/BACKEND.md
Workflow
- Resolve the work item directory.
- Read
prd.md and fdd.md.
- Create or update
plan.md from the plan template.
- Build numbered phases with tasks, testing tasks, gates, and dependencies.
- Use
harness.yml and repository docs to decide which cross-cutting concerns must be planned explicitly.
- Resolve
<skills_root> as the directory that contains the installed harness skills (plan/, requirements/, validate/, etc.). Do not resolve script paths relative to the repository or current working directory.
- Run:
python3 <skills_root>/requirements/scripts/requirements_trace.py <work_item_dir> --action verify_plan
python3 <skills_root>/requirements/scripts/requirements_trace.py <work_item_dir> --action master_validate --stage plan_present
python3 <skills_root>/validate/scripts/validate_work_item.py <work_item_dir> --check plan