Someone proposes a spec in sprint planning. “Should we spec this one first?” The room goes quiet, and nobody can price the answer.
That silence is the whole problem. AI coding assistants have shifted the engineering bottleneck from writing code to verifying it, so every team is now spending on specs whether it admits it or not. Few have the numbers in hand to know whether a spec saves them more effort than it takes to write. The spec-driven delivery debate splits into two positions. Some treat it as good practice to adopt, others as ceremony to skip. The vendor claims are thin, and the industry commentary is candid that both camps overstate their case.
The evidence that does exist points somewhere more useful than a verdict. Spec-driven delivery pays off on particular kinds of work, and the costs are measurable. Once you can see both, the decision gets a lot easier.
Does “specify first” improve quality, or just reasoning?
Sometimes it does, and often the gain is being credited to the wrong thing. On an easy, low-constraint coding task, a staged-delivery control measured the pass rate and found reasoning-only hitting 95%, against 92% for spec-first and 59% for plain “just write code”. Spec versus reasoning was not statistically significant. As Nitin Garg notes, the gains people attribute to “specifying first” on easy tasks are largely a reasoning effect in disguise.
The conflation is easy to make because three different mechanisms overlap, and you rarely see them pulled apart. Chain-of-thought is the model thinking through edge cases before it writes code, with no written artefact at all. The specification is a written, approved baseline someone signs off. Contract-first test generation is a third mechanism, and it operates at the test-writing stage: a study on Google production bugs found a 9.8 percentage point lift in bug detection (p = 0.0352) when agents wrote pre- and post-conditions first.
That last result is real and narrow. It says nothing about whether writing a spec before generating feature code helps your team. Reasoning, meanwhile, is free and automatic. The spec costs tokens, time, and review attention, so the burden of proof sits on the artefact.
Staged spec-first delivery vs a single “spec-then-code” prompt: which moves quality?
Delivery mode moves it. Layout matters less than whether the spec exists as a governing artefact.
Garg’s experiment took the same twenty-invariant banking service. Staging the work, authoring the spec first and then implementing from it in a fresh generation step, nearly doubled the pass rate, from 23.8% to 45%, and halved failed builds. A single prompt asking for “a specification, then the code” landed at 23.8%, identical to asking for code directly. As he puts it: “how you deliver a specification matters more than whether one exists”.
Teams that add a spec to the prompt and expect a different outcome report mixed results. When the spec is folded into the same generation, it behaves as longer prompt text. A spec that is committed, reviewed, versioned, and consumed by a later step becomes a boundary you can check against. The adversarial Coordinator/Implementor/Verifier setup in spec-driven tooling builds the same separation: one agent breaks the spec into sub-specs, others implement, a verifier with opposing goals checks the output.
The staged win does carry a confound worth noting. The winning arm runs the model twice, so some of the gain may come from the extra pass.
What is the targeting rule for spec-driven delivery?
Adopt spec-driven delivery where the cost of verification, coordination, or the need for repeatable and auditable output exceeds the cost of writing the spec. Skip it where raw generation speed is the only constraint.
The rule falls out of the evidence. Reasoning already covers easy tasks, so the spec has to earn its cost where reasoning alone falls short: hard, multi-constraint work built by a capable but imperfect model. Garg’s summary is blunt: “put the pieces together and you do not get ‘always write specs’. You get a targeting rule.”
The quickest triage is the Uvik Spec Fit Test. Write a spec when three or more of six statements hold: the change touches three or more files, has four or more acceptance criteria, crosses a module, service, or repository boundary, alters a schema or public API, involves more than one engineer or agent, or sits in regulated or audited code.
In practice that triages into three lanes: full spec for high-risk cross-team work, light spec (a short one plus an implementation checklist) for medium-risk feature work, and no spec for routine reversible changes. The point is to apply the minimum structure that reliably protects quality, because the review bottleneck slows your delivery.
Where does spec-driven delivery pay off, and where is it overkill?
Apply the rule to real tickets and the payoff concentrates in a few places. The best spec arm reached a 90% merge rate against 60% for the no-spec control on feature and data-pipeline tickets, and on large tickets of six or more files it merged 80% against 50%. On bug fixes, refactors, and test-writing it gained nothing at all. That pattern is cross-team interfaces, schema and API changes, multi-agent work, and long-lived systems.
Regulated domains such as FinTech and HealthTech are where a full spec is process your business already pays for. The attributability that makes a spec useful also makes it evidence under the EU AI Act, ISO/IEC 42001, and NIST AI RMF. Standards like IEC 62304 and ISO 26262 already expect traceability between requirements, design, and tests, which an attributable spec can supply.
Brownfield work is a different case. Adoption costs more because someone has to reverse-engineer existing behaviour and spec incrementally near the area of change before CI enforces anything. Specs generated wholesale from legacy code look plausible and diverge from what the code does.
Overkill looks like throwaway prototypes, single-file bug fixes, and any change a reviewer can verify in seconds. There the spec is overhead with no offsetting gain.
What does a spec-driven port actually cost in tokens, time, and review effort?
Once you know where to skip the spec, the question flips to what it costs where you do write one. Writing the spec is a cost line, and it is larger than most people expect. In the Uvik benchmark the median spec ran about 18 minutes and 128 lines of Markdown, with the spec phase consuming roughly 35% of all tokens per ticket. BMAD pushed that to 188 lines and 43.9%. Cost per merged ticket came in between $2.35 for Amazon Kiro and $4.23 for BMAD, against $2.43 for the no-spec control. That is a real cost, and it sits in the same order of magnitude as the control.
Reviewers took 48.4 minutes with an approved baseline against 26.7 minutes code-only. Their defect recall stayed flat at 0.525 versus 0.518 (p = 0.69), while attribution to named requirements jumped from 0% to 81% (p = 0.043), as Garg measured. His reading is precise: “a specification baseline did not make reviewers better bug-finders”. It bought a contract-anchored, attributable review, at a measurable time cost.
Code drifts from its spec even in controlled runs (7.9% of merged spec-arm tickets), and the spec-first, spec-anchored, and spec-as-source rigour levels each carry a different maintenance burden.
What do the Giant Swarm and Akka case studies show about spec-driven delivery at scale?
They show the economics closing at the point where review time caps your team’s throughput.
Giant Swarm moved review from the code diff to the plan, running a loop of plan, challenge, ground-truth check, and contrarian pass. Pull-request volume roughly tripled from about 700 a month to more than 2,100, and most of those merge without a human reading the diff. People argue about the plan, decide, and merge it. Agents implement against the agreed spec, and the author stays accountable after merge. Their rule of thumb gives you a feel for the line: if a change contains a decision someone could disagree with, it gets a plan.
Akka’s port of 65 projects burned 9.41 billion tokens and attributed cross-project consistency to the harness. At agent scale, consistency comes from the constraints around the model, and the spec is one of them.
Microsoft’s Spec Kit team report states it in one line: “spec quality = output quality”. And Robert Martin, who no longer reads agent-written code, applies coverage, complexity, and mutation-testing gates before he accepts a change.
At scale, the spec is a review-relocation mechanism. It puts human judgement at the plan, where it is cheaper and earlier, and removes the diff review that would otherwise cap throughput. You measure the payoff by how much review effort moves from the diff to the plan.
Where can I find real case studies and benchmark data on spec-driven delivery?
Those numbers come from a small, concentrated set of sources, and you are better off reading them at the source.
The Uvik Software SDD Benchmark 2026 is the controlled, blind-reviewed comparison behind most of the cost figures here: Spec Kit, Kiro, BMAD, and OpenSpec against a no-spec control across 50 production Python tickets, with raw data on a CC BY 4.0 licence. InfoQ hosts the two most on-topic practitioner pieces, Nitin Garg’s “When Spec-Driven Development Pays Off” and Hari Krishnan’s enterprise adoption analysis. Production anchors are the Giant Swarm engineering post and Microsoft’s Spec Kit team report.
The evidence needs two caveats before you weigh it. Broken Robot’s independent evidence review aggregates the Google/Tufano, Smékal, SpecMine, EPIC, and traceSDD studies and concludes the evidence for both camps is thinner than either admits. And the Thoughtworks Technology Radar still holds spec-driven development at “Assess”, as this overview notes. The placement reflects how young the field is. You won’t find survey-based adoption data yet, only star counts and vendor self-reports.
What it comes down to
Read the spec’s cost honestly while you work out where it applies. Eighteen minutes and 128 lines to author a spec, around 35% of ticket tokens, and a longer review at 48 minutes against 27. You are paying that to buy attribution from 0% to 81% on named requirements, so human judgement lands at the plan where it is cheapest. On a single-file fix or a throwaway prototype, skip it and let reasoning cover the gap.
Giant Swarm’s 2,100 pull requests a month and Akka’s 9.41 billion tokens are the proof that the cost and the saved review effort balance at scale.
Frequently Asked Questions
Is spec-driven development just waterfall or Big Design Up Front in disguise?
No. It is a per-change targeting decision, not upfront whole-project design. Staged delivery authors a governing artefact for a single ticket, then implements from it in a separate step. The targeting rule triages each change into full, light, or no spec, so it stays close to the code and avoids the waterfall trap of specifying everything before building anything.
What’s the difference between a spec, a prompt, and a checklist?
A prompt is inline text that shapes a single generation. A spec is a separate, versioned, reviewed artefact consumed by a later implementation step, which is what creates the checkable boundary. A checklist is the light-spec lane: a short set of acceptance criteria you can review in seconds. The delivery mode matters, because folding a spec into the prompt does not reproduce the staged effect.
How long should a spec actually be?
Length is not the point; being a governing artefact is. The Uvik benchmark’s median spec ran about 128 lines of Markdown, and BMAD reached 188 lines and 43.9% of ticket tokens. Aim for enough to make the acceptance criteria and constraints checkable, not for verbosity. A spec nobody reads is boilerplate, and the quality of the spec, not its size, is what separates leverage from a planning tax.
Do I need special tools or frameworks to do spec-driven delivery?
No. You can run it with plain Markdown, version control, and code review. Tools like GitHub Spec Kit, OpenSpec, Amazon Kiro, and BMAD operationalise the staged workflow and governance loop, but the essential step is writing the spec as a committed, reviewable artefact and implementing from it in a fresh generation step. Choose tooling only after the workflow has earned its keep.
Is spec-driven delivery worth it for a small team or a solo developer?
Yes, where the change warrants it. The targeting rule is per change, not per team size. A solo developer on regulated, long-lived, multi-file work still benefits from a full spec, because verification and auditability stay the binding constraint even with one person. On throwaway or single-file work, skip it regardless of headcount. The economics do not depend on how many people are on the team.
Does spec-driven delivery replace code review?
No. It relocates review earlier, to the plan, but it does not remove it. Giant Swarm moved review from the code diff to the plan, and most pull requests merged without a human reading the diff, yet the plan still passed through a review loop. Verification and drift review remain; they simply happen at the cheapest point, where human judgement catches problems before code is generated.
How do I know if my spec is actually paying off?
Measure the review bottleneck, not the word count. Track review time and whether human judgement moved earlier to the plan, watch pass rates and failed builds on spec’d versus unspec’d changes, and check attribution to named requirements. If review is faster at the plan and fewer defects reach the diff, the spec is displacing a larger verification cost. If not, it is a planning tax.
How often should I update a spec to stop it drifting from the code?
Update it whenever the behaviour it governs changes, and treat it as a source of truth rather than a snapshot. Spec rot is the recurring cost the first write hides, and it grows whenever the question ‘which file is the source of truth?’ becomes ambiguous. The three rigour levels carry different maintenance taxes, so match the level to the change’s lifespan and re-spec near the area of change before enforcing anything.
Won’t better AI models eventually make specs unnecessary?
Not for the changes where specs earn their keep. Specs move verification, coordination, and repeatability earlier, which is a workflow property rather than a model-capability gap. As models improve, more tasks become ‘easy’, reasoning already covers them, and you spec fewer of them. Hard, multi-constraint, auditable work still needs a governing artefact no matter how strong the model becomes.
How do I convince my team or manager to try spec-driven delivery?
Lead with the numbers, not the ideology. Pilot spec-driven delivery on high-risk, multi-file changes and measure review time, pass rates, and whether review moves earlier to the plan. Point to the production cases: Giant Swarm tripled pull request volume to more than 2,100 a month, and Akka ported 65 projects on 9.41 billion tokens. Frame it as a per-change targeting decision so it never reads as mandated ceremony.
What’s the difference between spec-driven development and test-driven development?
Test-driven development writes tests first to pin behaviour, then code. Spec-driven delivery writes a governing specification first, then implements from it, with contract-first test generation as a separate stage. They target different bottlenecks: TDD locks down behaviour, while the spec locks down intent, scope, and constraints before code exists. The +9.8 point contract-first test generation gain shows the two compound rather than compete.