AI writes code faster. Specifications are now the bottleneck

Published 7 min read By

AI coding assistants have made writing code much faster, but they have not made it faster to decide what the software should do. In my day-to-day work, the time saved on typing has moved to specification and verification: when the spec is vague, the assistant fills the gaps with plausible assumptions and builds the wrong thing quickly. This article covers what AI actually speeds up, what it does not, what a specification needs to contain now, and a checklist to run before any code is generated.

What AI actually speeds up

AI speeds up work where the expected result is easy to describe and easy to check, such as boilerplate, tests, refactors, prototypes and documentation.

I use AI assistants every day, and on this kind of work the gains are real:

Work Effect of AI Why
Boilerplate: forms, data entry screens, API clients Much faster The patterns are common and the result is easy to check
Unit tests for a clearly stated rule Much faster A rule plus an example translates directly into test cases
Refactors and framework upgrades Faster, with good test coverage The work is mechanical but touches many files
Prototypes and demos Much faster The quality bar is low and the code will be thrown away
Documentation of existing code Faster The assistant describes what is already there

The common thread: someone already knows what "correct" looks like. The assistant produces a draft, a person checks it against a known target, and the loop is short.

What AI does not speed up

AI does not speed up understanding the business process, deciding what to build, defining edge cases and the data model, agreeing on acceptance criteria, verifying, integrating with real systems or deploying.

Work Effect of AI Why
Understanding the business process Little or none The knowledge sits in people's heads and in exceptions nobody wrote down
Deciding what to build and what to leave out None It is a trade-off between value, cost and risk that only the business can make
Edge cases and business rules Risky The assistant proposes rules that sound reasonable and may be wrong for you
Data model Little Getting it right depends on definitions such as "what is a customer?"
Acceptance criteria Can draft, cannot decide Someone has to confirm what "done" means
Verification, integration and deployment Little, sometimes negative More code arrives to verify, and real systems have undocumented quirks

Measured results are more nuanced than the marketing. In a randomized study published by METR in July 2025, 16 experienced open-source developers worked on 246 real tasks and took 19% longer on those where AI tools were allowed, while still believing afterwards that AI had made them about 20% faster. METR has since flagged that result as out of date for current tools, so do not read it as "AI makes developers slower". Read it as a reminder that perceived speed and delivered speed are different things.

The 2025 DORA report from Google Cloud points the same way at team level: 90% of respondents use AI at work, and AI adoption now has a positive relationship with delivery throughput, but it still has a negative relationship with delivery stability. The report's own summary: "AI doesn't fix a team; it amplifies what's already there."

Why a precise specification matters more with AI

A precise specification matters more with AI because an assistant rarely says "I don't know": when the spec has a gap, it fills it with a plausible assumption and builds on top of it.

Take a one-line requirement: "Customers can cancel an order." An assistant will happily add a cancel button and set the status to "cancelled". It will not ask the questions a careful developer would raise in a scoping workshop:

  • Until when can an order be cancelled: before payment, before shipping, within 14 days?
  • Can a customer cancel part of an order?
  • Is the refund automatic, or does someone approve it?
  • Does the stock go back up, and in which warehouse?
  • Who gets notified, and does accounting need a credit note?

Each unanswered question gets a default that looks fine in a demo and is wrong for your business. The cost of a wrong assumption is no longer the time to write the code, which is now small. It is the time it takes to notice the mistake, the data created in the meantime and the features built on top of it. Garbage in, garbage out, only faster.

What a good specification contains in the AI era

A good AI-era specification contains the same things as before, written precisely enough to be checked: user stories with acceptance criteria, a data model, business rules, worked examples and non-goals.

  1. User stories with acceptance criteria. "As a customer, I want to cancel an order so that I am not charged for something I no longer need", followed by testable criteria: "Given an order that has not shipped, when the customer cancels it, then the payment is refunded in full and the stock is released. Given an order that has shipped, cancellation is refused and a return is offered instead."
  2. A data model. The main entities, their relationships and the fields that matter, with definitions. Can a contact belong to two companies? Can an invoice be deleted, or only cancelled with a credit note?
  3. Business rules with numbers. "Discounts above 10% need a manager's approval" is a rule. "Large discounts need approval" is a wish, and the assistant will turn it into a threshold of its own choosing.
  4. Worked examples. A real order with its expected VAT, rounding and totals. Examples are the input AI tools use best, and they turn straight into automated tests.
  5. Non-goals. What this version will not do. Without them, the assistant and the team both tend to add "helpful" features nobody asked for.
  6. Constraints. Hosting, personal data, performance with real volumes and the systems to integrate.

None of this needs to be long. My guide on how to scope a software project gives the full structure of a brief. What changes with AI is that a vague sentence now costs more, so each rule should be specific enough that someone could write a test from it.

Verification grows with output

When code gets cheaper to write, verification becomes the main cost, because every change still has to prove that it does what it should.

There are good reasons not to skip it. In Veracode's 2025 GenAI Code Security Report, code generated by more than 100 language models on 80 coding tasks introduced security vulnerabilities in 45% of cases, and larger models did not do significantly better than smaller ones. Models have become better at writing code that works, not at writing code that is safe.

That is why one of my working principles is "AI-accelerated, quality-gated": I use AI tools to ship faster, and every change goes through an automated quality harness before it ships. In practice, the harness checks five things:

  • the change does what the specification says, edge cases included;
  • it handles errors and missing data;
  • it does not open a security hole, such as a missing permission check;
  • it performs with realistic data volumes;
  • it fits the existing codebase instead of adding a second way of doing the same thing.

Only a specification makes the first check possible. Without acceptance criteria there is nothing to turn into tests, so the harness can only confirm that the code runs, and AI-generated code almost always runs.

Where the time goes on a project now

On an AI-assisted project, less time goes into writing code and more into scoping, verification and integration; the total is often shorter, but by less than the coding speed-up suggests.

The split below is an illustrative estimate for a typical business application, based on how my own way of working has shifted. It is not a measured statistic, and your project will differ.

Phase Before AI assistants (illustrative) With AI assistants (illustrative)
Scoping and specification 10% 20%
Writing code 45% 20%
Testing and quality checks 20% 30%
Integration and deployment 15% 15%
Demos, feedback and coordination 10% 15%

The practical consequence is budgeting. If you plan a project on the basis that "the AI will write it", you underfund exactly the phases that now carry the risk. Another of my principles follows from this: scope before code. Every project starts with a written scope and estimate, whether the code is typed by hand or generated.

A checklist before any code is generated

Before anyone, human or AI, starts generating code, check that you can tick every item below.

Spend the time where it now matters

AI has moved the effort in a software project rather than removed it. The hours saved on typing are best spent on the specification and on verification, because those are now the steps that decide whether fast code is also the right code.

If you change only one habit, write acceptance criteria for every important feature before it is built. They help the AI produce the right thing, feed the automated checks, and become the tests that keep it working. More code, produced faster, also means more code to keep up to date, which is the subject of my article on security and maintenance in the AI era.

FAQ

Does AI make software development faster?

For well-defined tasks such as boilerplate, tests and refactors, usually yes. Across a whole project the gain is smaller, because understanding the business, specifying, verifying and integrating still take time. Expect the effort to move towards specification and verification rather than disappear.

Do I still need a specification if developers use AI?

Yes, and a more precise one. An AI assistant rarely asks clarifying questions: it fills gaps with plausible assumptions and builds on them. Clear acceptance criteria, business rules and examples are what keep fast code from being wrong code.

What should a specification include for AI-assisted development?

User stories with testable acceptance criteria, a data model with definitions of the main entities, business rules with explicit numbers and thresholds, worked examples with expected results, a list of non-goals and the technical constraints. Each rule should be precise enough that someone could write a test from it.

How should AI-generated code be checked?

Systematically, with automated quality gates. In Veracode's 2025 tests, code generated by more than 100 language models introduced security vulnerabilities in 45% of cases, and code that looks plausible is not necessarily correct for your business. Every change should pass tests derived from the specification, static analysis and security scans before it is merged.

How long should scoping take on an AI-assisted project?

For a typical business application or MVP, one to two weeks of scoping remains a sensible baseline. With AI writing more of the code, the specification takes a larger share of the total effort, so it is worth budgeting that time explicitly instead of squeezing it.

More articles