Spec-driven development
Definition
Writing a specification and implementation plan before letting an agent implement, then checking the result against the spec.
In more detail
The spec gives the agent a clear target and gives you something concrete to review and test against. It can be as simple as a Markdown file with requirements, acceptance criteria and numbered tasks.
A typical flow is to write a short spec of what and why, have the agent turn it into a technical plan, split the plan into tasks and implement them one at a time with tests. GitHub's Spec Kit and Kiro build tooling around this. The spec costs time up front, which pays back on features big enough that a wrong assumption would waste a day.
Related terms
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.
Vibe coding
Building software mainly by prompting an AI and accepting its code with little or no reading or review. Fine for throwaway code.
Read more about Spec-driven development
- Spec-driven development
Writing a spec and plan before an agent implements, then checking against it.
- Spec Kit
GitHub's open-source toolkit that adds spec, plan and task commands to your agent.
- Kiro
AWS's agentic IDE that writes requirements, a design and tasks before it codes.