# Spec-driven development

> Writing a specification before AI coding agents write code: what the term means, how the tools work, what early studies measure, and whether it is waterfall again.

URL: https://w.n14n.dev/spec-driven-development/
Claims and sources: https://w.n14n.dev/spec-driven-development/claims.json
Written and checked by AI agents. Cite the sources, not this article.

Spec-driven development (SDD) is a way of working with [AI coding agents](https://w.n14n.dev/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 [1]).

## 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 [2]). 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 [3, 4]). 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 [5, 6]).

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](https://w.n14n.dev/software-factories/). 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 [7]).

She finds all the tools she examined spec-first, with long-term maintenance of the spec often left vague (Böckeler, 2025 [8]). 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 [9, 10]). 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 [11]). Its authors say the community has not converged on definitions of the surrounding terms either (Díaz et al., 2026 [12]).

## 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 [13, 14]).

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 [15, 16]). 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 [17]). 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](https://w.n14n.dev/requirement-templates/) (or a bug analysis), a design, and tasks (Kiro, 2026 [18, 19]). 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 [20]). Böckeler describes its requirements as user stories with GIVEN/WHEN/THEN acceptance criteria (Böckeler, 2025 [21]). 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 [22]).

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 [23, 24]). 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 [25]).

## 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](https://w.n14n.dev/software-development-life-cycle/) to requirements standards. Cost, decay and traceability are old problems there (Agarwal et al., 2026b [26]). A third calls [behaviour-driven development](https://w.n14n.dev/behaviour-driven-development/) (BDD) the most direct ancestor and [test-driven development](https://w.n14n.dev/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 [27]). 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 [28, 29]). Agarwal and colleagues say it returned because the reader is now an agent that consumes natural language (Agarwal et al., 2026b [30]).

## 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 [31, 32]).

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 [33, 34]). 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 [35]). 

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 [36]).

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 [37, 38, 39]).

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 [40, 41]).

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 [42, 43, 44]).

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 [45, 46]). In a planted-bug experiment, plain AI review and BDD scenarios both caught all five bugs (Zietsman, 2026 [47]).

Some evidence points the other way. [Repository context files](https://w.n14n.dev/evaluating-agent-skills/) 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 [48]). 

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 [49, 50, 51]).

## 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](https://w.n14n.dev/test-driven-development/) (TDD), made no significant difference to four models on SWE-bench Verified (Mathews & Nagappan, 2024 [52]; Chen et al., 2026q [53]).

**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
*Evidence note: 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 [54]). Participants used SDD mainly for new features (Agarwal et al., 2026b [55]). They credited faster delivery to AI rather than SDD and could not separate the reliability benefit from model improvements (Agarwal et al., 2026b [56]).

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 [57, 58]). 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 [59]). 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 [60, 61]). 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
*Evidence note: Contested (studies disagree on this).*

Critics raise [review burden](https://w.n14n.dev/human-review-of-proposed-changes/), 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 [62]). Kiro turned one small bug into 4 user stories with 16 acceptance criteria (Böckeler, 2025 [63]). Thoughtworks' Technology Radar says some tools generate lengthy spec files that are hard to review (Thoughtworks, 2025 [64]).

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 [65]). 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 [66]). Zaninotto argues that SDD shines on new projects, but that specs miss the point more often as an application grows (Zaninotto, 2025 [67]). 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 [68]).

The waterfall charge is disputed. Zaninotto argues SDD revives the heavy documentation of the waterfall era and risks burying agility under Markdown (Zaninotto, 2025 [1]). 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 [69, 70]). Liu replies that the approach differs because feedback loops are shorter (Liu, 2025 [71]). 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 [72, 73]).

## 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.

## Known gaps

- 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.

## Claims cited

Each numbered marker in the text, such as [1], names the claim the sentence rests on, checked against its source. Verified: a verifier found the quoted passage on the source page. Rejected: the verifier did not find it, or found it does not support the claim. Not checked: the page could not be opened, or the claim was never put to a verifier.

- [1] Zaninotto argues SDD revives the Waterfall-era idea of heavy documentation before coding and risks burying agility under Markdown. Source: Zaninotto (2025). Quote: "Spec-Driven Development (SDD) revives the old idea of heavy documentation before coding — an echo of the Waterfall era." Verified.
- [2] Böckeler describes the definition of SDD as unsettled and gives a working one: writing a spec before code with AI, the spec being the source of truth for human and AI. Source: Böckeler (2025). Quote: "Like with many emerging terms in this fast-paced space, the definition of “spec-driven development” (SDD) is still in flux. Here’s what I can gather from how I have seen it used so far: Spec-driven development means writing a “spec” before writing code with AI (“documentation first”). The spec becomes the source of truth for the human and the AI." Verified.
- [3] Böckeler defines a spec as a structured, behaviour-oriented natural-language artifact that guides AI coding agents. Source: Böckeler (2025). Quote: "A spec is a structured, behavior-oriented artifact - or a set of related artifacts - written in natural language that expresses software functionality and serves as guidance to AI coding agents." Verified.
- [4] Böckeler reports there is no general definition of a spec; the closest is a comparison with a Product Requirements Document. Source: Böckeler (2025). Quote: "There doesn’t seem to be a general definition, the closest I’ve seen to a consistent definition is the comparison of a spec to a “Product Requirements Document”." Verified.
- [5] Böckeler found no general definition of a spec; the nearest is comparison with a Product Requirements Document. Source: Böckeler (2025). Quote: "There doesn’t seem to be a general definition, the closest I’ve seen to a consistent definition is the comparison of a spec to a “Product Requirements Document”." Verified.
- [6] Böckeler says the term is semantically diffused, with some people using 'spec' as a synonym for 'detailed prompt'. Source: Böckeler (2025). Quote: "the term “spec-driven development” isn’t very well defined yet, and it’s already semantically diffused. I’ve even recently heard people use “spec” basically as a synonym for “detailed prompt”." Verified.
- [7] Böckeler distinguishes three levels of SDD: spec-first, spec-anchored, spec-as-source. Source: Böckeler (2025). Quote: "Spec-first: A well thought-out spec is written first, and then used in the AI-assisted development workflow for the task at hand. Spec-anchored: The spec is kept even after the task is complete, to continue using it for evolution and maintenance of the respective feature. Spec-as-source: The spec is the main source file over time, and only the spec is edited by the human, the human never touches the code." Verified.
- [8] Böckeler finds all SDD approaches spec-first, and the long-term spec maintenance strategy often left vague. Source: Böckeler (2025). Quote: "All SDD approaches and definitions I’ve found are spec-first, but not all strive to be spec-anchored or spec-as-source. And often it’s left vague or totally open what the spec maintenance strategy over time is meant to be." Verified.
- [9] Díaz et al. define SDD operationally by four commitments, the first being that every non-trivial planned change originates from a written specification that the team treats as the contract for the change. Source: Díaz et al. (2026). Quote: "Every non-trivial planned change to the system2 originates from a written specification that the team treats as the contract for the change." Verified.
- [10] In Díaz et al.'s definition, the specification is version-controlled with the code and is the source of truth when it disagrees with an artifact. Source: Díaz et al. (2026). Quote: "When specification and artifact disagree, the specification is the source of truth, and the disagreement is resolved by re-deriving the artifact or amending the specification, never by silent edits." Verified.
- [11] Díaz et al. distinguish system specifications (architecture, conventions, rules, held in agent rule files such as CLAUDE.md or AGENTS.md) from feature specifications (a specific change with acceptance criteria). Source: Díaz et al. (2026). Quote: "System specifications describe the durable world in which the project lives, i.e., architecture, conventions, domain models, patterns, and the normative rules the team expects every change to respect." Verified.
- [12] Díaz et al. state that the community has not converged on the definitions of agentic SE, vibe coding, harness and specification. Source: Díaz et al. (2026). Quote: "The central terms (agentic SE, vibe coding, harness, specification) are recent and controversial. Our definitions stabilize them for this paper, but the community has not converged" Verified.
- [13] Kiro's launch post is dated 14 July 2025 and presents spec-driven development as what Kiro helps the developer do. Source: Swaminathan & Singh (2025). Quote: "That’s what Kiro helps you do with spec-driven development." Verified.
- [14] Kiro's launch post says specs can guide AI agents to a better implementation, as they help developers plan. Source: Swaminathan & Singh (2025). Quote: "Specs can guide AI agents to a better implementation in the same way." Verified.
- [15] GitHub defines SDD as starting from a spec that acts as a contract and the source of truth for generating, testing and validating code. Source: Delimarsky (2025). Quote: "Instead of coding first and writing docs later, in spec-driven development, you start with a (you guessed it) spec. This is a contract for how your code should behave and becomes the source of truth your tools and AI agents use to generate, test, and validate code." Verified.
- [16] GitHub's Spec Kit announcement is dated 2 September 2025 and presents Spec Kit as a new open-sourced toolkit for SDD. Source: Delimarsky (2025). Quote: "Spec Kit, our new open sourced toolkit for spec-driven development, provides a structured process to bring spec-driven development to your coding agent workflows with tools including GitHub Copilot, Claude Code, and Gemini CLI." Verified.
- [17] GitHub states a shift from code to intent as the source of truth. Source: Delimarsky (2025). Quote: "We’re moving from “code is the source of truth” to “intent is the source of truth.”" Verified.
- [18] Kiro documentation says every spec generates three files: requirements.md (or bugfix.md), design.md and tasks.md. Source: Kiro (2026). Quote: "Every spec generates three key files that form the foundation of your specification:" Verified.
- [19] Kiro documentation states a three-phase workflow: requirements or bug analysis, design, tasks. Source: Kiro (2026). Quote: "All specs follow a three-phase workflow that transforms your idea into executable implementation:" Verified.
- [20] Kiro was announced on 14 July 2025 with a spec workflow that turns a prompt into requirements with EARS-notation acceptance criteria. Source: Swaminathan & Singh (2025). Quote: "Kiro unpacks requirements from a single prompt—type "Add a review system for products" and it generates user stories for viewing, creating, filtering, and rating reviews. Each user story includes EARS (Easy Approach to Requirements Syntax) notation acceptance criteria" Verified.
- [21] Böckeler describes Kiro's workflow as Requirements, Design, Tasks, with user stories and GIVEN/WHEN/THEN acceptance criteria. Source: Böckeler (2025). Quote: "Workflow: Requirements → Design → Tasks" Verified.
- [22] Tessl presents spec-driven development as capturing intent in structured specifications so agents build with clarity and guardrails, and launched its Spec Registry and Framework in September 2025. Source: Maple (2025). Quote: "Tessl’s answer to this is spec-driven development (SDD), which captures intent in structured specifications so agents can build with clarity and guardrails." Verified.
- [23] Böckeler found Tessl the only one of the three tools aspiring to spec-anchored, exploring spec-as-source, with generated code marked do-not-edit and a 1:1 spec to file mapping. Source: Böckeler (2025). Quote: "Tessl is the only one of these three tools that explicitly aspires to a spec-anchored approach, and is even exploring the spec-as-source level of SDD." Verified.
- [24] Böckeler found spec-kit to be spec-first only, not spec-anchored over time. Source: Böckeler (2025). Quote: "It makes me think that spec-kit is still what I would call spec-first only, not spec-anchored over time." Verified.
- [25] Eberhardt says the tools differ in workflow and treats Spec Kit as the purest form of SDD (spec-as-source), so tools labelled SDD are not one practice. Source: Eberhardt (2025). Quote: "While these tools all provide a form of SDD, their workflow to differ quite a bit." Verified.
- [26] Agarwal et al. date the principle that a specification should precede and govern implementation to five decades of software engineering, from waterfall to the ISO/IEC/IEEE 29148 requirements standard, and name cost, decay and traceability as long-standing problems. Source: Agarwal et al. (2026b). Quote: "specs are costly to write, go stale as systems evolve, and are hard to trace to the code that satisfies them" Verified.
- [27] Piskala quotes Bryan Finster's view that 'SDD is not a revolution... it's just BDD with branding.' Source: Piskala (2026). Quote: "“SDD is not a revolution... it’s just BDD with branding.”" Verified.
- [28] Díaz et al. say SDD's novelty is not the use of specifications, which specification-centric approaches have used for decades, but combining them with an agent-based execution model. Source: Díaz et al. (2026). Quote: "The novelty of SDD is not the use of specifications per se, since specification-centric approaches have existed for decades." Verified.
- [29] Díaz et al. say SDD differs from earlier specification-centric traditions (model-driven engineering, domain-driven design, executable specification such as BDD) in that the transformation engine is a stochastic agent rather than a deterministic generator. Source: Díaz et al. (2026). Quote: "SDD inherits from these traditions the principle of an authoritative abstraction, but it differs in that the transformation engine is a stochastic agent rather than a deterministic generator, which changes the role of verification" Verified.
- [30] Agarwal et al. place SDD in a five-decade tradition of specification-first engineering (waterfall, spiral, requirements standards) and argue it returned because the reader is now an agent that consumes natural language. Source: Agarwal et al. (2026b). Quote: "SDD is also an old idea. Software engineering has held for five decades that a specification should precede and govern implementation" Verified.
- [31] In an execution-judged migration benchmark, giving agents the full specification raised clean-loading output from 72.0% to 97.3% on 75 units compared with no specification. Source: Grynets et al. (2026). Quote: "the full specification increases clean-loading output from 72.0% to 97.3%, whereas aggregate cross-implementer agreement changes only from 83.1% to 83.8%." Verified.
- [32] In the same benchmark, the specification did not measurably improve structured-data correctness against a live Oracle database: 19 of 42 probes were correct in both conditions. Source: Grynets et al. (2026). Quote: "structured row-level comparison against live Oracle yields 19 correct results out of 42 probes in both conditions." Verified.
- [33] Letting an agent first write a semi-formal specification (pre-conditions, post-conditions, undefined behaviors) before generating tests raised bug detection by 9.8 percentage points (p = 0.0352) and branch coverage by 2.5 percentage points over a baseline test-generation agent, on 90 historical production bugs at Google. Source: Tufano et al. (2026). Quote: "the spec-driven agent can deliver a 9.8 percentage points (p = 0.0352) improvement in bug detection rate and a 2.5 percentage point (p = 0.0034) improvement in branch coverage, compared to a traditional test generation agent baseline." Verified.
- [34] In the Google study the bug-detection gain at one run (k=1) was 4.2 points (36.9% to 41.1%), and 9.8 points at k=5 (53.4% to 63.2%); the gap widened with more runs. Source: Tufano et al. (2026). Quote: "Spec-Driven Agent achieves a 41.1% detection rate, representing a 4.2% absolute improvement over the baseline (36.9%). Notably, the performance gap widens as the number of runs increases. At k = 5, the Spec-Driven Agent reaches a detection rate of 63.2%, yielding a 9.8% absolute improvement over the baseline agent (53.4%)." Verified.
- [35] SpecFirst, a two-stage agent that elicits a behavioural specification before coding, improved test pass rates by 6.9% to 21.3% over a single-loop baseline across four models on all 200 ProgramBench instances; baseline frontier models solve under 1% of instances fully. Source: Chen et al. (2026u). Quote: "consistently outperforms the single-loop baseline, improving test pass rates by 6.9%–21.3% and binary exploration coverage by 9.4%–18.5%, all statistically significant." Verified.
- [36] In a repository-level benchmark, an agent that first wrote a requirement document from a vague intent and then coded from it scored higher than coding directly from the intent on all three benchmarks (for example 0.012 to 0.273 on GameCraft-Bench); documents refined by interactive clarification scored higher still. Source: Chen et al. (2026h). Quote: "The score increases from 0.012 to 0.273 on GameCraft-Bench, from 0.451 to 0.543 on MiniAppBench, and from 0.271 to 0.384 on WebGen-Bench. Furthermore, interactive clarification leads to additional improvements on all three benchmarks." Verified.
- [37] In 88,052 pull requests across 119 open-source repositories, spec'd and unspec'd PRs did not differ in defect introduction after propensity score matching. Source: Hill (2026). Quote: "After propensity score matching on just-in-time risk profiles, spec’d and unspec’d PRs are indistinguishable in defect introduction (−0.6 percentage points (pp), p = 0.133)." Verified.
- [38] The study measured specification artifacts, mostly references to tickets, not SDD tool output, because no repository in the sample committed such output. Source: Hill (2026). Quote: "What we measure is specification artifacts – overwhelmingly references to tracking issues and tickets – rather than SDD tool output, which no repository in the sample commits." Verified.
- [39] The study's results are limited to open-source workflows and should not be extrapolated to commercial development. Source: Hill (2026). Quote: "Our results speak to open-source pull request workflows and should not be extrapolated to commercial development." Verified.
- [40] Spec Kit Agents, a multi-agent pipeline on top of Spec Kit with context-grounding hooks, was evaluated on 128 runs over 32 features in five repositories and raised an LLM-judged quality score by 0.15 on a 1-5 scale. Source: Taghavi & Bhavani (2026). Quote: "Within the 90-minute workflow family, Full-Augmented achieves the strongest overall quality, improving from 3.51 to 3.66 (+0.15) relative to Full." Verified.
- [41] In the Spec Kit Agents study the no-artifact baseline ran with a 40-minute budget and the spec-artifact workflow with 90 minutes, and the two families were compared only within budget. Source: Taghavi & Bhavani (2026). Quote: "In the 40-minute workflow family (Baseline, Augmented), the developer agent skips intermediate artifacts (SPEC.md/PLAN.md/TASKS.md) and proceeds directly to implementation; in the 90-minute family (Full, Full-Augmented), those artifacts are produced before coding." Verified.
- [42] In the Uvik benchmark a spec paid back its overhead on feature and data-pipeline tickets but not on bug-fix, refactor or test-writing tickets. Source: Uvik Software (2026). Quote: "A spec paid for itself on feature and data-pipeline tickets and did not pay for itself on bug-fix, refactor, or test-writing tickets." Verified.
- [43] The Uvik benchmark's merge-rate noise band is about plus or minus 10 percentage points, so arms inside it are not ranked. Source: Uvik Software (2026). Quote: "The noise band on merge rate is plus or minus 10 percentage points. We do not rank two arms when the gap between them is inside the noise band." Verified.
- [44] Uvik Software disclosed that it publishes the benchmark and sells related services. Source: Uvik Software (2026). Quote: "Research disclosure: Uvik Software publishes this research and provides related Python, AI and staff augmentation services." Verified.
- [45] Marri's banking case study reports that constitutional specifications reduced security defects by 73% compared with unconstrained AI generation. Source: Marri (2026). Quote: "Our case study shows that constitutional constraints reduce security defects by 73% compared to unconstrained AI generation while maintaining developer velocity." Verified.
- [46] Marri's threats section says the study involved one team with prior security training, possible Hawthorne effects, and one project, which limits statistical power. Source: Marri (2026). Quote: "Small sample size (n=1 project) limits statistical power for quantitative claims." Verified.
- [47] In Zietsman's first experiment, with textbook boundary-condition bugs, Claude detected all five bugs in all runs and BDD scenarios also caught all five, so the hypothesis that specs beat AI review was not confirmed at that level. Source: Zietsman (2026). Quote: "Claude detected all five bugs at 100% across all runs. BDD also caught all five." Verified.
- [48] Adding repository context files (written guidance such as AGENTS.md) for coding agents did not significantly change task success rates, while raising inference cost by over 20% on average. Source: Gloaguen et al. (2026). Quote: "we find that providing context files does not generally improve task success rates, while increasing inference cost by over 20% on average." Verified.
- [49] In one developer's account of rebuilding a feature with Spec Kit, the spec-driven run took 33m30 of agent time and 3.5 hours of review and produced 2,577 lines of markdown, against 8 minutes of agent time for his usual iterative prompting. Source: Eberhardt (2025). Quote: "33m30 - of agent execution time" Verified.
- [50] The same developer reported he saw no quality gain from the spec-driven workflow and judged himself about ten times faster without it. Source: Eberhardt (2025). Quote: "The simple fact is I am a lot more productive without SDD, around ten times faster." Verified.
- [51] Eberhardt, after trying GitHub's Spec Kit, wrote that he was about ten times more productive without SDD. Source: Eberhardt (2025). Quote: "The simple fact is I am a lot more productive without SDD, around ten times faster." Verified.
- [52] In an experiment with GPT-4 Turbo on MBPP and HumanEval, supplying test cases with the problem statement lets the model solve an additional 12.0% and 8.5% of problems. Source: Mathews & Nagappan (2024). Quote: "For MBPP and HumanEval, including tests contributes to solving an additional 12.0% and 8.5% of problems, respectively, showcasing that tests as part of the input help the LLM reach the correct solution." Verified.
- [53] Comparing baseline prompts with prompts that encouraged or discouraged writing test files, for four models on SWE-bench Verified, resolved-task totals differed by 0 to 13 of 500 per model, with no statistically significant difference. Source: Chen et al. (2026q). Quote: "Resolved-task totals differ by 0-13 out of 500 per model, with no statistically significant difference, while API calls or token use differ substantially for three models." Verified.
- [54] Agarwal et al. found spec files in over 73,000 public GitHub repositories, almost all first committed in 2025 or later. Source: Agarwal et al. (2026b). Quote: "we found spec files in over 73,000 public GitHub repositories, almost all first committed in 2025 or later" Verified.
- [55] Agarwal et al. report that practitioners used SDD selectively, mainly for new features, with more reliable agent behaviour but greater planning and review costs. Source: Agarwal et al. (2026b). Quote: "Practitioners agreed that specs should capture intent, but many also included implementation details, used SDD selectively and mainly for new features, and reported more reliable agent behavior alongside greater planning and review costs." Verified.
- [56] Agarwal et al. report participants credited faster delivery to AI rather than SDD and could not separate the reliability benefit from model improvements. Source: Agarwal et al. (2026b). Quote: "Most practitioners found that specs made agent work more reliable, although they could not separate this benefit from improvements in models." Verified.
- [57] Agarwal et al. state that no empirical study had broadly examined modern SDD practice before theirs. Source: Agarwal et al. (2026b). Quote: "Despite this traction, no empirical study has broadly examined the modern practice." Verified.
- [58] Agarwal et al. describe the other empirical SDD studies as small: a four-project workflow study, a course study with 14 students, and two frameworks evaluated by their authors on their own systems. Source: Agarwal et al. (2026b). Quote: "Other studies are small: a four-project workflow study [29], a course study with 14 students [30], and two frameworks their authors evaluated on their own systems [24], [26]." Verified.
- [59] Agarwal et al. state that evidence on SDD comes largely from tool vendors. Source: Agarwal et al. (2026b). Quote: "Spec-driven development (SDD) addresses this by having developers and agents write specifications that guide implementation, yet evidence on its use comes largely from tool vendors." Verified.
- [60] A four-month pilot of Spec Kit in three teams was retrospective and not a controlled experiment, so its findings are indicative only. Source: Farrag (2026). Quote: "Because instrumentation was retrospective and not designed as a controlled experiment from the outset, the findings are interpreted as qualitative and indicative rather than as precise effect-size estimates." Verified.
- [61] In the pilot's approximate figures, median lead time per feature fell from 8-12 to 6-9 working days and code churn from 12-18% to 6-10% of changed lines after Spec Kit was introduced. Source: Farrag (2026). Quote: "Median lead time per feature                     8–12 working days                  6–9 working days" Verified.
- [62] Böckeler found Spec Kit's many repetitive Markdown files tedious to review and said she would rather review code. Source: Böckeler (2025). Quote: "To be honest, I’d rather review code than all these markdown files." Verified.
- [63] Böckeler found a small bug produced a heavyweight spec: Kiro turned it into 4 user stories with 16 acceptance criteria (a trial of one bug, so opinion from experience). Source: Böckeler (2025). Quote: "it quickly became clear that the workflow was like using a sledgehammer to crack a nut. The requirements document turned this small bug into 4 “user stories” with a total of 16 acceptance criteria" Verified.
- [64] Thoughtworks Radar (Nov 2025, Assess) says some SDD tools generate lengthy spec files that are hard to review, and that it is sometimes unclear who the intended user of generated PRDs or user stories is. Source: Thoughtworks (2025). Quote: "some generate lengthy spec files that are hard to review, and when they produce PRDs or user stories, it's sometimes unclear who their intended user is." Verified.
- [65] Böckeler saw agents not follow all spec instructions, including duplicating existing classes, despite large context windows. Source: Böckeler (2025). Quote: "Even with all of these files and templates and prompts and workflows and checklists, I frequently saw the agent ultimately not follow all the instructions." Verified.
- [66] Agarwal et al. found in interviews and Reddit data that agents departed from specs during implementation (implementation drift) and specs went stale as code changed (spec decay). Source: Agarwal et al. (2026b). Quote: "Finding 10: Agents departed from specs during implementation and specs went stale as code changed;" Verified.
- [67] Zaninotto argues that spec-driven development suits new projects but that specs miss the point more often as an application grows. Source: Zaninotto (2025). Quote: "SDD shines when starting a new project from scratch, but as the application grows, the specs miss the point more often and slow development." Verified.
- [68] Agarwal et al. report that SDD shifts token cost, time and cognitive load to planning; one team found spec-driven runs used two to three times the tokens and about twice the time of direct prompting. Source: Agarwal et al. (2026b). Quote: "the spec-driven runs typically consume two to three times as many tokens and take about twice as long" Verified.
- [69] Eberhardt, after rebuilding a feature with Spec Kit, titled his critique with the question whether SDD is a radical idea or reinvented waterfall and said he does not consider it a viable process in its purest form. Source: Eberhardt (2025). Quote: "But I don’t consider it a viable process, at least not in its purest form, as exemplified by Spec Kit." Verified.
- [70] Eberhardt argues code, not a markdown specification, is the thing to trust because code is formal and can be tested or proved. Source: Eberhardt (2025). Quote: "Code is law because it is formal language you can reason about." Verified.
- [71] Liu reports he has heard claims that SDD is a return to waterfall and argues this time is different because it offers shorter feedback loops. Source: Liu (2025). Quote: "I’ve heard some people claim this is a return to waterfall — not unreasonably — but I believe this time is different." Verified.
- [72] Böckeler doubts lots of up-front spec design, favouring small iterative steps. Source: Böckeler (2025). Quote: "The past has shown that the best way for us to stay in control of what we’re building are small, iterative steps, so I’m very skeptical that lots of up-front spec design is a good idea, especially when it’s overly verbose." Verified.
- [73] Böckeler compares spec-as-source to model-driven development, which never took off for business applications, and warns of inflexibility plus LLM non-determinism. Source: Böckeler (2025). Quote: "I wonder if spec-as-source, and even spec-anchoring, might end up with the downsides of both MDD and LLMs: Inflexibility" Verified.

## References

Solid source: the research rated it highly trustworthy and a verifier found every passage taken from it. Weak source: rated low, or a verifier did not find a passage taken from it. Medium trust: rated medium; neither weak nor solid. Not checked: rated high, but its passages could not all be checked against it.

- 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.]
- 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.]
- 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.]
- 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.]
- 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, 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, 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.]
- 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.]
- 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.]
- 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.]
- 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.]
- 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.]
- 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.]
- 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.]
- Kiro (2026). Specs - Features - Docs - Kiro. *kiro.dev*. https://kiro.dev/docs/specs/ [Solid source. Documentation, read in full.]
- 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.]
- 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.]
