Loading...
Loading...
Execute wave-ordered implementation plan by dispatching tasks to domain agents. Use after /feature-plan produces a plan. Use for "implement feature", "execute plan", "start building", or "/feature-implement". Do NOT use without a plan or for ad-hoc coding tasks.
npx skill4agent add notque/claude-code-toolkit feature-implement.feature/state/plan/python3 ~/.claude/scripts/feature-state.pypython3 ~/.claude/scripts/feature-state.py status FEATUREimplementplan.feature/state/plan/.feature/state/design/python3 ~/.claude/scripts/feature-state.py context-read FEATURE L1 --phase implementgit rev-parse HEADAgent(
subagent_type="[agent-from-plan]",
prompt="Implement the following task:\n\n[TASK DETAILS FROM PLAN]\n\nFiles: [FILES]\nOperations: [OPERATIONS]\nVerification: [VERIFICATION COMMAND]\n\nContext from design: [RELEVANT DESIGN CONTEXT]",
description="Implement [task title]"
)| Tier | Examples | Action |
|---|---|---|
| Tier 1: Auto-Fix | Bug, type error, missing import | Auto-apply, record in retro |
| Tier 2: Blocking | Missing dependency, config issue | Auto-fix if possible, record |
| Tier 3: Architectural | Schema change, API change, scope expansion | STOP, present to user |
python3 ~/.claude/scripts/feature-state.py gate FEATURE implement.architectural-deviationWave N complete: X/Y tasks passed
T1: [agent] ✓
T2: [agent] ✓
T3: [agent] ✗ (deviation: [description])git diff --name-only BASE_SHA..HEADecho "IMPL_SUMMARY" | python3 ~/.claude/scripts/feature-state.py checkpoint FEATURE implementpython3 ~/.claude/scripts/learning-db.py record TOPIC KEY "VALUE" --category designpython3 ~/.claude/scripts/feature-state.py advance FEATUREImplementation complete. Run /feature-validate for quality gates.| Error | Cause | Solution |
|---|---|---|
| No plan found | Plan phase not completed | Run /feature-plan first |
| Agent dispatch fails | Agent not available or task malformed | Retry with more context, escalate if 3 failures |
| Wave test failure | Task broke existing tests | Route back to responsible agent for fix |
| Tier 3 deviation | Architectural decision needed | Stop, present options to user |
| Anti-Pattern | Why Wrong | Do Instead |
|---|---|---|
| Implement without dispatching to agents | Bypasses domain expertise | Use Task tool to dispatch |
| Skip wave checkpoints | Failures compound across waves | Test after every wave |
| Ignore deviations | Small deviations become big problems | Classify and handle per tier |
| Dispatch all tasks in parallel | File conflicts cause corruption | Respect wave ordering and parallel-safe flags |