Spec-Driven Development skill
Clarify objectives and boundaries before planning implementation, with explicit review gates.
Community · Addy Osmani| Author | Addy Osmani |
|---|---|
| Licence | MIT |
| Source | addyosmani/agent-skills · SKILL.md on GitHub |
| Project website | skills.addy.ie |
| Works in | Claude Code · Codex, Gemini CLI, Cursor, Copilot |
| Read from the source on |
The spec-driven-development skill creates a reviewable specification before implementation.
It can first map independent capabilities, then define commands, structure, style, tests and boundaries. Later changes use delta specs rather than silently expanding an active version.
From the skill's SKILL.md: # Spec-Driven Development
What it does
- Clarify assumptions and independently testable capabilities.
- Write objectives, constraints and measurable acceptance criteria.
- Save the spec and request review before later planning.
What you get
- A versioned specification, optional capability map and explicit deferred scope.
When to use it
- Start a substantial feature whose requirements need alignment.
When not to use it
- A one-line fix or expecting the skill to implement everything in the same turn.
What it needs
- A file-capable agent and project context; planning and implementation handoffs use companion skills and shared repository references.
Files in the skill
| File or folder | What it is for |
|---|---|
SKILL.md | Specification phases, version boundaries and approval checkpoints. |
Licence as found in the repository on 2026-11-23: MIT.
Example prompts
Type one of these after installing; naming the skill makes sure it is used.
- Turn these requirements into testable success criteria.
- Map independent modules before drafting their specifications.
- Write a delta spec for this shipped feature without implementing it.
How to install spec-driven-development
Retain the full repository context
The plugin keeps shared references and agents. Folder-only installs omit root checklists; retain the clone and resolve shared references there. Keep planning, incremental implementation, TDD and context companions for the full cycle.
The folder is an instruction entry point; full linked workflows need the repository's shared references and companion skills.
A skill is a folder with a SKILL.md file. You install it once; the agent reads its short description at the start of each session and loads the full instructions only when a request matches. Pick the place you use:
Claude Code: from the plugin marketplace
- Start Claude Code in a terminal with
claude. - Add the marketplace (once per computer):
/plugin marketplace add addyosmani/agent-skills - Install the plugin. Claude Code opens its details first: check what it will add (skills, hooks, MCP servers), then choose whether it is for you, for everyone on this repository, or for you in this repository only.
/plugin install agent-skills@addy-agent-skills - Type / and look for
/agent-skills:spec-driven-development, or simply ask for the task.
From your shell instead of a session:
claude plugin marketplace add addyosmani/agent-skills
claude plugin install agent-skills@addy-agent-skillsThe plugin installs as a whole, so other skills come with it, including accessibility-engineering, api-and-interface-design, browser-testing-with-devtools, ci-cd-and-automation, code-review-and-quality, code-simplification, constraint-driven-development, context-engineering, debugging-and-error-recovery, deprecation-and-migration, documentation-and-adrs, doubt-driven-development, frontend-ui-engineering, git-workflow-and-versioning, idea-refine, incremental-implementation, interview-me, observability-and-instrumentation, performance-optimization, planning-and-task-breakdown, security-and-hardening, shipping-and-launch, source-driven-development, test-driven-development, using-agent-skills.
Claude Code: copy the folder into your skills folder
Put the skill's folder in ~/.claude/skills/ to use it in every project on this computer, or in .claude/skills/ inside a repository to share it with everyone who works there (commit it).
git clone --depth 1 https://github.com/addyosmani/agent-skills.git
mkdir -p ~/.claude/skills
cp -R agent-skills/skills/spec-driven-development ~/.claude/skills/
cp -R agent-skills/skills/planning-and-task-breakdown ~/.claude/skills/
cp -R agent-skills/skills/incremental-implementation ~/.claude/skills/
cp -R agent-skills/skills/test-driven-development ~/.claude/skills/
cp -R agent-skills/skills/context-engineering ~/.claude/skills/Claude Code notices new or changed skills in these folders during the session. If the skills folder did not exist when the session started, run /reload-skills once. Then type /spec-driven-development or just describe the task.
On Windows, run the commands in Git Bash or WSL, or copy the folder into the same place with File Explorer.
Codex, Gemini CLI, Cursor and GitHub Copilot
These agents read the same SKILL.md folders. The one folder all four accept inside a project is .agents/skills/, so this copies the skill there:
git clone --depth 1 https://github.com/addyosmani/agent-skills.git
mkdir -p .agents/skills
cp -R agent-skills/skills/spec-driven-development .agents/skills/
cp -R agent-skills/skills/planning-and-task-breakdown .agents/skills/
cp -R agent-skills/skills/incremental-implementation .agents/skills/
cp -R agent-skills/skills/test-driven-development .agents/skills/
cp -R agent-skills/skills/context-engineering .agents/skills/| Agent | Project folder | Your user folder | Notes |
|---|---|---|---|
| OpenAI Codex | .agents/skills/ | ~/.agents/skills/ | Type $ or run /skills to pick a skill; Codex also chooses one when your task matches. |
| Gemini CLI | .agents/skills/.gemini/skills/ | ~/.agents/skills/~/.gemini/skills/ | Or install from Git with gemini skills install <git URL> --path <folder> --consent. Google replaced Gemini CLI with Antigravity CLI for free-tier and Google One users on 18 June 2026; Antigravity uses .agents/skills/ in a project and ~/.gemini/config/skills/ for you. |
| Cursor | .agents/skills/.cursor/skills/ | ~/.agents/skills/~/.cursor/skills/ | Type / in Agent chat to pick a skill. Cursor also reads Claude Code's .claude/skills/ folders. |
| GitHub Copilot | .github/skills/.agents/skills/.claude/skills/ | ~/.copilot/skills/~/.agents/skills/ | Works in Copilot CLI, the cloud agent, and agent mode in VS Code, Visual Studio and JetBrains (IDE support depends on the version). Or run gh skill install OWNER/REPOSITORY SKILL (public preview, GitHub CLI 2.90.0 or later). |
Sources for these steps
Checked against each vendor's documentation on 2026-11-14:
Make assumptions reviewable
Technical examples in the source are examples, not facts about your project. Confirm the actual commands, stack and constraints before writing them into a contract.
Keep a version boundary
A shipped spec describes existing behavior. A delta describes the transition, then its outcome can be folded back after implementation.
Questions about spec-driven-development
Will it code immediately after the spec?
Its source workflow stops for human review; planning starts after approval.
Does every request need a capability map?
No. That step applies when a request spans independently testable capabilities.
Does a new idea expand the current version?
No. Record deferred scope or propose a separately reviewed delta.
Must I replace an existing specification system?
No. Keep the project's established artifact format and conventions.
More AI skills
Related skills
Archify skill
Community · tt-a1iCreate interactive HTML diagrams and explainers with source evidence and validation receipts.Planning and Task Breakdown skill
Community · Addy OsmaniTurn approved requirements into dependency-ordered, testable feature slices.Create PRD skill
Community · Paweł HurynDraft a lean product requirements document with segments, value propositions and explicit assumptions.Antfu skill
Community · Anthony FuApply Anthony Fu's JavaScript and TypeScript tooling preferences to a compatible project.Antfu Create PR skill
Community · Anthony FuPrepare an evidence-backed GitHub pull request with the correct diff range and review context.Daymade Skill Creator
Community · daymadeCreate and improve skills while preserving source ownership, capabilities and evidence boundaries.