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)
1# Spec-Driven Development23## Overview45Write 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.67## When to Use89- Starting a new project or feature10- Requirements are ambiguous or incomplete11- The change touches multiple files or modules12- You're about to make an architectural decision13- The task would take more than 30 minutes to implement1415**When NOT to use:** Single-line fixes, typo corrections, or changes where requirements are unambiguous and self-contained.1617## The Gated Workflow1819Spec-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.2021```22SPECIFY ──→ PLAN ──→ TASKS ──→ IMPLEMENT23 │ │ │ │24 ▼ ▼ ▼ ▼25 Human Human Human Human26 reviews reviews reviews reviews27```2829### Phase 0: Scope Check3031Most 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.3233**Detection.** Decompose before specifying when a single requirement bundles several independently testable capabilities:34…
Excerpt shown under the repository's MIT license.
