Tooluck logoTooluck
SKILL.md

spec-driven-development

Agent skill fromaddyosmani/agent-skills

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.

How to install spec-driven-development

install spec-driven-development
# install the agent-skills pack with the skills CLI
npx skills add addyosmani/agent-skills

# or add only this skill to Claude Code: copy the folder

skills/spec-driven-development/

# into

~/.claude/skills/spec-driven-development/ (all projects)

.claude/skills/spec-driven-development/ (one project)

skills/spec-driven-development/SKILL.md

MITFull file
1# Spec-Driven Development
2
3## Overview
4
5Write a structured specification before writing any code. The spec is the shared source of truth between you and the human engineer — it defines what we're building, why, and how we'll know it's done. Code without a spec is guessing.
6
7## When to Use
8
9- Starting a new project or feature
10- Requirements are ambiguous or incomplete
11- The change touches multiple files or modules
12- You're about to make an architectural decision
13- The task would take more than 30 minutes to implement
14
15**When NOT to use:** Single-line fixes, typo corrections, or changes where requirements are unambiguous and self-contained.
16
17## The Gated Workflow
18
19Spec-driven development has four phases, preceded by a scope check (Phase 0) that activates only when one request bundles several independently testable capabilities. Do not advance to the next phase until the current one is validated.
20
21```
22SPECIFY ──→ PLAN ──→ TASKS ──→ IMPLEMENT
23 │ │ │ │
24 ▼ ▼ ▼ ▼
25 Human Human Human Human
26 reviews reviews reviews reviews
27```
28
29### Phase 0: Scope Check
30
31Most requests describe one capability. If this one does, skip this phase and go straight to Specify — Phase 0 exists for the exception, not the rule, and it puts no hierarchy on single-capability features.
32
33**Detection.** Decompose before specifying when a single requirement bundles several independently testable capabilities:
34…

Excerpt shown under the repository's MIT license.

More skills in agent-skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates