Spec-driven development
Spec-driven development (SDD) is a way of working with AI coding agents in which a written specification, not the code, is the main artifact that people write and review. The agent builds from it. The term has no settled definition, and the tools that carry the label differ in workflow. The few measured effects are mixed and mostly from 2026 preprints, and critics call the approach waterfall under a new name (Zaninotto, 2025).
What the term means
No agreed definition of spec-driven development exists. Böckeler (Thoughtworks) calls the definition unsettled. Her working one is to write a spec before code, with AI, and treat the spec as the source of truth for humans and AI (Böckeler, 2025). She defines a spec as a structured, behaviour-oriented natural-language artifact that guides coding agents, and notes that there is no general definition of a spec (Böckeler, 2025). The nearest consistent definition compares a spec to a product requirements document, and some people use “spec” to mean a detailed prompt (Böckeler, 2025).
In a later podcast, “spec” is described as fuzzy: sometimes a more elaborate prompt, sometimes 50 markdown files (Böckeler & Tacho, 2026).
The sources split on what the source of truth is. At one end the spec is the only source of truth and code a byproduct. At the other, specs only drive code generation and code stays the source of truth (Liu, 2025). Böckeler names three levels: spec-first, spec-anchored and spec-as-source (Böckeler, 2025).
She finds all the tools she examined spec-first, with long-term maintenance of the spec often left vague (Böckeler, 2025). An Atlassian engineer likewise says the definition keeps shifting (Atlassian, 2025).
Some vendor writing frames the spec as a better prompt. On Kiro’s blog, Marc Brooker defines a specification as a description of what a program should do and what needs it should meet. He calls it a version-controlled, human-readable “super prompt” (Brooker, 2025).
A conceptual preprint offers an operational definition with four commitments. Every non-trivial planned change starts from a written spec that is the contract for the change. The spec is version-controlled with the code and wins when it disagrees with another artifact (Díaz et al., 2026). It separates system specs (architecture and rules, kept in agent rule files such as AGENTS.md) from feature specs (one change with acceptance criteria) (Díaz et al., 2026). Its authors say the community has not converged on definitions of the surrounding terms either (Díaz et al., 2026).
The main tools and their workflows
The three best-known tools each split the work into phases that produce files an agent reads. Tessl was reported to be describing a move from code-centric to spec-centric development as early as 14 November 2024 (McKay, 2024). Kiro’s launch post, dated 14 July 2025, presented spec-driven development as what the tool helps developers do. It argued that specs guide agents to a better implementation as they help developers plan (Swaminathan & Singh, 2025).
GitHub announced Spec Kit on 2 September 2025. It defines SDD as starting from a spec that is a contract and source of truth for generating, testing and validating code (Delimarsky, 2025). Its documentation gives the process as Specify, Plan, Tasks, Implement, Converge, each phase producing a Markdown artifact that feeds the next (GitHub, 2026). GitHub describes the change as a move from code to intent as the source of truth (Delimarsky, 2025). Spec Kit’s design document goes further: maintaining software means evolving specifications, and code becomes “the last-mile approach” (GitHub, n.d.d).
Kiro (Amazon Web Services) generates three files for every spec: requirements (or a bug analysis), a design, and tasks (Kiro, 2026). Its launch post shows one prompt turned into user stories, each with acceptance criteria in EARS (Easy Approach to Requirements Syntax) notation (Swaminathan & Singh, 2025). Böckeler describes its requirements as user stories with GIVEN/WHEN/THEN acceptance criteria (Böckeler, 2025). Tessl defines SDD as capturing intent in structured specifications so that agents build with clarity and guardrails, and launched a spec framework and registry in September 2025 (Maple, 2025).
Observers disagree on which level each tool reaches. Böckeler finds Spec Kit spec-first only, not keeping the spec anchored to the code over time. She sees Tessl as the only one of the three that aims to be spec-anchored and explores spec-as-source, with generated code marked do-not-edit and one spec per code file (Böckeler, 2025). Eberhardt, by contrast, treats Spec Kit as the purest form of spec-as-source, and says the tools labelled SDD are not one practice (Eberhardt, 2025).
Older uses of the phrase and its lineage
The phrase predates AI agents. In July 2021 an API vendor used “spec-driven development” for writing an OpenAPI specification before any server code, also called design-first or contract-first (Haselaars, 2021). Böckeler says the term is not new and that it became common only in the six months before May 2026 (Böckeler & Tacho, 2026).
Authors place the current practice in a longer line of specification-first methods. One lists four lineages: program synthesis from formal specifications, model-driven engineering, design by contract and requirements economics (Alenezi, 2026).
Another traces the principle that a spec should precede implementation to five decades of software engineering, from waterfall to requirements standards. Cost, decay and traceability are old problems there (Agarwal et al., 2026b). A third calls behaviour-driven development (BDD) the most direct ancestor and test-driven development (TDD) “SDD at the unit level”. It adds that API-first work with OpenAPI has long treated specs as contracts (Piskala, 2026).
Sources disagree on how much is new. Piskala quotes a practitioner who says SDD is “just BDD with branding” (Piskala, 2026). Díaz and colleagues answer that the novelty is not specs but their pairing with an agent, so the transformation engine is a stochastic agent instead of a deterministic generator (Díaz et al., 2026). Agarwal and colleagues say it returned because the reader is now an agent that consumes natural language (Agarwal et al., 2026b).
Measured effects on agent output
Controlled evidence is thin and mixed, and most of it comes from 2026 preprints and workshop papers. Several studies find that a spec step helps agents run or test code better. In a migration benchmark, a full specification raised the share of output that loaded cleanly from 72.0% to 97.3%. Correctness against a live database did not change: 19 of 42 probes were right with and without it (Grynets et al., 2026).
Two other studies report gains in tests and from-scratch programs. At Google, an agent wrote a semi-formal spec of pre-conditions and post-conditions before generating tests. It found 9.8 percentage points more of 90 historical production bugs (p = 0.0352). The gain was 4.2 points at one run and grew with more runs (Tufano et al., 2026). On ProgramBench, a two-stage agent that elicits a behavioural spec before coding raised test pass rates by 6.9% to 21.3% across four models (Chen et al., 2026u).
A repository-level benchmark found that writing a requirement document from a vague intent first beat coding straight from the intent on all three benchmarks (Chen et al., 2026h).
How much a fuller prompt helps depends on the task. In a study of 10 models, vague wording hurt correctness on a simple function-level benchmark. It had near-zero net effect on a richer one, whose descriptions, constraints and examples repeat each other. Some rewordings even improved correctness (Akli et al., 2026).
The format of a spec can make errors easier to catch. In a single-author preprint, requiring each line of generated code to cite the requirement it implements let an automated check flag about 86–88% of invented code, against 0% without citations. The cost was output that varied more between runs (Panda, 2026a).
Studies of the commercial tools find small or no effects, and none is a controlled test. A study of 88,052 open-source pull requests found no difference in defect introduction between pull requests with and without specification artifacts. It measured mostly references to tickets, not tool output, and covers open-source work only (Hill, 2026).
A multi-agent pipeline with context-grounding hooks, built on Spec Kit, raised an LLM-judged quality score by 0.15 on a 1-to-5 scale over plain Spec Kit. Runs without spec artifacts had 40 minutes and runs with them 90, so the two families were compared only within each budget (Taghavi & Bhavani, 2026).
Speed gains reported for the tools cannot be separated from learning. In an exploratory study, four developers rebuilt one web application three times: with partial AI help it took 36.0 hours, with Copilot alone 9.4, and with Kiro 5.9. The phases always ran in that order, so the Kiro gain is confounded with the developers’ growing experience (Strübel et al., 2026).
A vendor-run benchmark of 50 Python tickets found a spec paid back its overhead on feature and data-pipeline tickets but not on bug fixes, refactors or test writing. Its noise band is about 10 percentage points, and the publisher sells related services (Uvik Software, 2026).
Small studies cited in support are demonstrations, not controlled tests. One banking project, built twice by the same developer, reported 73% fewer security defects with constitutional specs. Its author lists a single project and possible Hawthorne effects (people changing behaviour because they are observed) as limits (Marri, 2026). In a planted-bug experiment, plain AI review and BDD scenarios both caught all five bugs (Zietsman, 2026).
Some evidence points the other way. Repository context files such as AGENTS.md did not generally improve agents’ task success. They raised cost by over 20% on average. This tests written guidance, not a spec-first workflow (Gloaguen et al., 2026).
One developer rebuilt a feature with Spec Kit. It took 33 minutes of agent time and 3.5 hours of review, against 8 minutes of agent time for his usual prompting, with no quality gain. He concluded he was about ten times faster without SDD (Eberhardt, 2025).
Tests as the specification
A test suite can serve as the specification itself, and results depend on what the tests show the model and how the agent uses them. Supplying tests with the problem helped GPT-4 Turbo solve 12.0% and 8.5% more problems on two benchmarks. Prompts that encouraged or discouraged writing tests, the core of test-driven development (TDD), made no significant difference to four models on SWE-bench Verified (Mathews & Nagappan, 2024; Chen et al., 2026q).
What helps is the expected outputs, not the suite’s power to catch errors. In a study of five models, correct expected outputs in the visible tests raised accuracy on a function-level benchmark for all five. Test suites that caught 30.3 percentage points more errors changed accuracy by only −0.6 to +1.1 points, with every interval including zero (Liang et al., 2026a). Whether the model sees the tests matters too: on a hard benchmark, test visibility changed performance across five models, nearly doubling correctness for some (Ben Sghaier et al., 2025).
At repository level, the raw tests help less than what running them reveals. Feeding bug reproduction tests (tests that make a reported bug appear) straight into patch writing gave limited or negative gains. Turning their runs into runtime diagnoses raised resolved tasks on SWE-bench Pro by 8.0 to 8.9 percentage points (Guo et al., 2026i). The reverse task, writing the test before the fix, has its own benchmark. TDD-Bench Verified gives a model 449 real GitHub issues and asks for a test that fails before each fix and passes after (Ahmed et al., 2024).
SDD in practice Weak evidence: few or small studies support this
Practitioners use SDD selectively and report more reliable agents at higher planning and review cost. An interview and repository study found spec files in over 73,000 public GitHub repositories, almost all first committed in 2025 or later (Agarwal et al., 2026b). Participants used SDD mainly for new features (Agarwal et al., 2026b). They credited faster delivery to AI rather than SDD and could not separate the reliability benefit from model improvements (Agarwal et al., 2026b).
The same preprint says no empirical study had broadly examined modern SDD practice before it, and that earlier studies were small (Agarwal et al., 2026b). The first international workshop on the specification-driven development life cycle, SpecOps, met on 6 October 2026 alongside the ISSTA conference (SpecOps 2026 organisers, 2026). The same preprint also says evidence for the claims of SDD proponents comes largely from tool vendors (Agarwal et al., 2026b). A retrospective four-month pilot of Spec Kit in three teams reported shorter lead times, and its authors call the findings indicative only (Farrag, 2026). In a university course, agent use under SDD raised implementation throughput but tended to encourage students to proceed without fully understanding the code (Tanaka et al., 2026).
Criticisms Contested: studies disagree on this
Critics raise review burden, ceremony, drift and a return to waterfall, mostly as opinion from hands-on trials. Böckeler found Spec Kit’s many repetitive Markdown files tedious to review and said she would rather review code (Böckeler, 2025). Kiro turned one small bug into 4 user stories with 16 acceptance criteria (Böckeler, 2025). Thoughtworks’ Technology Radar says some tools generate lengthy spec files that are hard to review (Thoughtworks, 2025).
Agents do not always follow the spec, and specs go stale. Böckeler saw agents ignore instructions and duplicate existing classes despite large context windows (Böckeler, 2025). Interview and Reddit data describe implementation drift (agents departing from the spec) and spec decay (specs going stale as code changes) (Agarwal et al., 2026b). Zaninotto argues that SDD shines on new projects, but that specs miss the point more often as an application grows (Zaninotto, 2025). Cost shifts to planning: one team found spec-driven runs used two to three times the tokens and about twice the time of direct prompting (Agarwal et al., 2026b).
The waterfall charge is disputed. Zaninotto argues SDD revives the heavy documentation of the waterfall era and risks burying agility under Markdown (Zaninotto, 2025). Eberhardt, after one trial, did not consider the purest form viable and argues code, which is formal and testable, is what to trust (Eberhardt, 2025). Liu replies that the approach differs because feedback loops are shorter (Liu, 2025). Böckeler doubts up-front design and favours small iterative steps, and compares spec-as-source to model-driven development, which never took off for business applications (Böckeler, 2025).
Further reading
- Böckeler (2025): a hands-on comparison of Kiro, Spec Kit and Tessl, with the spec-first, spec-anchored and spec-as-source levels.
- Agarwal et al. (2026b): interviews and repository mining on how SDD is practised, including drift, decay and cost.
- Díaz et al. (2026): a conceptual definition of SDD by four commitments, with five human-agent patterns.
- Hill (2026): a pull-request study of whether specification artifacts reduce defects.
- Piskala (2026): SDD placed against BDD, TDD and API-first development, with a decision framework.
First published ; last updated .
Known gaps
What this article cannot tell you yet.
- No controlled study compares Spec Kit, Kiro or Tessl with other ways of working. The measured studies mostly use specifications that agents wrote from code or binaries, not specifications written by people.
- The practice evidence rests on one large preprint plus a few small or indirect studies.
- The effect of test-first against no-test-first prompting on a current frontier coding agent was not researched.
- The criticism of the term comes from blogs, a podcast and single trials, not from peer-reviewed work.
References
- Solid source
- Rated highly trustworthy by the research, and every passage taken from it was found in it.
- Weak source
- Rated low, or a passage taken from it was not found in it.
- Medium trust
- Rated medium by the research.
- Not checked
- Rated high, but its passages could not all be checked against it.
Show all 42 references
- Agarwal, S., Singhal, A., Macvean, A., Vasilescu, B., & Breaux, T. (2026b). Spec-Driven Development as Prescribed and as Practiced. arXiv:2608.25202. https://arxiv.org/pdf/2608.25202 Medium trust Preprint, read in full.
- Ahmed, T., et al. (2024). TDD-Bench Verified: Can LLMs generate tests for issues before they get resolved? arXiv:2412.02883. https://arxiv.org/abs/2412.02883 Medium trust Preprint, abstract only.
- Akli, A., Papadakis, M., Cordy, M., & Le Traon, Y. (2026). When prompt under-specification improves code correctness: An exploratory study of prompt wording and structure effects on LLM-based code generation. arXiv:2604.24712. https://arxiv.org/abs/2604.24712 Solid source Preprint, abstract only.
- Alenezi, M. (2026). Specification-Driven Development as the Foundation of AI-Native Enterprise Software Engineering. arXiv:2607.16680. https://arxiv.org/pdf/2607.16680 Medium trust Preprint, read in large part.
- Atlassian (2025). Spec Driven Development with Rovo Dev. Inside Atlassian. https://www.atlassian.com/blog/developer/spec-driven-development-with-rovo-dev Medium trust Vendor page, read in full.
- Ben Sghaier, O., Delcourt, K., & Sahraoui, H. (2025). Artificial or just artful? Do LLMs bend the rules in programming? arXiv:2512.21028. https://arxiv.org/abs/2512.21028 Solid source Preprint, abstract only.
- Böckeler, B. (2025). Understanding Spec-Driven-Development: Kiro, spec-kit, and Tessl. martinfowler.com. https://www.martinfowler.com/articles/exploring-gen-ai/sdd-3-tools.html Medium trust Blog post, read in full.
- Böckeler, B., & Tacho, L. (2026). What is spec-driven development? Thoughtworks Technology Podcast. https://www.thoughtworks.com/en-us/insights/podcasts/technology-podcasts/what-is-spec-driven-development Medium trust Blog post, read in full.
- Brooker, M. (2025). Kiro and the future of AI spec-driven software development. Kiro blog. https://kiro.dev/blog/kiro-and-the-future-of-software-development/ Weak source Vendor page, read in full.
- Chen, Y., Chang, S., Lin, F., Chawa, K., Chen, B., Wang, S., et al. (2026u). SpecFirst: Behavioral specification elicitation as a first-class step in agent-based program synthesis from scratch. arXiv:2607.27167. https://arxiv.org/abs/2607.27167 Medium trust Preprint, read in full.
- Chen, M., Zhong, Z., Wang, M., Liang, L., et al. (2026h). Don't guess, just ask: Evaluating interactive requirement clarification for repository-level software development. arXiv:2610.13022. https://arxiv.org/abs/2610.13022 Medium trust Preprint, read in full.
- Chen, Z., Sun, Z., Shi, Y., et al. (2026q). Rethinking the value of agent-generated tests for LLM-based software engineering agents. arXiv:2602.07900. https://arxiv.org/abs/2602.07900 Solid source Preprint, abstract only.
- Delimarsky, D. (2025). Spec-driven development with AI: Get started with a new open source toolkit. The GitHub Blog. https://github.blog/ai-and-ml/generative-ai/spec-driven-development-with-ai-get-started-with-a-new-open-source-toolkit/ Weak source Vendor page, read in full.
- Díaz, J., Gayoso, J., Cimminio, A., & Pérez, J. (2026). Spec-Driven Development for Agentic Software Engineering: Harnessing Human–Agent Teamwork. arXiv:2609.00252. https://arxiv.org/pdf/2609.00252 Medium trust Preprint, read in large part.
- Eberhardt, C. (2025). Putting Spec Kit Through Its Paces: Radical Idea or Reinvented Waterfall? Scott Logic blog. https://blog.scottlogic.com/2025/11/26/putting-spec-kit-through-its-paces-radical-idea-or-reinvented-waterfall.html Medium trust Blog post, read in full.
- Farrag, S. E. (2026). The Productivity-Reliability Paradox: Specification-Driven Governance for AI-Augmented Software Development. arXiv:2605.01160. https://arxiv.org/abs/2605.01160 Medium trust Preprint, read in full.
- Gloaguen, T., Mündler, N., Müller, M. N., Raychev, V., & Vechev, M. (2026). Evaluating AGENTS.md: are repository-level context files helpful for coding agents? arXiv (2602.11988); ICLR 2026 workshop. https://arxiv.org/pdf/2602.11988 Solid source Preprint, read in full.
- Grynets, O., Kostetskyi, D., & Lyashkevych, V. (2026). Measuring What a Specification Determines: A Formal Semantic-Block Model and an Execution-Judged Benchmark. arXiv:2608.19475. https://arxiv.org/abs/2608.19475 Medium trust Preprint, read in full.
- Guo, Y., Liu, Y., Zhang, J. M., et al. (2026i). SWE-Doctor: Guiding software engineering agents with runtime diagnosis from multi-faceted bug reproduction tests. arXiv:2607.00990. https://arxiv.org/abs/2607.00990 Solid source Preprint, abstract only.
- Haselaars, T. (2021). An introduction to spec-driven API development. Apideck. https://www.apideck.com/blog/spec-driven-development-part-1 Medium trust Vendor page, read in full.
- Hill, B. (2026). Specification Artifacts in Open-Source Pull Request Workflows Do Not Reduce Defects: An Empirical Test of Spec-Driven Development Claims. ESEM 2026, LIPIcs, article 84. https://drops.dagstuhl.de/storage/00lipics/lipics-vol394-esem2026/LIPIcs.ESEM.2026.84/LIPIcs.ESEM.2026.84.pdf Solid source Peer-reviewed, read in full.
- Kiro (2026). Specs - Features - Docs - Kiro. kiro.dev. https://kiro.dev/docs/specs/ Solid source Documentation, read in full.
- Liang, Y., Gan, C., & Ying, R. (2026a). Do code language models follow tests? Paired interventions on program behavior. arXiv:2607.26244. https://arxiv.org/abs/2607.26244 Solid source Preprint, abstract only.
- Liu, S. (2025). Spec-driven development: Unpacking one of 2025's key new AI-assisted engineering practices. Thoughtworks blog. https://www.thoughtworks.com/insights/blog/agile-engineering-practices/spec-driven-development-unpacking-2025-new-engineering-practices Medium trust Blog post, read in full.
- Maple, S. (2025). Tessl launches spec-driven framework and registry to make AI coding agents reliable. Tessl blog. https://tessl.io/blog/tessl-launches-spec-driven-framework-and-registry/ Medium trust Vendor page, read in full.
- Marri, S. R. (2026). Constitutional Spec-Driven Development: Enforcing Security by Construction in AI-Assisted Code Generation. arXiv:2602.02584. https://arxiv.org/abs/2602.02584 Medium trust Preprint, read in full.
- Mathews, N. S., & Nagappan, M. (2024). Test-driven development for code generation. arXiv:2402.13521. https://arxiv.org/abs/2402.13521 Medium trust Peer-reviewed, read in full.
- McKay, C. (2024). Tessl Raises $125M to Build AI Native Software Development Platform. Maginative. https://www.maginative.com/article/tessl-raises-125m-to-build-ai-native-software-development-platform Medium trust News article, read in full.
- Panda, S. (2026a). Citation discipline in spec-driven development: A cross-model empirical study of output determinism and automated hallucination detection in LLM-generated code. arXiv:2606.30689. https://arxiv.org/abs/2606.30689 Medium trust Preprint, read in full.
- Piskala, D. B. (2026). Spec-Driven Development: From Code to Contract in the Age of AI Coding Assistants. arXiv:2602.00180. https://arxiv.org/abs/2602.00180 Medium trust Preprint, read in large part.
- GitHub (2026). GitHub Spec Kit | Spec Kit Documentation. github.github.com/spec-kit. https://github.github.com/spec-kit/index.html Solid source Documentation, read in full.
- GitHub (n.d.d). Specification-driven development (spec-driven.md). GitHub, github/spec-kit repository. https://raw.githubusercontent.com/github/spec-kit/main/spec-driven.md Medium trust Vendor page, read in full.
- SpecOps 2026 organisers (2026). SpecOps 2026: 1st International Workshop on Specification-Driven Development Life Cycle. Workshop collocated with ISSTA 2026, Oakland. https://conf.researchr.org/home/specops-2026 Solid source Read in full.
- Strübel, J., Russell, C., Crockett, C., Ferraro, J., Londhe, N., Syed, U., et al. (2026). Three-phase evaluation of AI-assisted software development life cycle. arXiv:2607.05125. https://arxiv.org/abs/2607.05125 Medium trust Preprint, read in full.
- Swaminathan, N., & Singh, D. (2025). Introducing Kiro. Kiro blog. https://kiro.dev/blog/introducing-kiro/ Weak source Vendor page, read in full.
- Taghavi, P., & Bhavani, S. (2026). Spec Kit Agents: Context-Grounded Agentic Workflows. arXiv:2604.05278. https://arxiv.org/abs/2604.05278 Solid source Preprint, read in full.
- Tanaka, H., Igaki, H., Shimari, K., Honda, K., & Fukuyasu, N. (2026). Practical Implementation Report on Introducing Spec-Driven Development Using AI Agents in Software Development PBL. arXiv:2608.30572. https://arxiv.org/abs/2608.30572 Medium trust Preprint, abstract only.
- Thoughtworks (2025). Spec-driven development (Technology Radar, Assess). Thoughtworks Technology Radar. https://www.thoughtworks.com/radar/techniques/spec-driven-development Medium trust Blog post, read in full.
- Tufano, M., McClure, J., Cambronero, J., et al. (2026). Grounding AI Agents in Contracts: An Empirical Evaluation of Spec-Driven Test Generation. SpecOps '26, ACM; arXiv:2608.17177. https://arxiv.org/abs/2608.17177 Medium trust Peer-reviewed, read in full.
- Uvik Software (2026). Spec-Driven Development Benchmark 2026: Spec Kit vs Kiro vs BMAD vs OpenSpec vs No Spec on 50 Production Python Tickets. Uvik Software blog. https://uvik.net/blog/spec-driven-development-benchmark/ Medium trust Vendor page, read in full.
- Zaninotto, F. (2025). Spec-Driven Development: The Waterfall Strikes Back. Marmelab blog. https://marmelab.com/blog/2025/11/12/spec-driven-development-waterfall-strikes-back.html Medium trust Blog post, read in full.
- Zietsman, C. (2026). The Specification as Quality Gate: Three Hypotheses on AI-Assisted Code Review. arXiv:2603.25773. https://arxiv.org/abs/2603.25773 Medium trust Preprint, read in full.