Spec Lock Phase Development Process Generative AI

What Is Spec-Driven Development? Why AI Makes Specs More Important

Thursday, 12 Nov 2026 11 min read 299 views

Summary: Spec-driven development means writing a specification before any code, then using it as the instruction for the AI and as the standard for acceptance. AI tends to fill gaps in requirements with plausible guesses, so the more you use AI, the more you need to decide on paper, up front, what will be built and what will not.

Contents

  1. What is spec-driven development?
  2. How is it different from "just asking the AI to write code"?
  3. Why does using AI make a good spec more important?
  4. What should a spec contain?
  5. How does VAON do spec-driven development?
  6. What should a buyer prepare if there is no spec yet?
  7. When is spec-driven development a poor fit?
  8. FAQ

1. What is spec-driven development?

Spec-driven development (仕様駆動開発 in Japanese) is a way of building software that starts from a specification. AI code generation, testing and acceptance are all checked against that spec. The spec becomes a "promise about what will be built" that both people and AI read.

Tools have started to support this approach. In September 2025, GitHub released Spec Kit, an open-source toolkit. Spec Kit splits the work into four phases: write the spec, settle the technical direction, break the work into small tasks, then implement. A person checks the result after each phase before the next one begins. AWS's development environment Kiro has a similar feature called "Specs": it creates three files, requirements, design and tasks, before any code is written.

The tool names differ, but they share one point: a person decides in writing what will be built, before the AI writes code.

2. How is it different from "just asking the AI to write code"?

Spec-driven development differs from giving the AI ad-hoc instructions in one respect: where the standard for "correct" lives. With ad-hoc instructions, the standard exists only in the head of the person who gave them. With spec-driven development, it is written down.

Item Ad-hoc instructions to AI Spec-driven development
Starting point A message in a chat window An agreed specification
Standard for "correct" The instructing person's memory Acceptance criteria in the spec
When requirements change Give new instructions; contradictions with old ones tend to remain Update the spec first, check the impact, then rebuild
What the reviewer checks Whether it runs Whether it follows the spec, and whether it did anything the spec does not ask for
When the person in charge changes The reasons are lost Read the spec and change history to follow along
Suited to Throwaway prototypes, personal experiments Systems delivered to clients and run for the long term

In contract development, the client, a third party, accepts what is built and then uses it for years. Whether the standard for "correct" is on paper therefore bears directly on rework after delivery and on how easy the system is to maintain.

3. Why does using AI make a good spec more important?

A good spec matters more with AI because AI does not say "I don't know." It fills the gap with a plausible-sounding answer. Where an engineer would ask a question, the AI still produces code.

Three things happen in practice:

  1. Vague requirements get decided silently. If the spec only says "members can cancel their account," the AI guesses whether data is deleted after cancellation. Nobody sees that decision unless they read the code.
  2. Mistakes are also made faster and in larger volume. When AI speeds up the work, code built on a wrong assumption grows at the same speed. The later it is found, the larger the rework.
  3. Reviewers lose their standard. Without a spec, a reviewer can only check "does it run?" Checking "does it do what was asked?" needs a document to check against.

In 2026, the two questions clients asked VAON most were "can we talk to you if we don't have a spec yet?" and "who checks the code the AI writes?" Spec-driven development is one answer to both: write the spec together with the client, then use that spec as the standard by which people check what the AI produces.

4. What should a spec contain?

A spec for spec-driven development needs enough information that neither the AI nor a person has to guess. It does not need to be thick. What matters is that none of these items is missing:

  1. Purpose and users: who uses it, in what situation, and for what.
  2. Business flow and screens: the order of the user's actions and what each screen shows. A screen wireframe helps find misunderstandings much earlier.
  3. Data: what is stored, when it is deleted, and whether personal data is involved.
  4. Acceptance criteria: written as conditions that can be checked, in the form "when A, then B."
  5. What will not be done: state clearly which features are outside this scope, because AI sometimes "helpfully" builds things nobody asked for.
  6. Performance and security requirements: how many people use it at once, which information each role may see, which external services it connects to.
  7. Open questions: what is not yet decided, who decides, and by when.

The two items most often missed are number 5, "what will not be done," and number 7, "open questions." If you do not write them down, the AI fills both gaps itself.

5. How does VAON do spec-driven development?

VAON runs a spec lock phase before development and starts building with AI only once the spec is locked. The spec lock phase works like this:

Item Details
Duration 1 to 2 weeks (2 to 4 weeks for large projects)
Cost Fixed price, quoted in advance, no extra charges along the way
Led by A Bridge System Engineer (BrSE) and a Tech Lead
Deliverables Requirements document, wireframe for each screen, database design, system architecture, fixed quote for the build phase
Client's right You may stop after this phase; ordering the build phase is not required

There are two ways in. If the client already has a system, VAON reads the source code, interviews the people who operate it and measures the current state. If there is nothing yet, VAON starts from business interviews, screen design and data design.

In the build phase, the locked spec is the standard for everything. Under our internal process, every change has a plan that another person challenges before work starts. Engineers use AI (Claude Code, GitHub Copilot) when writing code, but another engineer re-reads the result and the team lead approves it. Every 1 to 2 weeks VAON shows the client working software, and anything that differs from the spec is confirmed on the spot.

When out-of-scope work comes up, VAON writes a change request and states the cost and schedule impact in writing. Until the client approves, VAON does not do the work and does not charge for it.

VAON has also begun one practice on internal projects: managing the prompts the AI uses to generate requirements documents the way source code is managed. Changing a prompt requires a written reason and a review, and then comparing the output before and after on the same sample input. This is only applied to internal projects so far. The idea behind it is to treat even the "process of writing the spec" as something that needs a spec.

6. What should a buyer prepare if there is no spec yet?

You can still do spec-driven development without a spec. A buyer does not need a finished spec, but does need the raw material to write one and a person who can decide. Preparing the following makes the spec lock phase faster:

  • Your current workflow: a process that runs on paper or Excel is fine. Photos or screenshots help.
  • Specific problem situations: for example "month-end consolidation takes 2 days." Numbers and frequency make priorities easier to set.
  • One person with decision authority: someone who answers questions and confirms content. The project moves in 1 to 2 week steps, so this person's time is the most valuable resource.
  • Existing documents and systems: old specs, operating manuals, source code. Old is still better than nothing.
  • A list of what is not yet decided: stating openly what is undecided means less rework later.

Before you hire, check how the vendor asks about what is missing. How to use AI to find gaps in requirements is covered in using AI to find requirement gaps before the spec lock. How to split a contract into "spec lock" and "build" stages is in a phased contract: lock the spec before building.

7. When is spec-driven development a poor fit?

Spec-driven development does not suit every job. In the cases below, writing a spec first may not be worth the effort:

  • A throwaway prototype to test an idea: if it will be discarded, giving instructions straight to the AI can be faster. If you plan to run that prototype in production, though, write a spec for it first.
  • An early exploration phase where requirements change almost daily: build a small prototype to choose a direction, then lock the spec.
  • A buyer with nobody who can decide: if nobody can lock the spec, this approach does not work.
  • Changing a few lines of code or a setting: a short note saying what changes and how to check it is enough.

Also, having a spec does not mean the AI stops making mistakes. The spec decides what needs to be checked, and people still do the checking.

8. FAQ

How is spec-driven development different from AI-driven development (AI駆動開発)? AI-driven development is the whole way of building software in which AI helps write code and tests while people are responsible for locking requirements and checking results. Spec-driven development is one approach within it, with the emphasis on starting from the spec and checking what the AI produces against it.

Can we talk to VAON if we don't have a spec yet? Yes. VAON's spec lock phase takes 1 to 2 weeks at a fixed price quoted in advance. VAON interviews your business or reads your existing system, then produces the requirements document, wireframes, database design and a quote for the build phase. You may stop after this phase.

How detailed does the spec need to be? It does not need to be thick. A spec is good enough when acceptance criteria are written as checkable conditions in the form "when A, then B," and what will not be done and what is still open are stated clearly. With screen wireframes, misunderstandings surface earlier than with text alone.

Can the spec change during the project? Yes, but the spec is updated first, and the cost and schedule impact is checked before work starts. For out-of-scope work, VAON writes a change request and states the impact in writing. Until the client approves, VAON does not do the work and does not charge for it.

If we have a spec and the AI still builds something different, who fixes it? Finding and fixing work that differs from the spec is the developer's responsibility. At VAON, code written by AI is re-read by another engineer and approved by the team lead before it is merged. Defects found after delivery are handled under each contract's warranty terms, with no distinction between code written by people and by AI.


Want to know how your current vendor, or the one you are about to hire, handles specs? Send them our 12-point check before outsourcing AI-assisted development as it is. VAON will read the answers with you, free of charge. You can also talk to us about how VAON works on AI駆動開発. Book a free consultation

Author: Dang Van Luan, Founder & CEO, VAON. Graduate of HEDSPI (Hanoi University of Science and Technology). Worked at FPT Software, then 5 years at Digital Plus (Tokyo) on a system with 10 million users. 8 years as COO of a 120-person IT outsourcing company, where he built the management system to ISO 9001 and ISO 27001. 15 years in the industry.

References

Ready to Transform Your Business?

Let's discuss how we can help you leverage AI and digital transformation for your enterprise.

Frequently asked questions

How is spec-driven development different from AI-driven development (AI駆動開発)?
AI-driven development is the whole way of building software in which AI helps write code and tests while people are responsible for locking requirements and checking results. Spec-driven development is one approach within it, with the emphasis on starting from the spec and checking what the AI produces against it.
Can we talk to VAON if we don't have a spec yet?
Yes. VAON's spec lock phase takes 1 to 2 weeks at a fixed price quoted in advance. VAON interviews your business or reads your existing system, then produces the requirements document, wireframes, database design and a quote for the build phase. You may stop after this phase.
How detailed does the spec need to be?
It does not need to be thick. A spec is good enough when acceptance criteria are written as checkable conditions in the form "when A, then B," and what will not be done and what is still open are stated clearly. With screen wireframes, misunderstandings surface earlier than with text alone.
Can the spec change during the project?
Yes, but the spec is updated first, and the cost and schedule impact is checked before work starts. For out-of-scope work, VAON writes a change request and states the impact in writing. Until the client approves, VAON does not do the work and does not charge for it.
If we have a spec and the AI still builds something different, who fixes it?
Finding and fixing work that differs from the spec is the developer's responsibility. At VAON, code written by AI is re-read by another engineer and approved by the team lead before it is merged. Defects found after delivery are handled under each contract's warranty terms, with no distinction between code written by people and by AI.
Đặng Văn Luân

Written by

Đặng Văn Luân

CEO

No Code, No Life

View all articles

Share this article