Execute implementation plan phase by phase with verification after each. Use after /epic:plan to write code following the approved plan. Triggers on /epic:implement or when user wants to start coding, execute the plan, implement changes, or continue implementation from a previous session.
Limited to specific tools
Additional assets for this skill
This skill is limited to using the following tools:
references/progress-template.mdname: epic-implement description: Execute implementation plan phase by phase with verification after each. Use after /epic:plan to write code following the approved plan. Triggers on /epic:implement or when user wants to start coding, execute the plan, implement changes, or continue implementation from a previous session. allowed-tools:
Implementation phase of the Explore-Plan-Implement workflow. Execute the approved plan exactly, one phase at a time with verification.
Running this command implicitly approves the implementation plan.
CRITICAL: Each phase is executed by a dedicated subagent to keep main context low.
| Argument | Description |
|---|---|
--phase N | Start at specific phase number |
--continue | Resume from last recorded progress |
1. Locate active workflow: .claude/workflows/*/state.md
2. Load plan.md and determine starting point
3. For each phase:
a. Launch phase-implementer subagent
b. Wait for completion with TaskOutput
c. Read phase results file
d. If failed/blocked: STOP and report
e. Launch implementation-validator subagent
f. Update state.md progress
g. Ask before proceeding to next phase
4. Mark complete when all phases done
If prerequisites not met:
⚠️ Cannot implement - Plan phase incomplete
Run `/epic:plan` first.
| Condition | Action |
|---|---|
--phase N provided | Start at phase N |
--continue provided | Resume from state.md progress |
| state.md has progress | Ask: resume or restart? |
| Otherwise | Start at phase 1 |
For each phase, launch a fresh subagent:
Task tool:
subagent_type: epic:phase-implementer
run_in_background: false
prompt: |
Implement Phase [N] of the approved plan.
Workflow path: .claude/workflows/[slug]/
Phase number: [N]
Read the plan.md and implement Phase [N] exactly as specified.
Write results to: .claude/workflows/[slug]/phase-[N]-result.md
CRITICAL: Always launch a FRESH agent for each phase.
resume parameterAfter subagent completes:
phase-[N]-result.md from workflow directoryAfter successful phase implementation, launch validator:
Task tool:
subagent_type: epic:implementation-validator
run_in_background: false
prompt: |
Validate Phase [N] implementation against the plan.
Plan: .claude/workflows/[slug]/plan.md
Phase results: .claude/workflows/[slug]/phase-[N]-result.md
Append validation results to: .claude/workflows/[slug]/review.md
Focus on:
- Changes made match Phase [N] specification
- No unplanned additions or omissions
- Verification steps completed
CRITICAL: Always launch a FRESH validator agent.
resume parameter| Status | Action |
|---|---|
| ALIGNED | Proceed to next phase |
| PARTIALLY ALIGNED | Review deviations, ask user before continuing |
| MISALIGNED | STOP - do not proceed, resolve issues first |
Update state.md Current Progress section:
After each phase, ask user with AskUserQuestion:
## Phase [N]: [Name]
Launching implementation subagent...
✓ Phase [N] Complete
Changes: [summary from results file]
Verification: [status from results file]
Validation: [ALIGNED/PARTIALLY ALIGNED/MISALIGNED]
Progress: [N]/[total] phases complete
Next: [Continue to Phase N+1 / Manual verification required / Blocked]
⚠️ Phase [N] Failed
Issue: [from results file]
Location: [file:line if applicable]
Resolution required before continuing.
✓ Implementation Phase Complete
Feature: [description]
Phases: [N]/[N] complete
Verification: All automated checks passed
Next: Run /epic:validate, then /epic:commit
Using subagents per phase provides:
When a subagent reports a deviation:
references/progress-template.md - State.md progress section format