// This skill should be used when users want guidance on Spec-Driven Development methodology using GitHub's Spec-Kit. Guide users through executable specification workflows for both new projects (greenfield) and existing codebases (brownfield). After any SDD command generates artifacts, automatically provide structured 10-point summaries with feature status tracking, enabling natural language feature management and keeping users engaged throughout the process.
| name | sdd |
| description | This skill should be used when users want guidance on Spec-Driven Development methodology using GitHub's Spec-Kit. Guide users through executable specification workflows for both new projects (greenfield) and existing codebases (brownfield). After any SDD command generates artifacts, automatically provide structured 10-point summaries with feature status tracking, enabling natural language feature management and keeping users engaged throughout the process. |
| version | 2.1.0 |
| triggers | ["spec-driven development","spec kit","speckit","sdd","specify cli","specification driven","github spec-kit","/speckit","constitution","specify init","executable specifications","intent-driven development","brownfield","existing codebase","legacy code","legacy system","add features to existing","modernize","modernization","existing project","reverse engineer","codebase analysis","iterative enhancement","feature status","track features","add feature","move feature","reorder features","feature progress","feature dependencies"] |
| author | Based on GitHub Spec-Kit by Den Delimarsky and John Lam |
| license | MIT |
| tags | ["development-methodology","ai-native-development","spec-driven","github","project-management","workflow","requirements","planning"] |
Guide users through GitHub's Spec-Kit for Spec-Driven Development - a methodology that flips traditional software development by making specifications executable and directly generating working implementations.
Spec-Driven Development emphasizes:
Remember: This is AI-native development. Specifications aren't just documentation - they're executable artifacts that directly drive implementation. The AI agent uses them to generate working code that matches the intent defined in the specs.
โ See Greenfield Workflow for the complete 6-step process
โ See Brownfield Workflow for reverse-engineering and integration guidance
โ See Installation Guide for setup and troubleshooting
Recommended (Persistent):
uv tool install specify-cli --from git+https://github.com/github/spec-kit.git
One-time Usage:
uvx --from git+https://github.com/github/spec-kit.git specify init <PROJECT_NAME>
Verify:
specify check
For detailed installation options, troubleshooting, and environment variables, see Installation Guide.
Works with:
CRITICAL WORKFLOW: After any SDD command generates or modifies artifacts, automatically follow this feedback loop to keep the user engaged:
Detect Artifact Changes
constitution.md (project principles)spec.md (requirements specification)plan.md (technical implementation plan)tasks.md (actionable task breakdown)Read and Summarize
Present Structured Summary (Use 10-Point Template Below)
Include Feature Status (Hybrid Approach)
/speckit.statusOffer Feedback Options
Use this structured format after ANY SDD command completes:
## โ
[Command Name] Completed - Here's What Just Happened
### ๐ฏ Key Decisions Made (Top 3)
1. [Decision] - **Rationale:** [Why this was chosen]
2. [Decision] - **Rationale:** [Why this was chosen]
3. [Decision] - **Rationale:** [Why this was chosen]
### ๐ What Was Generated
- [Artifact 1]: [Brief description of content]
- [Artifact 2]: [Brief description of content]
### ๐ Important Items to Review (Top 3)
1. [Critical item to check and why it matters]
2. [Important detail to verify and potential impact]
3. [Edge case to consider and how it affects the design]
### โ ๏ธ Watch Out For (Top 2)
- [Potential issue or gotcha] - **How to avoid:** [Guidance]
- [Common mistake] - **How to avoid:** [Guidance]
### ๐ What This Enables Next (2 Options)
- **Option 1:** [Next step] - Best if: [Condition]
- **Option 2:** [Alternative step] - Best if: [Condition]
๐ **Feature Status:** [Current Feature Name] ([Stage]) โ Next: [Next Feature]
Progress: [โโโโโ] [X]% | Completed: [N] of [Total] features | Dependencies: [Status]
**Your options:** [A] Proceed [B] Modify [C] Explain more [D] Show full status
```
๐ Feature Status: user-authentication (Specified) โ Next: profile-management Progress: [โโโโโ] 40% | Completed: 1 of 5 features | Dependencies: database-setup โ
Your options: [A] Proceed to planning [B] Modify requirements [C] Explain JWT choice [D] Show full status ```
Only skip the summarization step when:
After every SDD command, include a brief feature status line in the summary. Provide detailed status on demand with /speckit.status.
Include this at the end of every summary:
๐ **Feature Status:** [Current Feature Name] ([Stage]) โ Next: [Next Feature Name]
Progress: [โโโโโ] [X]% | Completed: [N] of [Total] features | Dependencies: [Dep] โ
/โธ๏ธ
Stage values:
Specifying (20% complete)Planning (40% complete)Tasking (60% complete)In Progress (80% complete)Complete (100% complete)Progress indicator:
When user requests full status (option D) or runs /speckit.status, show:
๐ Project Feature Status Dashboard
๐ฏ CURRENT FEATURE
โโ [feature-name] ([Stage] - [X]% complete)
โ โโ โ
Requirements specified
โ โโ ๐ Implementation plan in progress
โ โโ โธ๏ธ Tasks not started
โ โโ โธ๏ธ Implementation not started
โ Blockers: [None | Description]
โ Dependencies: [feature-name] โ
โ
COMPLETED FEATURES ([N])
โโ [feature-1] (100% complete)
โโ [feature-2] (100% complete)
๐ UPCOMING FEATURES ([N])
โโ [feature-3] (depends on: [current-feature])
โโ [feature-4] (depends on: [feature-3])
โ ๏ธ BLOCKED FEATURES ([N])
[List any features that are blocked with reasons]
Claude should automatically detect and handle natural language feature management requests:
User says: "Move feature XYZ before ABC" Claude does:
.speckit/features/User says: "Add a new feature for email notifications" Claude does:
User says: "Let's do profile-management first" Claude does:
Detection patterns:
Guide users through these operations when requested:
Add Feature:
User: "Add a feature for admin dashboard"
Claude:
1. What's the priority? (High/Medium/Low)
2. What features does this depend on? (user-auth, profile-management, etc.)
3. Brief description?
[Creates outline, shows updated status]
Reorder Features:
User: "Reorder features"
Claude:
Current order:
1. user-authentication
2. profile-management
3. admin-dashboard
4. email-notifications
5. reporting
How would you like to reorder? (provide new numbers or describe changes)
[Updates order, shows new status]
Remove Feature:
User: "Remove the reporting feature"
Claude:
โ ๏ธ Warning: This will remove 'reporting' feature.
Dependencies affected: None
Are you sure? (yes/no)
[If yes: removes, updates status]
Automatically calculate progress based on SDD workflow completion:
| Stage | Progress | Indicators |
|---|---|---|
| Specified | 20% | specify.md exists |
| Planned | 40% | plan.md exists |
| Tasked | 60% | tasks.md exists |
| In Progress | 80% | Implementation started (code files modified) |
| Complete | 100% | Implementation complete, tests pass |
Track and visualize dependencies:
Show dependencies:
user-authentication
โโ Depends on: database-setup โ
โโ Blocks: profile-management โธ๏ธ, admin-dashboard โธ๏ธ
Check if ready:
๐ Can we start profile-management?
Checking dependencies...
โ
user-authentication (complete)
โ
database-setup (complete)
All dependencies satisfied! Ready to proceed.
Detect circular dependencies:
โ ๏ธ Warning: Circular dependency detected
feature-A depends on feature-B
feature-B depends on feature-C
feature-C depends on feature-A
Please resolve this before proceeding.
For Greenfield Projects:
/speckit.specify, ask if there are multiple featuresFor Brownfield Projects:
/speckit.reverse-engineer, create feature list from discovered functionalityFor complete feature management guidance, see Feature Management Guide.
To greenfield project:
To brownfield/existing project:
``` specify init โ /speckit.constitution โ [SUMMARIZE] โ /speckit.specify โ [SUMMARIZE] โ /speckit.plan โ [SUMMARIZE] โ /speckit.tasks โ [SUMMARIZE] โ /speckit.implement ```
Full details: Greenfield Workflow
``` specify init --here โ /speckit.brownfield โ [SUMMARIZE] โ /speckit.analyze-codebase โ [SUMMARIZE] โ /speckit.reverse-engineer โ [SUMMARIZE] โ /speckit.specify โ [SUMMARIZE] โ /speckit.integration-plan โ [SUMMARIZE] โ /speckit.tasks โ [SUMMARIZE] โ /speckit.implement ```
Full details: Brownfield Workflow
Start with high-level requirements, generate specifications from scratch, plan implementation steps, build production-ready applications.
Add features iteratively to existing codebases, modernize legacy systems, adapt processes for evolving requirements, reverse-engineer existing code into SDD format.
Explore diverse solutions in parallel, support multiple technology stacks & architectures, experiment with UX patterns.
โ Greenfield Workflow - Multi-Stack Exploration section
```bash specify init # New project specify init --here --force # Existing project specify check # Verify installation ```
``` /speckit.constitution # Project principles โ SUMMARIZE /speckit.specify # Define requirements โ SUMMARIZE /speckit.plan # Technical planning โ SUMMARIZE /speckit.tasks # Break down tasks โ SUMMARIZE /speckit.implement # Execute ```
``` /speckit.brownfield # Analyze existing code โ SUMMARIZE /speckit.analyze-codebase # Deep analysis & constitution โ SUMMARIZE /speckit.reverse-engineer # Document existing features โ SUMMARIZE /speckit.integration-plan # Plan new feature integration โ SUMMARIZE ```
``` /speckit.clarify # Clarify ambiguous requirements /speckit.analyze # Cross-artifact consistency check /speckit.checklist # Generate quality checklists ```
The SDD skill includes analysis scripts for deep quality validation and progress tracking:
Generates a comprehensive progress report across all phases in a tasks.md file:
Usage: ```bash ~/.claude/skills/sdd/scripts/phase_summary.sh specs/003-keyboard-shortcuts/tasks.md ```
Output: Markdown-formatted phase-by-phase progress report with:
When to Use:
Analyzes requirement coverage across spec.md and tasks.md:
Usage: ```bash python3 ~/.claude/skills/sdd/scripts/analyze-requirements.py ```
Output: JSON with coverage metrics, uncovered requirements, vague requirements
Analyzes success criteria verification coverage:
Usage: ```bash python3 ~/.claude/skills/sdd/scripts/analyze-success-criteria.py ```
Output: JSON with coverage summary, verification task mapping
Analyzes edge case coverage across specifications:
Usage: ```bash python3 ~/.claude/skills/sdd/scripts/analyze-edge-cases.py ```
Output: JSON with coverage breakdown, uncovered edge case details
When to Use: These scripts are automatically invoked during `/speckit.analyze` to provide deep consistency validation. They help identify:
``` /speckit.validate-reverse-engineering # Verify spec accuracy /speckit.coverage-check # Check documentation coverage /speckit.validate-constitution # Verify constitution consistency /speckit.trace [feature] # Map specs to code ```
This skill works well with: