Spec-Driven Development & requirements management: the blueprint before the code
For product managers and product leaders who want to define requirements so precisely that humans and AI agents implement them without follow-up questions – with versioned specs instead of ticket administration.
Spec-driven development (SDD) is the methodology in which a structured, versioned specification serves as the single source of truth – for humans and for AI agents. Before a single line of code exists, requirements, constraints, acceptance criteria and edge cases are agreed in writing. Requirements management thus stops being an administrative chore and becomes the core work of product management: code loses its role as the primary means of communication, and the spec takes over.
The reason is economic. Coding agents have massively increased the speed of software delivery – but speed alone guarantees no better outcomes. The real challenge is keeping requirements, design, implementation and validation in sync so the end product matches the business intent. That synchronisation is exactly what the spec delivers.
This pillar explains the paradigm shift from ad-hoc prompting to systematic specification: the line against vibe coding, the three maturity levels of SDD, the impact & feasibility matrix for prioritisation, the PRD as a living artefact in the repository, and the BMAD method as a frame from idea to production.
Vibe coding vs spec-driven development
Vibe coding – software via natural language and iterative prompt trial and error – has its place: prototypes, demos, throwaway tools. In scaling production systems the approach breaks down in two places. Intent drift: after dozens of prompts the result no longer matches the original intent, and nobody can reconstruct where it was lost. Context decay: the chat history serving as the only “documentation” is worthless in the next session.
Spec-driven development counters this with a contract: a versioned specification agreed before an agent is commissioned, connecting business intent with architecture, implementation and tests across the whole lifecycle. What that division of labour looks like in practice – discovery human, execution against the spec – is documented in the deep dive “Discovery stays human, execution becomes the spec”, with evidence from METR, GitClear and DORA.
The comparison below summarises the differences – and makes clear why the choice is not a matter of style but of the kind of system you are building.
| Criterion | Vibe coding | Spec-driven development |
|---|---|---|
| Best fit | Prototypes, demos, throwaway tools | Scalable production systems |
| Source of truth | Chat history and tribal knowledge | Versioned spec in the repository |
| Consistency | Intent drift after a few iterations | The spec keeps intent stable across sessions |
| Review focus | Generated code, line by line | Business intent in the specification |
| Changes | New prompt, new guessing | Updated spec, reproducible build |
| Traceability | None – decisions vanish into the history | Audit trail from requirement to code |
The three maturity levels of spec-driven development
SDD is not all-or-nothing. At the first maturity level, a considered specification is written before each task and used for exactly that task. At the second level the spec persists after completion – as an anchor for maintenance, onboarding and the next iteration. At the third level the specification is the only source file humans still edit: the human changes the spec, the machine manages the source code.
For most teams in the DACH mid-market, level two is the realistic target: long-lived, reviewable specs versioned alongside the code. Level three assumes a discipline and tooling maturity that few organisations reach in 2026 – it works as a direction, not as a starting point.
From wish list to qualified roadmap
Traditionally, features get prioritised by gut feeling or political pressure, without systematically assessing effort and risk. The result is a wish list, not a strategy. The impact & feasibility matrix replaces that with a simple discipline: every feature is scored by measurable business value, expected implementation effort and technical as well as regulatory risk – before resources are released.
AI initiatives add a peculiarity: effort and outcome correlate less predictably than with deterministic features. Scoring models like RICE help, but must be adapted to this uncertainty – for instance with confidence discounts for experimental initiatives. How deterministic commitments and probabilistic bets come together in one plan is covered in “The AI roadmap: features and GenAI initiatives in one plan”.
The PRD as a living artefact in the repository
A PRD ageing in a slide deck is invisible to AI agents. That is why product requirements documents move into the repository: versioned alongside the code, accessible to AI editors such as Cursor or Claude Code in every session. Persistent context files like CLAUDE.md replace the manual briefing – they define product terminology, user journeys and architectural guardrails once, instead of repeating them in every prompt.
The strongest PRD is code-anchored: it references actual components of the codebase instead of abstract descriptions. The prerequisite is a shared language for epics, stories, cycles and acceptance criteria – the “Product management glossary: Jira & Linear terms explained” pins it down, for humans and for the answer engines that will one day quote your specifications.
The BMAD method: structure from idea to production
The BMAD method structures the path from idea to production into clearly separated steps – from analysis through requirements and architecture to delivery. Each step produces a versioned artefact and hands over to the next: brainstorming becomes a PRD, the PRD becomes an architecture, the architecture becomes executable stories. With Git versioning this creates an audit trail showing who decided what, when and why.
For regulated environments this trail is precisely the point: code provenance becomes demonstrable instead of vanishing into chat histories. BMAD does not replace coding tools – it orchestrates them. The spec remains the contract every handover is measured against.
Spec review instead of code review
When agents write the code, review moves forward. Instead of hunting for bugs in generated code, the team reviews the business intent in the specification: are the acceptance criteria complete? Are the edge cases named? Does a requirement contradict an existing business rule? A defect found in the spec costs minutes – the same defect in shipped code costs a rollback.
Product evolution follows the same logic: changes happen by updating the specification, not through new ad-hoc prompts. That makes the system reproducible and iterable – and prevents architectural decisions from getting lost in e-mail threads, or agents' unspoken assumptions from producing faulty code.
Where define ends and build begins
The define phase delivers the blueprint: long-lived, reviewable objects such as specifications, architecture plans and the qualified roadmap. What it does not deliver is software. The build phase picks up the blueprint and transforms it into reviewed, shipped code via ticket structures and agentic engineering.
Drawing this line deliberately is the chapter's most important move: the spec is agreed before the agent builds – the gate. It costs no speed, it prevents rework. The METR, GitClear and DORA data from the division-of-labour deep dive show that unstructured AI use measurably slows teams down and lowers code quality.
The deep dives in this pillar
Each cluster answers one search intent – with a focus keyword and a clear content promise. Published, or transparently in progress.
Discovery stays human, execution becomes the spec
The division of labour between PM and agent in brownfield – with evidence from METR, GitClear, DORA and Anthropic.
Read post Focus: AI product roadmap softwareThe AI roadmap: features and GenAI initiatives in one plan
Two-lane roadmap, RICE scoring and code reality as the corrective – commitments and bets in one plan.
Read post Focus: product management glossary Jira LinearA shared language: the PM glossary for Jira & Linear
Work units, planning, metrics – the vocabulary your specs and tickets are steered with.
Read postFrequently asked questions
What is spec-driven development?
Spec-driven development is a development methodology in which a structured, versioned specification serves as the single source of truth. Requirements, constraints, acceptance criteria and edge cases are agreed before code exists; AI agents then build against this spec instead of vague prompts. Product changes happen by updating the specification.
How does spec-driven development differ from vibe coding?
Vibe coding works with natural language and iterative trial and error – fine for prototypes, but in production systems it fails on intent drift and context decay. SDD agrees the intent in writing up front and keeps it stable across sessions, releases and team changes. The difference is not style but traceability.
Does the spec replace classic requirements management?
It is requirements management – in machine-readable form. What used to be scattered across requirement tomes and ticket fields becomes a versioned source that humans and agents read alike. What is new is not the discipline but its addressee: the spec is executed by software, not just interpreted by people.
What belongs in a spec for AI agents?
The goal and its why, the requirements, explicit constraints, measurable acceptance criteria and the known edge cases – code-anchored wherever possible. Plus the non-negotiable guardrails: architecture principles, security rules, regulatory obligations. Short enough to be maintained; precise enough that an agent doesn't guess.
What is the BMAD method?
A framework that structures the path from idea to production into separate steps with versioned artefacts – analysis, requirements, architecture, delivery. Every handover is documented; with Git this creates an audit trail. That makes BMAD particularly relevant for regulated environments where code provenance must be demonstrable.
Next phase in the cycle
The spec is the blueprint – the building happens in the next phase. There, ticket structures, sprints and guardrails translate the specification into reviewed software: agile development for teams whose most autonomous member is a coding agent.
Phase 03 · Build – Agile Software Development & Agentic AI Execution


No new piece without you.
New articles, new interactive tools, new evidence – in your inbox first. And when you reply, we reply: you write directly with the authors, not with a no-reply.
No spam, no sharing, unsubscribe any time.
Ready to put a define gate in front of your agents?
Start a demo – Teklens connects specs, Jira and code into the planning software that knows your business.
No sales rep. A founder replies directly.