← All posts

AI tool reviews › Ways of working

What is Spec Kit? Spec-driven development for AI agents

What GitHub's Spec Kit is, how its steps from spec to implementation run inside Claude Code, and what one small test showed about the cost and time.

If you’ve read about AI coding agents this year, you’ve probably come across the phrase spec-driven development, often with a link to a GitHub repository called Spec Kit right beside it. When I checked the GitHub API on October 28, 2026, the repository had 143,386 stars. Still, from the name alone it’s hard to tell whether Spec Kit is a library, an app, or a folder of document templates.

Spec Kit is an open source toolkit from GitHub that has a coding agent write a specification, a technical plan, and a task list before any code, and then implement the feature from those documents. A Python command-line tool called specify sets up the project, and then a set of commands, which Claude Code receives as skills, walks the agent through one step at a time. Den Delimarsky and John Lam conceived it, and the first commit landed on August 21, 2025 (project history). Version 1.0.0 came out exactly a year later, and the latest release when I checked was 1.2.4, from October 27, 2026.

What spec-driven development means

GitHub announced Spec Kit on September 2, 2025, in a blog post by Delimarsky. Instead of coding first and writing docs later, he says, you start with a spec, which he calls a contract for how your code should behave.

Of course, how far you carry that idea varies. In an October 2025 article, Birgitta Böckeler of Thoughtworks separated three levels. Spec-first means writing a spec before the task, spec-anchored means keeping and maintaining the spec after the task, and spec-as-source means people edit only the spec. Spec Kit’s own concept page, though, says it doesn’t prescribe how teams keep specs once requirements change, so for now it’s easiest to see it as a tool for writing the documents first. Vibe coding, where you direct the work in plain language and judge only the result, sits at the opposite end.

What specify init puts in a project

The installation guide installs the CLI with uv, a Python package manager. To keep everything inside my working folder, I installed the same PyPI package, specify-cli 1.2.4, with pip and created a Claude Code project in an empty folder.

uv tool install specify-cli
specify init todo-app --integration claude
cd todo-app
find . -type f | wc -l
ls .claude/skills
      30
speckit-analyze
speckit-checklist
speckit-clarify
speckit-constitution
speckit-converge
speckit-implement
speckit-plan
speckit-specify
speckit-tasks
speckit-taskstoissues

Of the 30 files, not one is application code. The ten folders in .claude/skills are Claude Code skills. A skill is a folder with a SKILL.md file of instructions, and normally only its name and description sit in context, with the full text loaded when the skill is invoked. By my tiktoken estimate, the ten descriptions come to about 257 tokens and all the SKILL.md files to about 31,425. .specify holds five document templates and six Bash scripts, along with memory/constitution.md for the project’s principles and a workflow that runs the four main steps with review gates in between.

Meanwhile, no .claude/settings.json was written, so no Claude Code hook runs any command. What Spec Kit calls extension hooks are lines in the skills telling the agent to check .specify/extensions.yml before and after each step, so it’s the agent that runs them. If you’d like even the skill descriptions out of context, the Claude Code page describes a --no-model-invocation option for that.

The commands and what each one writes

The command reference lists the steps in this order: constitution, specify, clarify, plan, checklist, tasks, analyze, implement, and converge, with clarify, checklist, and analyze as optional quality gates. In Claude Code you call them like /speckit-specify, while the reference writes /speckit.specify.

Reading the skill files makes each step’s job clear. Constitution fills in the project’s principles, and specify writes a spec.md that says what users need and why, without naming a tech stack. Plan records the technology choices in plan.md and adds research, data model, and interface contract documents, and tasks breaks all of that into numbered checkbox tasks in tasks.md. Once implement has worked through the tasks and checked them off, converge compares the code with the documents and appends only what’s missing, so you repeat the two until it reports Converged.

On October 28, 2026, the integrations page listed 41 agents, including Codex CLI, Cursor, and Kiro CLI. The README also introduces two bundled extensions that you add only when needed. specify extension add bug installs a three-step flow of assess, fix, and test (bug extension). And specify extension add assess evaluates an idea in five steps and ends with go, needs-clarification, or kill.

Building one small feature both ways

To see what this costs in practice, I gave Claude Code the same job twice. The subject was a 43-line to-do list CLI I wrote for the test, and the job was to add due dates. One folder held only todo.py and its test file, and the other was the folder specify init had made, with the same files copied in. The model and allowed tools were the same, and each step ran as its own headless run.

TOOLS="Read,Write,Edit,Glob,Grep,Bash(python3 *),Bash(mkdir *),Bash(cp *),Bash(.specify/scripts/bash/*),Bash(bash .specify/scripts/bash/*)"
FEATURE='Add due dates to the todo CLI. `todo add TEXT --due YYYY-MM-DD` stores an optional due date, `todo list` shows it after the text as (due YYYY-MM-DD), and an invalid date is rejected with an error message.'

# Without Spec Kit
claude -p "$FEATURE" --model haiku --allowedTools "$TOOLS" < /dev/null

# With Spec Kit, one step per run
claude -p "/speckit-specify $FEATURE" --model haiku --allowedTools "$TOOLS" < /dev/null
claude -p "/speckit-plan Use only the Python standard library and keep the change inside todo.py and test_todo.py." --model haiku --allowedTools "$TOOLS" < /dev/null
claude -p "/speckit-tasks" --model haiku --allowedTools "$TOOLS" < /dev/null
claude -p "/speckit-implement" --model haiku --allowedTools "$TOOLS" < /dev/null

To keep my personal settings out, I loaded the same SKILL.md files through --plugin-dir, which changed the names to forms like /speckit:speckit-specify. I also added --output-format stream-json --verbose to keep a record. Before the feature steps I ran /speckit-constitution once, and the model was claude-haiku-5-5. Here are the four feature steps added together.

Direct Spec Kit, specify to implement
Claude Code runs 1 4
Turns, tool calls 12, 11 77, 73
Time 33.0 s 294.6 s
Cost reported by Claude Code $0.0077 $0.0771
Output tokens 5,285 53,470
Tests afterward 4 14

Spec Kit took about ten times the cost and nine times the time, and the constitution step, which you run once per project, added 37.2 seconds and $0.0089 on top. And while todo.py went from 43 to 66 lines, eight documents totaling 498 lines piled up under specs/. The longest, tasks.md, ran to 150 lines and split this one feature into 21 tasks.

The documents repeated each other quite a bit. Even so, spec.md had written down decisions I never made. Here are the heading and two lines picked from its list of edge cases, exactly as written.

### Edge Cases

- A due date written without zero padding (for example, 2026-1-5) is rejected because the format is exactly YYYY-MM-DD.
- Tasks stored before this feature was added, which have no due date, continue to list exactly as before.

Next, I fed the same commands to the todo.py each run produced, in a fresh folder each time.

== plain
--due 2026-1-5   exit 0
--due 2026-02-30 exit 2
1. [ ] buy milk (due 2026-11-05)
2. [ ] call dentist
3. [ ] pay rent (due 2026-01-05)
stored: {'text': 'call dentist', 'done': False, 'due': None}
== speckit
--due 2026-1-5   exit 2
--due 2026-02-30 exit 2
1. [ ] buy milk (due 2026-11-05)
2. [ ] call dentist
stored: {'text': 'call dentist', 'done': False}

Both handled the ordinary cases and rejected February 30. The direct run, though, quietly saved 2026-1-5 as 2026-01-05, and it wrote "due": null on items without a date. The Spec Kit run rejected that date, as its spec said, and kept old items in their original shape. Neither choice is wrong in itself. One decision, however, sat in a document I could review before any code existed, while the other only surfaced when I tested. Of course, this was one run of each with a small model, so these numbers are a single small example and say nothing about averages.

How it compares with BMAD and Kiro

BMAD Method is an open source method with agents and workflows for product, architecture, development, and testing, and it had 54,648 stars on the same day. Its README says the process sizes itself to the work, so small changes go straight to build. Kiro is an IDE with a built-in agent, and its spec feature produces requirements.md, design.md, and tasks.md in turn. Spec Kit, by comparison, adds templates and commands to the agent you already use, and by default every feature goes through the whole chain. If that feels heavy, the bundled lean preset trims the templates.

Where it fits and what you take on

Spec Kit tends to fit well for a new feature with reasonably clear requirements, or for work where several people need to read the same document. The spec and plan are Markdown files in the repository, so they’re easy to review in a pull request just like code. On the other hand, it fits less well for small fixes and exploration. Böckeler wrote that spec-kit created a lot of verbose, tedious markdown files to review. Even for a feature she sized at 3 to 5 points, it felt like overkill for the size of the problem, and she’d rather review code. That test, though, was in October 2025, before the bug and assessment processes existed. The README of Matt Pocock’s skills, as of October 28, 2026, holds a similar view. Approaches like GSD, BMAD, and Spec-Kit try to help by owning the process, it says, but in doing so they take away your control and make bugs in the process hard to resolve.

There’s more to take on, too. Each step loads its full skill, and each step is one more agent run. The scripts in .specify/scripts/bash that the agent runs, as far as I read them, create feature folders and copy templates, and they don’t touch the network. specify init is built to work from files bundled in the package, but specify self check and catalog searches reach out to GitHub. At the end of init, Spec Kit also warns that agent folders may hold credentials and suggests adding .claude/ to .gitignore. The license is MIT, and the last commit when I checked was on October 27, 2026.

Installing it and a first thing to try

You install it with uv tool install specify-cli, and for an existing project you commit your work first and then run specify init --here --integration claude inside it. To remove it, specify integration uninstall claude takes out the files Spec Kit installed for the agent, and uv tool uninstall specify-cli removes the CLI. For a first try, I’d pick one small feature you can describe in a few sentences and read spec.md closely before /speckit-plan, since that’s where the decisions above showed up. I ran these examples on October 28, 2026, with specify-cli 1.2.4 and Claude Code 2.1.304, where --model haiku ran claude-haiku-5-5.

AI tools helped with the research for this post.