AI can write code in minutes. Getting it to write the right code is a product problem, and the spec is where it gets solved.
Two years ago, the hard part of building software was writing the code. Today, an AI coding agent can produce a working feature before your stand-up finishes. The hard part has moved upstream, to deciding exactly what should be built and writing it down clearly enough that a machine cannot misread it.
That shift has a name: spec-driven development (SDD). GitHub’s open-source Spec Kit, which turns specifications into plans and tasks for AI agents, shipped version 1.0 in August 2026 and now sits at roughly 133,000 GitHub stars (GitHub). AWS went further and rebuilt its coding assistant around the idea, retiring Amazon Q Developer in favour of Kiro, an environment built for spec-driven work (AWS).
If you lead a product, this matters more to you than to your engineers. Here is why.
Why “Just Prompt It” Stopped Working
The first wave of AI coding was conversational. You described what you wanted, the model wrote something, and you kept nudging it until it looked right. Andrej Karpathy called this “vibe coding”, and for prototypes it works well.
For production software, the numbers tell a different story.

In a randomised controlled trial, METR asked 16 experienced open-source developers to work on real issues in codebases they knew well. Before starting, they expected AI to make them 24% faster. Afterwards, they believed it had made them 20% faster. The measured result: tasks took 19% longer with AI. Developers accepted less than half of what the AI suggested and spent a noticeable share of their time cleaning up its output (Business Insider).
Google’s 2025 DORA report found the same pattern at scale. AI use among software professionals reached 90%, yet around 30% of developers trust its output only “a little” or “not at all” (TechRepublic). DORA’s headline conclusion is that AI acts as an amplifier: teams with strong practices get faster, and teams without them mostly ship their existing problems more quickly (DORA / Google Cloud).
Thoughtworks gave the underlying problem a name in its April 2026 Technology Radar: cognitive debt. As AI generates more code, the gap widens between what the software does and what the team actually understands about it (Thoughtworks). Technical debt lives in the code. Cognitive debt lives in people’s heads, and it is harder to pay back.
The common thread is context. An agent working from a chat thread does not know your users, your constraints, or the decision you made three sprints ago. It guesses, confidently.
What Spec-Driven Development Actually Is
Spec-driven development flips the order of work. Instead of prompting first and correcting later, the team writes a structured specification, and the AI works from that.

A useful way to think about it: in the old model, the spec was scaffolding you threw away once the “real” work started. In SDD, the spec is the real work, and code becomes something you can regenerate from it.
Most SDD workflows follow the same broad sequence:
- Principles. Project-wide rules the agent must always follow: tech stack, security standards, testing expectations. Spec Kit calls this a “constitution”.
- Specify. What you are building and why, written as user journeys, acceptance criteria, and explicit non-goals.
- Plan. The technical approach: architecture, data model, integrations.
- Tasks. The plan broken into small, testable units an agent can complete in one go.
- Implement and verify. The agent builds each task, and the output is checked against the spec, not against someone’s memory of a meeting.
Birgitta Böckeler of Thoughtworks describes three levels of commitment, and they are a practical way to decide how far your team should go (martinfowler.com):
| Level | What it means | Good fit for |
|---|---|---|
| Spec-first | Write a spec before each AI task, then work mainly in the code | Most teams starting out |
| Spec-anchored | Keep the spec alive and update it alongside the code as the product changes | Products with long lifespans or audit needs |
| Spec-as-source | The spec is the maintained artefact, and code is regenerated from it | Early, experimental, and still largely unproven |
The Tools Behind the Trend
The tooling has matured quickly over the past year. Here is how the main options compare.
| Tool | Backed by | Approach | Best for |
|---|---|---|---|
| GitHub Spec Kit | GitHub (open source, MIT) | Slash-command workflow that plugs into 30+ coding agents, including Copilot, Claude Code, Cursor, and Gemini CLI | Teams that want SDD without changing their editor |
| Kiro | AWS | A full IDE and CLI built around specs, hooks, and steering files | Teams already on AWS, and those leaving Amazon Q Developer before its April 2027 end of support |
| BMAD Method | Open-source community | Role-based AI agents (analyst, PM, architect, developer, QA) that produce briefs, PRDs, and stories | Product-heavy work where planning artefacts matter as much as code |
| Tessl | Tessl | Pushing towards spec-as-source, with a registry of reusable specs | Teams experimenting at the frontier |
| OpenSpec | Open source | A lighter, change-by-change spec layer | Existing codebases and smaller teams |
We covered BMAD in depth in our simple guide to the BMad Method. It is one interpretation of the same idea: give the AI structured context before it writes a line of code.
A word of caution on choosing. Thoughtworks’ earlier assessment noted that these tools behave very differently depending on the size of the task, and some generate spec files so long that nobody reviews them properly (Thoughtworks Technology Radar). A spec nobody reads is no better than no spec.
What This Changes for Product Teams
Here is the part most coverage misses. Spec-driven development is usually discussed as an engineering practice, but the most valuable input is a product input.
When an agent can implement a well-defined task in minutes, the quality of the definition becomes the bottleneck. Ambiguity that a senior engineer would have quietly resolved in their head now turns into wrong code, shipped fast. That puts the product manager, the founder, or whoever owns the “why” in the most leveraged seat on the team.
In practice, a spec that works for AI agents looks a lot like a very good PRD, with a few additions:
- The problem and the user. Who this is for and what they are trying to get done, in plain language.
- Acceptance criteria that can be tested. “Users can reset their password” is a wish. “A reset link expires after 30 minutes and can be used once” is a spec.
- Non-goals. What you are deliberately not building. Agents will happily add features nobody asked for.
- Constraints. Regulations, performance budgets, approved libraries, data that must never leave a region.
- Success and counter-metrics. What good looks like, and what you must not make worse along the way.
None of this is new. Good product teams have always worked this way. The difference is that the payoff for doing it well, and the cost of skipping it, have both multiplied.
How It Plays Out Across Industries
The principle is the same everywhere, but what goes into the spec changes with the domain. The more regulated or physical the industry, the more a written spec protects you.
| Industry | What must be in the spec | Why it matters with AI agents |
|---|---|---|
| Fintech and banking | Transaction rules, audit trails, KYC steps, rounding and currency logic | An agent that “improves” a calculation can create a compliance breach no reviewer spots |
| Healthtech | Consent flows, data residency, EHR integration standards, clinical safety limits | Specs double as evidence for regulators and for clinical safety reviews |
| Agriculture and agritech | Sensor thresholds, offline-first behaviour for patchy rural connectivity, local units and languages | Edge cases from the field rarely appear in an agent’s training data |
| Logistics and supply chain | Integration contracts with carriers and ERPs, exception handling, SLAs | Most failures happen at system boundaries, which is exactly what a spec pins down |
| Retail and e-commerce | Pricing and promotion rules, inventory sync, checkout edge cases | Small logic errors scale instantly across every order |
For a startup, SDD is mostly about speed without chaos: a small team can direct several agents in parallel because the spec, not a person, holds the context. For an enterprise, it is about governance. A versioned trail from requirement to code to test is what auditors and security teams increasingly ask for, and AI-assisted delivery makes that trail harder to produce unless you design for it.
Where It Goes Wrong
SDD is not free, and it is not right for every piece of work.
- Overhead on small changes. Writing a full spec for a one-line fix is waste. Keep a lightweight path for small jobs.
- Specs that go stale. A spec that no longer matches the product creates false confidence. Updating the spec has to be part of the definition of done.
- Specs nobody can review. If the generated spec runs to dozens of pages, the human checkpoint stops working. Shorter, per-feature specs are easier to review well.
- Treating the tool as the method. Installing Spec Kit or Kiro does not give you good specs. People do.
Getting Started: A 30-Day Pilot
You do not need to overhaul your process to find out whether this works for your team.
Week 1: Pick the right feature
- Choose one real feature of medium size: big enough to need planning, small enough to finish in a sprint
- Avoid your most critical system for the first attempt
- Agree up front on what you will measure, for example rework, review time, and defects found after release
Week 2: Write the principles and the spec
- Have the product owner draft the spec, with an engineer reviewing for feasibility
- Write down the project principles once, so every future spec inherits them
- Keep it short enough that the whole team actually reads it
Week 3: Plan, break down, and build
- Use one tool consistently. Spec Kit is the easiest place to start because it works with most agents
- Review the generated plan and task list before any code is written. This is where most of the value sits
- Let the agent implement, and review the output against the acceptance criteria
Week 4: Compare and decide
- Compare rework and review time with a similar feature built the old way
- Note where the spec was unclear, and fix the template rather than the individual spec
- Decide whether to extend, adjust, or stop
How DevLabs by AngelHack Can Help
At DevLabs by AngelHack, our product and engineering teams use spec-driven, AI-assisted workflows every day, from BMAD-style planning on day one through to agent-assisted implementation and review. We have written about how we did it in our Becoming AI Native series.
We work with startups building their first product and with established companies bringing AI into existing platforms. Whether you need help writing specs your agents can act on, piloting a spec-driven workflow with your team, or a full team to take a product from concept to production, we can get you there.
Ready to explore what this looks like for your team?
Get in touch with DevLabs by AngelHack.
Book a Free ConsultationConclusion
AI has made code cheap. It has not made clarity cheap. The teams getting real value from AI coding agents in 2026 are not the ones with the most tools. They are the ones who decide carefully what to build, write it down properly, and hold the output to that standard.
That is why spec-driven development is quietly becoming a product discipline as much as an engineering one. The spec is where intent lives, and in a world where agents do more of the building, intent is the thing worth protecting.
FAQ
1. What is spec-driven development in simple terms?
It is a way of building software with AI where you write a clear, structured description of what you want before any code is generated. The AI then plans and builds from that description, and the result is checked against it.
2. How is it different from vibe coding?
Vibe coding means describing a goal in chat and accepting whatever the AI produces, then iterating. It is fast for prototypes. Spec-driven development adds a written, reviewable spec in between, which makes the output more predictable and easier to maintain.
3. Do I need to be technical to write a spec?
No. The most important parts, the problem, the user, the acceptance criteria, and the non-goals, are product decisions. An engineer should review the technical plan, but the product owner should own the spec.
4. Which tool should we start with?
GitHub Spec Kit is the easiest starting point because it is free and works with most popular coding agents. Teams on AWS should look at Kiro, especially if they currently use Amazon Q Developer. If planning documents matter as much as code, the BMAD Method is worth a look.
5. Is spec-driven development worth it for a small startup?
Usually, yes, at the spec-first level. A light spec per feature costs an hour or two and can save days of rework. Skip it for tiny fixes and experiments you plan to throw away.
References and Further Reading
- METR, Measuring the Impact of Early-2025 AI on Experienced Open-Source Developer Productivity. metr.org
- Google Cloud / DORA, 2025 State of AI-assisted Software Development. cloud.google.com
- Thoughtworks, Technology Radar Vol. 34 announcement on cognitive debt. thoughtworks.com
- Thoughtworks Technology Radar, Spec-driven development. thoughtworks.com
- Birgitta Böckeler, Understanding Spec-Driven-Development: Kiro, spec-kit, and Tessl. martinfowler.com
- GitHub, Spec Kit releases. github.com
- AWS, Amazon Q Developer end-of-support announcement. aws.amazon.com
- TechRepublic, Google DORA Research: Software Developers Use AI “Heavily”. techrepublic.com


