Prp Implement
Execute an implementation plan with rigorous validation loops
Adapted from PRPs-agentic-eng by Wirasm. Part of the PRP workflow series.
Input: $ARGUMENTS — path to a .plan.md file.
If no argument: look for the most recent plan in .dog/PRPs/plans/.
If the file doesn't exist: stop with "Plan file not found. Run /dog:prp-plan <feature> first."
Invoke the planner agent to execute the plan step-by-step with continuous validation.
Load skills: dog:incremental-implementation, dog:verification-before-completion
Core Philosophy: Validation loops catch mistakes early. Fix errors immediately — never accumulate broken state.
The agent will:
- Read the plan and detect package manager / validation commands
- Create a feature branch if on main with clean working tree
- Execute each task sequentially: read MIRROR pattern → implement → validate immediately
- Run all validation levels after completing all tasks: static analysis → unit tests → build → integration (if applicable)
- Save implementation report to
.dog/PRPs/reports/{plan-name}-report.md - Archive plan to
.dog/PRPs/plans/completed/ - Report: tasks completed, validation summary, files changed, deviations from plan
Next step: /dog:prp-commit then /dog:prp-pr