Spec-driven development
Writing a spec and plan before an agent implements, then checking against it.
Bookmark
Bookmarks are kept in your free account, so you can find this page again on any device.
Sign in to bookmarkOverview
Spec-driven development puts a written specification and implementation plan between the idea and the code. You (often with the agent's help) write down requirements, acceptance criteria and a step-by-step plan, review it, and only then let the agent implement, checking each step against the spec.
It works because agents are much better at following a clear plan than at guessing intent, and because a written spec gives you something concrete to review and test against. Tools such as Kiro build the process in, but it works with any coding agent using plan mode and a Markdown file in the repository.
What you will practise
- Write requirements and acceptance criteria an agent can follow
- Turn a spec into a numbered implementation plan
- Use plan mode to review the approach before any edits
- Check the finished work against the spec, item by item
Learning paths
- Rolling out coding agents to a team
Roll out coding agents to a team: shared instruction files, permissions and hooks, spec-first work, agent review in CI and vetted Agent Skills for everyone.
Workflow recipes
- Hand a GitHub issue to a background coding agent and review the PR
Write a brief it can finish, set up its environment, hand it to Copilot, Codex or Jules, then review and iterate once.
- Prototype an internal tool with an app builder
Build an internal tool prototype with AI with v0, Lovable or Bolt in an afternoon, test it with real users, and list what must change before it meets real data.
- Spec-driven feature build: plan, approve, implement, verify
Written spec, approved plan, small tested tasks and a final check against the spec, not vibes.
Tools for this skill
Key terms
Words you will meet while learning this, defined in the glossary.
- Plan mode
An agent mode in which it reads and researches the code and proposes a plan, without editing any files until you approve the plan.
- Spec-driven development
Writing a specification and implementation plan before letting an agent implement, then checking the result against the spec.