Why Spec-Driven Development Feels Hard to Use in Practice
Spec-Driven Development (SDD) often sounds appealing but feels awkward once real work begins. This article explains why, from a general engineering perspective rather than a product-specific one: teams tend to mistake writing specs for writing long documents, and toolchains rarely turn specs into executable constraints. It covers what a spec actually is, why conversation-only development is efficient short term but costly long term, the four structural friction points that make SDD hard to use, and a practical five-step framework for getting started. It also outlines how enterprises regain predictability through auditability, reuse, and measurement, plus a checklist of common mistakes to avoid.
Lately, conversations with peers working on engineering delivery keep circling back to the same puzzle: Spec-Driven Development (SDD) sounds great in theory, so why does it feel awkward, even painful, in real use? Part of the answer is that we misread “writing specs” as “writing large documents.” Another part is that toolchains fail to turn specs into executable constraints. This article discusses no specific product. It takes a general engineering view and breaks the problem down piece by piece.
First, Align the Concept: A Spec Is Not a Document, It Is a Verifiable Source of Truth
In AI-assisted programming, a spec is a structured description of what to build, to what standard, and how completion is judged. At minimum, it answers four kinds of questions:
- Goals and scope: what problem this iteration solves, and explicitly what it does not;
- Constraints and interfaces: inputs and outputs, data formats, performance targets, compatibility requirements;
- Acceptance criteria: quantifiable, reproducible conditions for judgment;
- Change history: who changed what, when, and why.
If a “spec” cannot support automated validation, it is just prose. Many teams find SDD hard to use because they treat prose as a spec.
Why “Vibing It in Conversation” Is Efficient Short Term and Expensive Long Term
Describing requirements in great detail in natural language can indeed get an AI coding tool to produce usable code immediately. That is a win for individual productivity. But project-level predictability drops, for three reasons:
- No source of truth. Requirements are scattered across chat logs, impossible to search, compare, or regress against.
- Implicit requirements get lost. Boundary conditions, exception branches, and legacy compatibility logic often appear only once, in conversation.
- Generated results are not reproducible. The same prompt can yield different implementations at different times, leaving reviews and accountability without a basis.
The result: time saved early gets eaten back later by debugging, refactoring, and realigning understanding. For an individual, that means rework. For a team, it means scope creep and delivery risk.
Where the Real Difficulty Comes From: Four Structural Friction Points
1. Granularity Mismatch
Write the spec too coarsely and the AI has to guess; write it too finely and maintenance costs outweigh the benefits. A reasonable approach is to layer it: one layer of stable goals and constraints, one layer of a changeable task list, and one layer of executable acceptance cases.
2. No Single Source of Truth
When specs, tasks, code, and tests each live in their own place, drift is inevitable. Tasks and acceptance criteria should be derived from the spec, and every code change must reference a task ID, forming a traceable chain.
3. No Closed-Loop Validation
Generating without validating hands all judgment to the model. A minimal closed loop should include four stages: static checks, unit tests, contract tests, and human review.
4. One-Time Rewrite Instead of Incremental Evolution
Trying to write all the specs at once usually leads to giving up by day three. Specs should be committed and revised in small steps, like code.
A Practical Framework You Can Actually Apply
Below is a general, tool-agnostic workflow that maps directly onto any AI coding tool or in-house platform.
Step 1: Build the Spec Skeleton
Start with a minimal structure and make sure it is “judgeable” first.
# Capability: Order Query API## GoalReturn a single order summary within 200ms.## ScopeExcludes refunds and bulk export.## Constraints- Input: order_id (string, required)- Output: status, amount, updated_at- Compatibility: keep legacy fields for 30 days## Acceptance- A valid query returns 200 with all fields present- A missing order returns 404 with a stable error code- P95 latency below 200ms (load test script attached)
Step 2: Derive Tasks from the Spec
Each task item must reference a spec section, for example “implement the 404 branch (see §Acceptance-2).” That way any code change can be traced back to its requirement.
Step 3: Turn Acceptance into Executable Assets
Write acceptance criteria as tests or scripts, not adjectives. “Good performance” becomes a load-test threshold; “controlled errors” becomes a list of error codes.
Step 4: Generate in Small Steps, Validate Immediately
Have the AI handle one task item at a time, then run static checks and tests right after generation. If it fails, go back to the conversation with the error output rather than re-describing all the requirements.
Step 5: Converge the Spec Regularly
At the end of each iteration, write back to the spec: add new constraints, retire obsolete items, update acceptance criteria. A spec’s vitality comes from revision frequency, not initial completeness.
The Enterprise View: How Predictability Gets Rebuilt
For enterprise users, the value is not “writing less code” but three kinds of governability:
- Auditable: requirements, tasks, commits, and tests form a chain, so changes are traceable;
- Reusable: specs accumulate as organizational assets, so new projects do not start from scratch in conversation;
- Measurable: process health is tracked by rework rate, acceptance pass rate, and change rollback rate.
If cloud infrastructure is already in place, specs and tasks can live in general-purpose services: object storage for versioned documents, a message queue to decouple task distribution, a container platform to run validation pipelines, and logging plus monitoring and alerting to track execution quality. These are common industry capabilities and do not point to any particular vendor.
A Checklist of Common Mistakes
- Treating the spec as a deliverable rather than an engineering constraint;
- Chasing completeness in one pass and neglecting incremental revision;
- Leaving acceptance criteria at the level of adjectives;
- Maintaining the same fact across multiple parallel sources;
- Focusing only on generation speed without tracking rework cost.
Conclusion
Spec-Driven Development is not inherently hard to use. It becomes hard when it is treated as an extra writing burden. Hold to five principles — specs are judgeable, the source is single, tasks are derivable, changes are verifiable, and evolution is incremental — and AI-assisted development can move from random conversation to stable delivery. What truly needs investment is not longer prompts, but clearer engineering contracts.
