Chapter 1 of 22 · about 1 min
1. The big idea, in one minute
Spec-Driven Development (SDD) means: before the AI writes any code, you write down clearly what you want and how you want it built.
You don't type "build me a registration page" and hope for the best. You and the AI produce a small set of documents first:
| Document | Answers the question | Analogy (building a house) |
|---|---|---|
| Constitution | "What rules must we always follow?" | Building codes and regulations |
Spec (spec.md) |
"What should this feature do, and why?" | The client's wish list |
Plan (plan.md) |
"How will we build it technically?" | The architect's blueprint |
Tasks (tasks.md) |
"What exact steps, in what order?" | The construction schedule |
| Code | The actual thing | The house |
Once these documents exist, the AI has much more context, so it guesses less and gets it right more often.
Key shift: In traditional development the code is the source of truth and docs go stale. In SDD the spec is the source of truth and code is generated from it. If the spec changes, you regenerate the plan, tasks and code.
GitHub Spec Kit is a free, open-source toolkit from GitHub that turns this idea into a repeatable process. It gives you:
- a small command-line tool called
specifythat sets Spec Kit up in your project, and - a set of slash commands (
/speckit-specify,/speckit-plan, and so on) that you run inside your AI coding agent's chat (Copilot, Claude Code, Cursor, Gemini CLI, Codex, Kiro CLI and many more).
Spec Kit itself costs nothing. You only pay for the AI agent you use with it.