• 10 min read

Spec-Driven Development in 2026: AI Beyond Code Generation

tl;dr

Spec-driven development wins over raw code generation because AI speed hides review and security debt. METR found developers took 19% longer with AI tools despite feeling 20% faster, and Veracode found 45% of samples introduced OWASP Top 10 vulnerabilities.

Featured image for "Spec-Driven Development in 2026: AI Beyond Code Generation"

The industry spent two years optimizing how fast agents write code. The hard part was never typing — it’s knowing whether what came back is correct, secure, and consistent with the rest of the system. A randomized controlled trial from METR found that experienced open-source developers took 19% longer to complete real tasks in their own mature repositories when AI tools were allowed, even though those developers estimated afterward that they had been sped up by 20%. The durable finding is the perception gap: teams misjudge their AI-assisted throughput because the cost surfaces later, in review, integration, and rework.

What’s driving the shift from code generation to spec governance?

Every major AI coding vendor now claims a spec mode. Some write requirements before code. Some plan in chat. A few run the whole delivery line. The difference decides how much you still check by hand. In Sonar’s 2026 State of Code survey of more than 1,100 developers, 96% said they do not fully trust AI-generated code, and 38% said reviewing it takes more effort than reviewing a colleague’s code. Much of what reviewers catch isn’t bad code — it’s code that does the wrong thing well. The agent built exactly what the prompt said. The prompt was not what the business meant.

This is why spec-driven development has become the most discussed shift in agentic engineering this year. GitHub Spec Kit has passed 100,000 stars on GitHub, and Kiro became generally available in May 2026 according to Sydla. But writing the spec is the easy half. The tools differ on what happens next: who can read the spec, who pays when the agent works through it, and whether anyone checks the result against it. A spec only the agent reads is a long prompt. A spec the product manager, the designer, and the reviewer all read is a contract.

Veracode’s evaluation of more than 100 models across 80 curated tasks found that 45% of generated samples introduced an OWASP Top 10 vulnerability. Generation quality improved over the study period; security did not. None of these are model defects you can prompt your way out of. They are specification defects — ambiguous requirements, missing cross-cutting invariants, unverified assumptions that compile and pass review but leak data in production.

How do the major spec-driven tools compare on pricing and approach?

The market has settled into three broad categories. Kiro keeps specs inside its IDE and bills each spec task in credits. GitHub Spec Kit keeps them as markdown in the repository, free and agent-agnostic. Tessl makes the spec own the code it generates. Each approach carries different tradeoffs for team size, compliance needs, and existing tooling.

ToolSpec artifactApproval before codePricing (Nov 2026)
Kirorequirements.md, design.md, tasks.md per featureEach phase completed before the nextFree (50 credits/mo); Pro $20/user/mo
GitHub Spec KitSpec, plan, task markdown files in repoYou review each phase before moving onFree, MIT license
Zencoder (Zenflow)Spec-driven workflows for features, bugs, refactorsApproval gates listedPro —/user/mo (annual)
Claude CodePlans in CLAUDE.md, no enforced specNone enforcedIncluded in Claude Pro $17/mo billed annually ( $20 monthly)

Kiro generates three spec files before coding — requirements.md, design.md, and tasks.md — and requires each phase to complete before the next begins, per Devfab’s comparison. For well-understood features, Quick Spec writes all three files with no approval gates. GitHub Spec Kit version 1.0 shipped in August 2026 as an open-source toolkit that adds templates and slash commands to your repository, according to Sydla; your agent walks through them, and the specs are markdown files reviewed in pull requests like any other code. Zencoder’s Zenflow lists approval gates but runs in its own desktop and IDE environment. Claude Code gives you a fast agent in the terminal and trusts you to bring the plan — no enforced spec, no approval gate, just CLAUDE.md files for project instructions.

That’s before credit overages, which reviewers describe as “a moving target” because credits vary by model and task size, and spec sessions run “token-hungry,” according to Kiro alternatives research. GitHub Spec Kit costs zero in licensing, but approval and drift prevention are entirely up to you — nothing in the toolkit says who has to agree to a spec before the agent starts, and nothing checks the code against the spec after the first build.

Where does the spec live, and who approves it?

The location of the spec determines who can read it, who pays for it, and whether it survives the session that wrote it. Kiro keeps requirements, design, and tasks in the IDE project, billed in credits. GitHub Spec Kit writes markdown files in your repo under specs/NNN-feature/, where your product manager and designer rarely look. Tessl’s spec registry owns the code it generates. CrewPE locks the spec in a thread by a named person. Entalpa serves one spec of the whole system over MCP to any agent.

This fragmentation creates a real problem. The real requirements still start in Jira, the context sits in Confluence or Notion, the screens live in Figma, the flow on a Miro board, and the launch visual in Canva. So a feature crosses six tools before the agent sees it, each with its own AI meter, and the spec the agent writes becomes a seventh copy nobody else reviews. That’s AI credit fatigue with an extra document.

Figma opened Specs public beta on November 22, 2026, combining requirements docs, FigJam, design files, and code-layer context into a single implementation plan for agents. The idea is to turn design handoff into a human-reviewed spec that reduces gaps caused by scattered context in coding agents. Product and engineering teams can treat the spec as a shared interface between agents and people, though standard code review and testing are still required.

For teams where the business has to sign off what gets built, nTra’s yardstick lists “get it approved” as a core requirement before code starts — a person who owns the outcome says yes. EasySpecs marks unresolved spec items as blocked rather than letting them pass quietly. Kiro requires each phase completed before the next. But GitHub Spec Kit, the most widely adopted tool, leaves approval entirely to your process. The spec is a file, so nothing stops the code from drifting away from it after the first build.

Can agents be trusted to verify their own work?

The short answer: they can’t. Veracode’s 45% vulnerability rate and Sonar’s 96% distrust figure make that clear. The industry is responding with independent verification layers that don’t share context with the generating agent.

Anthropic launched Claude Ship on November 23, 2026, an AI agent suite for code review, fixes, and automated approvals, rolling out to Claude Team and Enterprise plans, as reported by TechCrunch. It includes PR Steward for addressing failing CI checks and merge conflicts, and Claude Approvals which applies an approval policy the team writes as a file in the repository. The approval process can incorporate Code Review findings or the company’s own classifiers, with policies written in natural language. Anthropic suggests running the approval functionality in observe-only mode first.

Google open-sourced the Elephant-Goldfish Model plugin on November 8, 2026, a design-and-review layer that makes agents write a specification before code, per MarkTechPost. Fresh subagents with no conversation history then attack that spec. The Elephant holds project context and earlier decisions; it drafts the spec and writes no code. Each Goldfish is a stateless subagent that reads only the draft and the files it references. The core loop has three commands: brainstorm, draft, and review — with a five-stage Goldfish review that includes comprehension tests, critic review, and intermediate zoom-outs. Google says thousands of its engineers use it. The method catches wrong assumptions in a markdown file, not in a pull request.

Tessl reports its platform cut cost per PR from $75 to $13, with 80% of weekly pull requests requiring no human hand-editing. The platform connects ticket implementation, code review, and vulnerability remediation through reusable “skills” and repeatable “loops” with verification and feedback steps. Three ready-to-configure workflows ship at launch: Ticket to PR, Code Review, and Vulnerability Remediation using scanners including Snyk.

OpenAI reported that after its Symphony orchestration spec on April 27, 2026, internal teams saw merged pull requests rise sixfold in the first three weeks, with engineers able to supervise only three to five parallel Codex sessions before context switching erased gains, according to EasySpecs. The bottleneck moved from generation to human attention — the system could produce code faster than people could review it.

What happens when specs meet real team workflows?

Amazon Q Developer reaches end of support on April 30, 2027, and AWS is directing its users to Kiro, per Kiro alternatives research. Many teams want to compare before they move, especially given Kiro’s AWS-shaped admin requirements — Enterprise requires AWS IAM Identity Center or an external IdP, and the new Enterprise Management preview is limited to new profiles in US East (N. Virginia).

The credit model creates budgeting uncertainty. A spec task typically costs more than a simple prompt, and premium models use credits faster than Auto routing. One 2026 review found spec sessions “token-hungry” and called pricing “a moving target,” according to Kiro alternatives research. For a one-line bug fix, the ceremony is wrong — reviewers call full spec ceremony inappropriate for small changes. Kiro’s Quick Spec addresses this by writing all three files in one pass with no approval gates, but that defeats the purpose of spec-driven rigor for the work that needs it most.

Microsoft describes the spec as connective tissue across the lifecycle — linking business intent to architecture, implementation, tests, and validation so that AI-generated output stays grounded in the same context. But Entalpa ranks tools by whether there is one current spec of the whole system, and most tools produce per-feature documents that get archived. Kiro produces per-feature requirements, design, and tasks files. Sydla notes the agent’s spec becomes a seventh copy nobody else reviews alongside Jira, Confluence, Figma, and Miro, per Sydla.

The tension is real: specs must be lightweight enough for small changes but rigorous enough to prevent wrong assumptions. Kiro’s Quick Spec writes all three files with no approval gates for well-understood features, and reviewers call full spec ceremony wrong for one-line bug fixes. But nTra states a person who owns the outcome must say yes before code starts, and EasySpecs marks unresolved spec items as blocked rather than letting them pass quietly. You can’t have both in the same tool without explicit configuration.

How should you choose a spec-driven approach for your team?

Start with your constraints, not the vendor’s demo. If you’re a founder with one to three strong developers building a first version, Claude Code’s $20 Pro plan is enough to find out if it suits you — it’s the faster agent and trusts you to bring the discipline. If your company runs on AWS, sells to buyers who will ask who approved each change, or has a product manager and compliance owner who need to sign off on a feature before code exists, Kiro’s spec-first IDE and audit trail fit the requirement.

For teams that want a free, open workflow around the agent they already use, GitHub Spec Kit is the starting point. It works with about 30 coding agents, and the specs are markdown files reviewed in pull requests. The limits: it’s heavy for small changes, and nothing in it enforces approval or drift detection. You’ll need to build those gates yourself — or layer on a tool like EasySpecs for spec review with oracles and rubrics.

If you’re delegating at scale and need measurable confidence, Tessl’s platform cuts cost per PR from $75 to $13 with verification built in, and 80% of weekly PRs need no human hand-editing. But it’s a platform bet, not a tool you drop into an existing workflow. Google’s Elephant-Goldfish plugin is free and runs on any harness that can spawn fresh subagents — Codex, Claude Code, ChatGPT — but it’s heavy on token use and the isolation guarantees are unverified on some hosts.

The pattern I’ve observed — call it spec survival — is that spec creation is solved; spec survival is not. Every major tool now writes requirements before code, but few enforce that the spec stays current, is approved by someone accountable, or is independently verified against the shipped code. The bottleneck has moved from generating code to governing the intent behind it.

Teams should stop buying spec tools that generate documents and start buying spec systems that enforce contracts. If the agent can silently edit the spec, nobody approves it before code, and nothing checks the shipped code against it, spec-driven development is just expensive prompt engineering with extra filing.

What’s your team’s actual bottleneck — generation speed, review throughput, or compliance evidence? The answer decides whether you need a faster agent, an independent verifier, or an audit trail.