Spec-driven development, in the agent sense.
Review the plan, not the pull request. The plan is a page; the pull request is a thousand lines.
Spec-driven development, in the context of coding agents, means producing an explicit specification of what is to be built, reviewing it, and only then letting the agent implement against it. The point is not documentation. It is that reviewing a specification is far cheaper than reviewing a large diff, and a misunderstanding caught in a paragraph costs a sentence to fix while the same misunderstanding caught in generated code costs a re-read of everything the agent wrote. The specification is a cheap checkpoint, not an artefact to keep.
Why the checkpoint is the value
An agent that misunderstands the task produces a large volume of coherent, plausible, wrong code. Reviewing that is genuinely hard work, because it is internally consistent and reads well. Reviewing a paragraph that says what it intends to do takes a minute and catches the same error before any of it exists. The economics are lopsided enough that the extra step pays for itself on the first miss.
Where it does not pay
For a small, well-understood change, writing a specification costs more than reading the diff. The approach earns its keep when the change is large, when it spans several files, or when the requirements are ambiguous enough that two reasonable people would build different things. Applying it to every change is how teams end up abandoning it.
A diagram is a specification too
A specification does not have to be prose. For structural work, an architecture diagram states the components and their relationships more precisely and much faster to check than the paragraphs describing the same thing. That is the whole argument for treating a drawn architecture as an input to implementation rather than as documentation produced afterwards.
How it relates to plan mode
Most serious agent harnesses ship a mode that explores and proposes without being able to write, which is the same idea enforced by tool gating rather than by discipline. It is stronger than a convention because it does not rely on anyone remembering: the agent cannot skip the specification step, because in that mode it has no writing tools at all.
Questions
Related
- What Is a Container Diagram?The most useful diagram most teams do not have, and the worst-named one in the field.
- What Is a System Context Diagram?One box for everything you own. The value is entirely in what surrounds it.
- What Is a Component Diagram?Useful for the one container that is genuinely complicated. Drawn far more often than that.
- What Is Agentic Coding?The difference is the feedback loop. An agent can find out it was wrong.
Last updated