Spec-Driven Development (SDD)
Spec-driven development is a way of building with AI coding agents where a written spec, not the prompt or the code, is the source of truth for the work.
Updated
Spec-driven development (SDD) is a workflow for AI coding agents: you write a specification of what to build and why, review a plan and task list derived from it, and the agent implements against those files. GitHub's Spec Kit and Kiro are built around it. The spec lives in the repo, so every session and teammate works from the same intent.
Spec-driven development (SDD) is a way of working with AI coding agents in which a written specification, not the conversation or the code, is the primary artifact: you describe what to build and why, review a plan and task list derived from it, and the agent implements against those files.
GitHub framed the idea when it released Spec Kit in September 2025, describing specs "not as static documents, but as living, executable artifacts that evolve with the project," and the shift as moving from "code is the source of truth" to "intent is the source of truth." Spec Kit's core steps run constitution, specify, plan, tasks and implement, plus a converge step that assesses the implementation against the artifacts and appends remaining work. Optional clarify, analyze and checklist steps act as gates. The specify step captures the what and the why, leaving the tech stack for the plan.
Kiro takes a similar route with three files per spec: requirements.md written in EARS notation (WHEN [condition/event] THE SYSTEM SHALL [expected behavior]), design.md, and tasks.md.
An analysis on Martin Fowler's site separates three levels of commitment. Spec-first writes the spec before the task. Spec-anchored keeps it after the task is done. Spec-as-source makes the spec the main file humans edit.
SDD is the counterpart to vibe coding: steering moves upstream, where fixing a sentence in a spec is cheaper than fixing a diff. The workflow and when it pays are in Spec-Driven Development with AI Agents, and the toolkits are compared in Best Spec-Driven Development Tools in 2026.
Frequently asked questions
- Is spec-driven development just writing a detailed prompt?
- No. A prompt is used once and scrolls away; a spec is a file kept in the repo, reviewed, versioned and re-read by new sessions. Spec-driven tools also split the work into reviewed stages, so you approve requirements and a plan before any code exists. GitHub's Spec Kit launch post described the shift as moving from 'code is the source of truth' to 'intent is the source of truth.'
- What files does a spec-driven workflow produce?
- It depends on the tool. Kiro generates requirements.md (or bugfix.md for bugs), design.md and tasks.md, and writes requirements in EARS notation: WHEN [condition/event] THE SYSTEM SHALL [expected behavior]. GitHub Spec Kit produces spec.md, plan.md and tasks.md through its specify, plan and tasks steps; in Claude Code those steps install as skills you invoke as /speckit-specify, /speckit-plan and so on.
- What do spec-first, spec-anchored and spec-as-source mean?
- They are three levels of commitment described in an analysis on Martin Fowler's site. Spec-first means a spec is written before the task and used during AI-assisted work. Spec-anchored means the spec is kept after the task is complete. Spec-as-source means the spec is the main source file over time, and humans edit only the spec.
Filed under
spec-driven-development · sdd · spec-kit · kiro · ai-coding-agents
Related
- Best Spec-Driven Development Tools in 2026GitHub Spec Kit, Kiro, OpenSpec, Taskmaster, BMAD Method, Agent OS and cc-sdd compared on workflow, artifacts, agent support and how much process each adds.
- Spec KitGitHub's open-source toolkit for spec-driven development — a specify CLI and /speckit slash commands that walk any coding agent from spec to implementation.
- Spec-Driven Development with AI AgentsWrite the spec, let the agent implement against it — the SDD workflow (spec → plan → tasks → implement), when it beats prompt-and-iterate, and the tooling.
- Plan FeatureExplore the codebase and produce an implementation plan for a feature.
- Vibe CodingVibe coding is building software by describing intent in natural language and letting an AI agent write the code, judging results by behavior.
- KiroAWS's agentic IDE and CLI that turns a prompt into a spec of requirements, design and tasks, then checks the code against it with property-based tests.
- Spec ImplementerUse this agent to implement an approved spec's tasks.md one task at a time: it reads the linked requirements and design, writes the tests that prove each task's acceptance criteria, implements until they pass, and checks the task off only then. It stops and asks when the spec is ambiguous or contradicts the code, and never changes requirements on its own. Examples — "implement tasks 1 to 3 from docs/specs/report-csv-export/tasks.md", "continue the spec where the last session stopped", "implement the next unchecked task and show me the test that proves it".
- Spec WriterTurn a feature request into spec files a coding agent can execute: requirements with EARS acceptance criteria (WHEN <condition> THE SYSTEM SHALL <behavior>), a design grounded in the current code, and a dependency-ordered task list in which every task traces to the criteria it satisfies. Writes Kiro's requirements.md, design.md, and tasks.md, or Spec Kit's spec.md, plan.md, and tasks.md, whichever the repository already uses. Use before handing a multi-file feature to an agent, or when an existing spec has acceptance criteria nobody can test.