Spec-driven development
For engineers
Specs, acceptance criteria and plans written as the agent's input, kept in the repo and checked against the result
110 questions across four stages: Understand, Apply, Solve and Judge.
Try 5 questions
Practice items, not counted towards your mastery. No account needed.
Check yourself · 1 of 5
A coding agent finds a gap in your request. What does it usually do?
Check yourself · 2 of 5
Which part of a spec tells the agent what it must NOT touch?
Check yourself · 3 of 5
What is the main benefit of asking an agent for a plan before it writes code?
Check yourself · 4 of 5
Which line is the most likely to be misread by an agent?
Check yourself · 5 of 5
A pull request changes a rate limit from 5 attempts to 3. What else should be in the same pull request?
Topics
- Why coding agents need written specs4 min read · Agents build what is written and fill every gap with a confident guess, so the spec becomes the real interface
- Writing a spec an agent can follow5 min read · Problem, scope, non-goals, constraints, examples and testable acceptance criteria on one page
- Turning a spec into an agent plan5 min read · Asking the agent for a plan and task list from the spec, then checking every criterion is covered and nothing is invented
- Spec mistakes that agents misread5 min read · Vague words, hidden assumptions, contradictions, missing non-goals and specs that dictate code instead of behaviour
- Keeping specs versioned with the code5 min read · Spec files in the repo, tools such as Spec Kit and Kiro, and updating the spec when behaviour changes
Start here
- GitHub Spec Kit (opens in a new tab)ToolFree
An open-source toolkit with commands for writing a spec, a plan and a task list before code.
- Understanding Spec-Driven Development: Kiro, spec-kit and Tessl (martinfowler.com) (opens in a new tab)ArticleFree
A critical comparison of three spec tools, including where specs still fail agents.
- Specs (Kiro docs) (opens in a new tab)DocsFree
How one agentic IDE structures a spec as requirements, design and tasks files.
Scenarios
Helps to know first
110 questions · last verified 2026-12