← Blog

Why Is Specification, Not Coding, the Bottleneck in AI Software Development?

By Jeet Patel7 min read

After building production features with AI agents, the biggest change isn’t how fast we write code. It’s where our time goes.

In short: With AI agents writing most of our code, typing is no longer what limits delivery. On a billing module of about 60 user stories, writing the specification took more effort than writing the code. That’s the right trade: precise specifications produce accurate code, and every specification makes the next feature faster. The new constraints are specification quality, context freshness and testing capacity. This article covers what changed, what didn’t work, and how to start.

The old bottleneck

For most of software history, the slow part of building a feature was building it. Writing code, debugging it and getting it reviewed took weeks. Planning and specification were often squeezed, because everyone knew the real work was the coding.

AI coding agents change that equation. When an agent can implement a well-specified story quickly, writing code stops being the long pole. Something else becomes the constraint.

Where the time goes now

Here’s how a feature moves through our process today:

  1. Design. Mockups, reviewed with the stakeholder over several rounds.
  2. Specification. Database schema, user stories, and precise context for every story.
  3. Build. The AI agent implements each story; a developer reviews and does first-round testing.
  4. Verification. AI-assisted PR review, QA testing on staging, a stakeholder demo.
  5. Release. An operations guide (SOP) and an automated deployment.

On the billing module we’ve used throughout this series, the team spent about 6–8 weeks from design approval to production. That covers schema design, writing the context, the AI build, testing and release. Within that, writing the specification took more effort than writing the code. For that module we wrote about 11,400 lines of context across 65 documents.

Before and Now: effort shifts from building to specifyingBefore: Light spec leads to Long build and debug, then Testing finds missed rules, with a rework loop back to the build. Now: Deep spec rules, edge cases and tests leads to Fast AI build, then Testing against stated rules. Dotted arrows connect the specification and testing in both directions; gaps are fixed in the spec. BeforeNow Light specLong buildand debugTesting findsmissed rules rework Deep specrules · edge cases · testsFast AI buildTesting againststated rules gaps fixedin the spec
Figure 1. The shift. Effort moves from building to specifying, and the specification compounds over time.

Why this is the right trade

It can feel uncomfortable to spend more time writing about code than writing code. We think it’s correct for four reasons.

1. Specification is where judgment lives. Deciding what should happen when a payment fails, who can cancel a subscription, or how a discount rounds is engineering. Typing the code that implements the decision is not the hard part, and never was.

2. Precision in means accuracy out. When the specification states every rule, validation and edge case, the agent builds exactly that. Nothing is left to interpretation. On the billing module, all of the more than 700 test cases passed before release.

3. Specifications compound. Code written for one feature rarely helps the next feature directly. Context does. Every module documented makes the next feature in that area faster to specify and safer to build.

4. Problems surface earlier. An interview-style specification process exposes questions the team hasn’t answered, before any code exists. Finding a gap in a conversation is far cheaper than finding it in production.

What didn’t work, or isn’t solved

We’d be doing readers a disservice if we only shared the good parts.

Context goes stale. A specification that isn’t updated when the code changes becomes misleading, and a misleading spec is worse than none for an AI agent. Our answer is to make the coding agent offer to update the specification after every change. It helps, but it isn’t automatic yet.

Testing becomes the new constraint. When development speeds up, QA capacity sets the release pace. We write test cases in parallel with development, but much of our end-to-end testing is still manual.

Coverage is uneven. Our backend and mobile code have deep shared context. Our web frontend doesn’t yet, and the difference shows.

It requires discipline. The process only works if nobody skips the template, the approval gates or the review. Shortcuts feel faster and cost more.

AI doesn’t replace engineering judgment. Developers own the quality of every story. The agent proposes and builds; people decide and verify.

Generic context can hurt. Research on repository context files has found that generic instructions can reduce agent success and raise cost. Context helps when it’s specific, structured and relevant to the task. More words aren’t better words.

What changes for engineers

The role of an engineer on an AI-assisted team shifts in noticeable ways:

  • Less typing, more deciding. Time moves from writing code to specifying behaviour and reviewing output.
  • Writing matters more. Clear, precise writing is now a core engineering skill, because it’s how intent reaches the agent.
  • Review gets deeper. Reviewing AI-written code means checking it against the specification, not just reading it for style.
  • Knowledge becomes shared. What used to live in one senior engineer’s head now lives in a repository every agent and every teammate can read.

You don’t need eight agents and thousands of lines of context to begin. Start small and measure.

A practical starting pathStart: Pick one module, then Write context for its main flows. Set up: Create one shared coding agent, then Add approval gates. Learn and grow: Build one feature and measure, then Turn review comments into rules, then Expand to the next module. All seven steps are connected in order. StartSet upLearn and grow Pick one moduleWrite context forits main flows Create one sharedcoding agentAdd approval gates Build one featureand measureTurn review commentsinto rulesExpand to thenext module
Figure 2. A practical starting path. Each step is small and measurable.

How to start

  1. Pick one module that changes often and has real business rules.
  2. Write context for its main flows using a fixed template: purpose, files, permissions, validations, flow, rules, edge cases, test hints.
  3. Create one shared coding agent with your ten most important rules and examples.
  4. Add approval gates: the agent presents a plan and waits; then it builds one item at a time.
  5. Build one feature and measure: time spent specifying, time spent building, defects found in testing, rework needed.
  6. Turn every review comment into a rule, so the agent improves with each feature.
  7. Expand once the numbers convince you.

The forward deployed angle

For forward deployed engineers this shift is welcome. Understanding the client’s problem was always the hardest and most valuable part of the job. When AI handles more of the building, more of the engineer’s time goes where it matters: with the client, on the problem.

Explore our forward deployed engineering approach.

Key takeaways

  • With AI agents, specification, not coding, becomes the biggest time investment.
  • That’s a good trade: precision in produces accuracy out, and context compounds.
  • New constraints appear: context freshness, testing capacity and team discipline.
  • Engineers spend less time typing and more time deciding, writing and reviewing.
  • Start with one module, one agent and approval gates, and measure everything.

Read the full series

  1. Context Is the New Code: How We Ship Production Features with AI Agents
  2. How Can AI Write Software Specifications? An Agent That Interviews Engineers
  3. How Do You Verify That AI-Generated Code Follows Every Business Rule?
  4. How Do You Teach an AI Coding Agent Your Engineering Standards?
  5. How Do You Turn Production Bugs into Permanent AI Agent Rules?
  6. How Do Eight AI Agents Cover the Software Development Lifecycle?

Frequently asked questions

Does AI make software development faster?

In our experience, yes, but not evenly. Building becomes much faster; specification and testing don’t speed up as much, so they become the constraints. The overall gain depends on how well you specify.

Why spend more time on specifications if AI writes the code?

Because the AI builds what it’s told. A precise specification produces accurate code the first time; a vague one produces plausible code that needs rework.

What is the biggest risk of AI-assisted development?

Stale or vague context. An agent working from an outdated specification produces confident, wrong code. Keeping context current must be part of the definition of done.

How should a team start with AI coding agents?

Start with one module, write structured context for its main flows, create one shared agent with approval gates, build one feature and measure the results before expanding.