# 02 Implement

> Write an existing plan's code, phase by phase, until every acceptance criterion holds. Use when a plan exists and needs implementing. Do NOT use to write a plan, review a diff.

- Skill: `ai-driven-dev/02-implement` (Agent Skill, multi-file: 5 files)
- Install (CLI): `npx skillmds@latest add ai-driven-dev/02-implement`
- Raw SKILL.md: https://api.skillmd.com/api/skills/ai-driven-dev/02-implement/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: ai-driven-dev (https://skillmd.com/u/ai-driven-dev)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/ai-driven-dev/02-implement

---


# Skill: implement

Run an existing plan to write its code, one phase at a time, until every acceptance criterion holds.

## Actions

| #   | Action     | Role                                            | Input         |
| --- | ---------- | ----------------------------------------------- | ------------- |
| 01  | `prepare`  | Resolve the plan, branch, mark it in-progress   | a plan path   |
| 02  | `execute`  | Loop the phases, code and assert each           | prepared plan |
| 03  | `finalize` | Verify and mark the plan implemented            | coded phases  |

Run them in order, `01 → 03`.
Before running an action, read its file in `actions/`, not only the table or assets.

## Transversal rules

- Status: drive the plan through `pending → in-progress → implemented` (or `blocked`), and each phase through `pending → in-progress → done`. The `in-progress` values are runtime markers; only `done` and `implemented` need to land in a commit.
- Commits: one commit per phase, its code together with the phase reaching `done`, plus a final commit for the plan reaching `implemented`. Never leave the tree dirty at a phase boundary. Do not scatter separate `in-progress` status commits: one context now owns both code and status, so there is nothing to guard against.

## References

- `references/blocked.md`: the conditions that make a plan `blocked` and need a human.

