Spec-driven development
Writing an explicit specification — scope, acceptance criteria, edge cases and architecture plan — before letting a coding agent generate implementation code.

Also called: SDD, Specification-driven development.
For: Builders · Creators
Why it matters
Coding agents move fast in the wrong direction when handed vague chat prompts. A concrete spec gives both humans and agents a reviewable contract to test the finished build against.
In practice
Before asking an agent to build a billing webhook, a developer writes a 1-page spec listing the exact payload fields, idempotency key rule, retry status codes and four test cases. The agent implements against the spec and cannot finish until all four tests pass.
Watch for
Specs rot if they become 40-page waterfall documents nobody updates after code ships. Keep the spec concise, living beside the code and tied directly to executable checks.
How it compares
- Vibe coding: Vibe coding iterates loosely through conversational prompts until the demo feels right; spec-driven development locks requirements and acceptance checks up front before generating code.
- AGENTS.md: AGENTS.md holds standing repository rules across every task; a spec defines the concrete behavior and done criteria for one specific feature or change.
Related terms
Vibe coding · Coding agent · AGENTS.md · Harness engineering
Try it here
Build software without writing code · Claude Code, the operator’s way
Sources
Use in an AI agent: connect MCP at https://www.theglitch.ai/mcp and call get_glossary_term with spec-driven-development, or read the Markdown edition.
Definition updated 2026-11-28.