Specification-Driven Development (SDD) methodology for building software where specifications are executable and drive code generation. Use when users want to: (1) Create feature specifications with /speckit.specify, (2) Generate implementation plans with /speckit.plan, (3) Create executable tasks with /speckit.tasks, (4) Follow test-first, library-first development, or (5) Implement constitutional architecture principles. Essential for structured AI-assisted development workflows.
SDD reverses traditional development: specifications become the source of truth, and code becomes their generated expression. This skill provides the workflow, templates, and validation tools for specification-driven development.
/speckit.specify)Generate a complete, structured feature specification:
/speckit.specify [feature description]
This command:
specs/[branch-name]/spec.mdTemplate location: Use assets/spec-template.md as the base structure.
Key principles:
/speckit.plan)Create a comprehensive technical plan from the specification:
/speckit.plan [technical approach notes]
This command:
references/constitution.md)Template location: Use assets/plan-template.md as the base structure.
Constitutional gates enforced:
/speckit.tasks)Derive actionable tasks from the implementation plan:
/speckit.tasks
This command:
Input files analyzed:
A complete SDD feature creates:
specs/
└── [branch-name]/
├── spec.md # Feature specification (WHAT/WHY)
├── plan.md # Implementation plan (HOW)
├── data-model.md # Entity schemas
├── contracts/ # API contracts, WebSocket events
├── research.md # Technical research and comparisons
├── quickstart.md # Key validation scenarios
└── tasks.md # Executable task list
The SDD workflow enforces nine architectural principles. Before generating any implementation plan, read references/constitution.md to understand:
Before code generation, validate specifications using:
python scripts/validate_spec.py specs/[branch-name]/
This checks for:
assets/spec-template.md - Feature specification templateassets/plan-template.md - Implementation plan templatereferences/constitution.md - Full constitutional articles with examplesSpecification Phase:
Planning Phase:
Task Generation:
# Step 1: Create specification
/speckit.specify Real-time chat system with message history and user online status
# Creates: specs/003-chat-system/spec.md
# Includes: User stories, acceptance criteria, non-functional requirements
# Step 2: Generate plan
/speckit.plan Using WebSocket for real-time messaging, PostgreSQL for history, Redis for presence
# Creates: specs/003-chat-system/plan.md, data-model.md, contracts/, research.md, quickstart.md
# Step 3: Generate tasks
/speckit.tasks
# Creates: specs/003-chat-system/tasks.md with concrete, executable tasks
For detailed examples and patterns, see:
references/constitution.md - Complete constitutional frameworkassets/spec-template.md - Full specification structureassets/plan-template.md - Full implementation plan structureRead these files as needed during the workflow to ensure compliance and quality.
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer