AI GLOSSARY · CODING AGENTS AND CODING TOOLS

Spec-driven development

Markdown version

Definition

Spec-driven development, in AI coding, uses a written specification to guide implementation and review. Definitions vary: approaches range from writing a spec first to maintaining it alongside code or treating it as the primary artifact.

Also called: spec driven development, spec-first development, specification driven development, SDD, spec driven coding.

In plain language

Spec-driven development means you write down what the software should do before an AI agent implements the feature or change, including changes to existing software. The written description, called a spec, becomes the thing both you and the agent check against. It is like handing a builder a floor plan instead of describing the house out loud. The point is to catch misunderstandings while they are cheap, in a document, instead of after the agent has built the wrong thing. The limits: writing and reviewing specs takes time, a spec can be wrong or go stale, and the agent can still misread it. People also use the term differently, so check which version a tool means.

Technical definition

Birgitta Böckeler's article on martinfowler.com gives a working definition: writing a spec before writing code with AI, with the spec as the source of truth for the human and the AI. She notes the definition is still unsettled and identifies three levels: spec-first, spec-anchored and spec-as-source. GitHub's Spec Kit describes spec-driven development as defining what to build and why, then turning the specification into a plan, tasks and working code, with commands for project principles, specify, plan, tasks, implement and converge, run one at a time in the agent's chat with each result reviewed before continuing. Tessl, quoted in the article, describes specs, not code, as the primary artifact.

Worked examples in this catalogue

Catalogue examples point at a skill, guide or coding tool listed on this site, with what to run and what you see. An example marked illustrative describes the item from its own documentation; it was not executed for this page. Platform Scores are our assessment under a published method, not a safety guarantee.

  1. Skill by Addy Osmani · Illustrative, not executed

    spec-driven-development 29/100 · Provisional, not yet measuredScored · Method v0.2 · How we score

    What you see
    Writes a specification before coding a new feature or project.
    Why it exercises the concept
    It covers spec authoring before implementing the selected feature or change, which can extend existing code.
  2. Skill by Matt Pocock · Illustrative, not executed

    to-spec 26/100 · Provisional, not yet measuredScored · Method v0.2 · How we score

    What you see
    Turns the conversation so far into a written spec and files it in the project issue tracker.
    Why it exercises the concept
    It covers the case where the idea took shape in chat. The spec captures it in a durable place before work starts.
  3. Skill by Skill Almanac · Illustrative, not executed

    spec-driven-build 56/100 · Provisional, not yet measuredScored · Method v0.2 · How we score

    What you see
    Builds a feature from an agreed spec, one numbered requirement at a time, with acceptance tests as evidence for each requirement.
    Why it exercises the concept
    It is the back half of the practice: each requirement in the spec is built and checked, so the spec stays the reference.
  4. Coding tool · Illustrative, not executed

    Claude Code

    What to try
    claude
    What you see
    Claude Code starts an interactive session where you can ask the agent to read a spec file and work through it.
    Why it exercises the concept
    In this Spec Kit workflow, its steps run in the selected agent's chat, one at a time with review between them. Other spec-driven workflows can use different interfaces.

How it shows up when you use agents

With Claude Code, Codex or Cursor, the usual failure is that a short prompt leaves the agent to guess your intent, and it fills the gaps with plausible but wrong choices. Spec-driven development moves that conversation earlier. You and the agent agree a written spec: what to build, why, and how you will know it works. Then the agent plans and implements against it. This is the opposite end from vibe coding, where you steer by feel.

What breaks when it is misunderstood: people treat the spec as paperwork and never update it, so it drifts from the code; or they write one huge spec and expect the agent to hold all of it. Böckeler's article notes the term is unsettled, so a tool that says spec-driven may mean only a spec-first step. A spec is also context the agent reads, so it takes space in the context window like anything else.

Next action: before your next feature, write a short spec with numbered requirements and a check for each, give it to the agent, and review each step before the next. The skills below split the work into writing the spec and building from it. For project-wide rules you want the agent to see in every session, an agent instruction file is the neighbouring tool.

Common confusions

  • Spec versus prompt. A prompt supplies input or instructions to a model and can be saved, versioned and reviewed. A spec states the requirements used to guide and check implementation; a prompt can include or reference that spec.
  • Spec-driven development versus test-driven development. Test-driven development writes tests first. A spec states requirements, and tests can be derived from it, as in the numbered-requirement skill above, but they are different practices.
  • Spec-first versus spec-as-source. In Böckeler's three levels, spec-first writes a spec before coding, while spec-as-source treats the spec as the primary artifact. The word covers all of them.
  • Myth: a good spec guarantees correct code. The agent can still misread or ignore it. Review each result before moving on, as Spec Kit's page advises.

More in Coding agents and coding tools

Next steps

  1. spec-driven-development A skill that exercises it.
  2. Agent instruction file Related term.
  3. Vibe coding Related term.
  4. All glossary terms A to Z and by family.

Sources

Definitions are written by Skill Almanac from these sources and were checked against them on 2026-11-25. Wikipedia is never the only source.

Review record

Last verified

Drafted by Claude (original draft) and OpenAI Codex (targeted revisions); sources and example targets checked by Independent automated source review (OpenAI Codex); not human peer review on 2026-11-25. Last verified .

Change log (4)
  • : Independent automated factual/example review completed. Cached US query estimate aligned to receipt; no traffic promise. Final technical gate recorded separately; publication disabled.
  • : Targeted source repairs: Distinguished prompts by role rather than persistence; scoped pre-code/chat claims to selected feature/workflow; changed tests from proof to evidence. Independent affected review pending; no publication approval.
  • : First version.
  • : Automated review completed; approved for the staged public release. Search indexing is controlled by the release configuration.