# Spec driven development

> Spec driven development is an open-source agent skill for developer tools. Guides an agent to write a reviewed spec before any code is built. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/addyosmani/agent-skills/tree/main/skills/spec-driven-development
- **Repository:** https://github.com/addyosmani/agent-skills
- **GitHub stars:** 122,283
- **License:** MIT
- **Skill name:** spec-driven-development
- **Collection:** https://github.com/addyosmani/agent-skills
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

This skill makes the agent write a structured specification before it touches code. The spec covers the objective, the commands to build, test and lint, the project layout, a code style example, the testing approach, and clear always, ask-first and never boundaries, plus success criteria and a deferred list for ideas outside the current version.

The workflow is gated. The agent scopes the work first, splitting a request that bundles several independently testable capabilities into a reviewed capability map with module ids and build order. It then moves through specify, plan, tasks and implement, pausing for human approval at each step and stopping after the spec so review happens in a separate turn. Vague requirements are rewritten as measurable success criteria, and assumptions are listed for confirmation before writing begins.

The skill also covers changes to shipped work. Follow-up changes get a small delta spec that references the original, and the original is updated once the change ships. The skill relies on other skills in the same repository, such as planning-and-task-breakdown and incremental-implementation, and it has no scripts of its own.

## When your agent uses it

> Creates specs before coding. Use when starting a new project, feature, or significant change and no specification exists yet. Use when drafting a PRD or requirements document with objectives and scope, or when requirements are unclear, ambiguous, or only exist as a vague idea. Use when a single requirement spans several independently testable capabilities and needs decomposing into a capability map of modules before specifying. Use when evolving a shipped spec — scoping a V1, deferring ideas to a V2 backlog, or writing a follow-up spec for a change to an existing feature.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/addyosmani/agent-skills/tree/HEAD/skills/spec-driven-development)
- [License: MIT](https://github.com/addyosmani/agent-skills/tree/HEAD/skills/spec-driven-development)

## Features

- **Pre-coding specification:** Produces a structured spec covering objective, commands, structure, style, testing and boundaries before implementation starts.
- **Capability map decomposition:** Splits a request with several independent capabilities into a reviewed module map with dependency order.
- **Gated phase workflow:** Moves through specify, plan, tasks and implement, requiring human approval between phases.
- **Vague requirement reframing:** Turns ambiguous goals into concrete, testable success criteria and surfaces assumptions up front.
- **Delta specs for changes:** Handles post-ship changes with a small delta spec that references the original spec.

## Good for

- Draft a PRD with objectives and scope for a new feature
- Turn a vague idea into testable success criteria before coding
- Split a large initiative into modules with a build order
- Scope a V1 and park extra ideas in a V2 backlog
- Write a follow-up spec for a change to an existing feature

## Install

### Claude Code

This skill ships in the `agent-skills` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add chrisalehman/bionic
/plugin install agent-skills@bionic
```

Or copy only this skill to `~/.claude/skills/spec-driven-development`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/addyosmani/agent-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/spec-driven-development &&
cp -R "$tmp/skills/spec-driven-development" ~/.claude/skills/spec-driven-development &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/spec-driven-development` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/spec-driven-development` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/addyosmani/agent-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/spec-driven-development &&
cp -R "$tmp/skills/spec-driven-development" ~/.agents/skills/spec-driven-development &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/spec-driven-development` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/spec-driven-development` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/addyosmani/agent-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/spec-driven-development &&
cp -R "$tmp/skills/spec-driven-development" ~/.cursor/skills/spec-driven-development &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/spec-driven-development` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/addyosmani/agent-skills.git --path skills/spec-driven-development
```

Or copy the folder to `~/.gemini/skills/spec-driven-development` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/spec-driven-development`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/addyosmani/agent-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/spec-driven-development &&
cp -R "$tmp/skills/spec-driven-development" ~/.copilot/skills/spec-driven-development &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/spec-driven-development` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/addyosmani/agent-skills.git
```

Then copy `agent-skills/skills/spec-driven-development` into your agent's skills folder as `spec-driven-development`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When does Spec driven development trigger?

It is meant for starting a new project, feature or significant change when no specification exists yet, for drafting requirements, for ambiguous requirements, for decomposing multi-capability work, and for evolving a shipped spec.

### When should Spec driven development not be used?

The skill says not to use it for single-line fixes, typo corrections or changes whose requirements are unambiguous and self-contained.

### Where are the spec files saved?

The skill saves the capability map and module specs under a spec/ folder, and the plan to tasks/plan.md, with task lists in tasks/todo.md by default.

### Does Spec driven development require any scripts or special tools?

The folder contains only the SKILL.md file and no scripts. It refers to other skills in the same repository and can work with external spec tools such as OpenSpec.

### How do I install Spec driven development in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/spec-driven-development to use it in all your projects, or to .claude/skills/spec-driven-development in one project. Or install the agent-skills plugin, which includes it: /plugin marketplace add chrisalehman/bionic, then /plugin install agent-skills@bionic.

### Does Spec driven development run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Spec driven development?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Spec driven development?

The closest alternatives to Spec driven development are Spec driven dev, Spec coding, Spec driven develop, Gen specs as issues and Mt spec.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Spec driven dev](https://ai-powered.com/skills/spec-driven-dev): Spec driven dev is an open-source agent skill for developer tools.
- [Spec coding](https://ai-powered.com/skills/spec-coding): Spec coding is an open-source agent skill for developer tools.
- [Spec driven develop](https://ai-powered.com/skills/spec-driven-develop): Spec driven develop is an open-source agent skill for developer tools.
- [Gen specs as issues](https://ai-powered.com/skills/gen-specs-as-issues): Gen specs as issues is an open-source agent skill for developer tools.
- [Mt spec](https://ai-powered.com/skills/mt-spec): Mt spec is an open-source agent skill for developer tools.
- [Writing specs](https://ai-powered.com/skills/writing-specs): Writing specs is an open-source agent skill for developer tools.
- [Create specification](https://ai-powered.com/skills/create-specification): Create specification is an open-source agent skill for developer tools.
- [Spec driven dev v2](https://ai-powered.com/skills/spec-driven-dev-v2): Spec driven dev v2 is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/spec-driven-development-addyosmani
