Skip to content

Glossary · Spec-driven development

What is spec-driven development?

Spec-driven development means writing down what to build and why before the build starts, then keeping that document as the source of truth. With coding agents, the spec tells the agent what to build, guides the plan and tasks, and gives a checkable list for whether the work is done.

In practice

Before asking Claude Code to add team invites, you write one page: the problem, who asked, what to build, which files to touch, and what "done" looks like. The agent plans from it and you review against its done list.

The spec can be short and it can change. This isn't waterfall. What matters is that the intent exists, stays current and guides the work.

How to do it

GitHub's Spec Kit uses four steps:

  1. Specify: the what and the why, not the stack.
  2. Plan: the how: stack, constraints, architecture.
  3. Tasks: small, testable units of work.
  4. Implement: the agent builds task by task; you check against the spec.

Böckeler describes three levels: spec-first (written before the task), spec-anchored (kept and updated after), and spec-as-source (people edit only the spec; code is generated).

Common mistakes

  • Writing a 20-page spec for a one-line bug. Böckeler called that "a sledgehammer to crack a nut."
  • Treating a long prompt as a spec. A spec has a done list someone can check.
  • Writing it once and letting it go stale while the code moves on.

What changes in AI-first products

A vague spec produces vague code at high speed, and with four agents you get four versions of it. In Annsa a spec has five sections: Problem, Evidence and direction, What to build, Files to touch, Done When. You, your agent or Ask writes it. Your agent writes it over MCP from the evidence Annsa keeps, you write it, or you ask Annsa's Ask for a codebase-aware spec that reads your connected repo.

See how Annsa does it: The spec →

Questions people ask.

Q1

What is GitHub Spec Kit?

An open source toolkit GitHub released in September 2025 that runs spec-driven development as Specify, Plan, Tasks and Implement, with agents such as Copilot, Claude Code and Gemini CLI.
Q2

Is spec-driven development the same as waterfall?

No. Specs are short and change as you learn. Waterfall fixes requirements up front for a long build.
Q3

Who writes the spec?

Usually the person or agent holding the work. Böckeler notes the tools leave this open.

Sources

  1. GitHub's open source toolkit for the practice, published 2 September 2025.

  2. SDD means "writing a “spec” before writing code with AI"; three levels; cautions.

Last reviewed 2026-10-10

The source of direction for agent teams.

Begin with one agent and the work that matters next.