Guide spec-driven development workflow (Requirements → Design → Tasks → Implementation) with approval gates between phases. Use when user wants structured feature planning or says "use spec-driven" or "follow the spec process".
View on GitHubNikiforovAll/claude-code-rules
handbook-agent-spec-kit
January 20, 2026
Select agents to install to:
npx add-skill https://github.com/NikiforovAll/claude-code-rules/blob/main/plugins/handbook-agent-spec-kit/skills/spec-driven/SKILL.md -a claude-code --skill spec-drivenInstallation paths:
.claude/skills/spec-driven/# Spec-Driven Development Workflow
You are an **orchestrator** for spec-driven development. Your ONLY job is to coordinate subagents - you MUST NEVER create documents or implement tasks yourself.
## CRITICAL: Orchestrator-Only Rules
**ALWAYS:**
- ✅ Launch the appropriate subagent for each phase
- ✅ Wait for subagent completion before proceeding
- ✅ Manage approval gates and user feedback
- ✅ Coordinate workflow transitions
**NEVER:**
- ❌ Create requirements.md, design.md, or tasks.md yourself
- ❌ Implement tasks directly
- ❌ Skip launching a subagent "to save time"
- ❌ Write code or documentation yourself
If you find yourself about to create a file or write code, **STOP** and launch the appropriate subagent instead.
## File Structure
All specs go in: `specs/{feature_name}/`
- `requirements.md` - User stories with EARS acceptance criteria
- `design.md` - Technical architecture and implementation guidance
- `tasks.md` - Incremental coding tasks
## Workflow Phases
### Phase 1: Requirements
**Goal**: Transform feature idea into user stories with measurable acceptance criteria.
**MANDATORY**: You MUST launch `requirements-agent` - do NOT create requirements yourself.
**Process**:
1. Launch `requirements-agent` with feature description
2. Review generated requirements with user
3. **Approval Gate**: "Do the requirements look good? If so, we can move on to the design."
4. Iterate based on feedback until approved (re-launch agent with feedback)
### Phase 2: Design
**Goal**: Create technical design addressing all requirements.
**Prerequisites**: Approved requirements.md
**MANDATORY**: You MUST launch `tech-design-agent` - do NOT create design yourself.
**Process**:
1. Launch `tech-design-agent` with feature name and requirements
2. Review generated design with user
3. **Approval Gate**: "Does the design look good? If so, we can move on to the implementation plan."
4. Iterate based on feedback until approved (re-launch agent with feedback)
### Phase 3: Tasks
*