spec-driven-development
Systematic three-phase approach to feature development using Requirements, Design, and Tasks phases. Transforms vague feature ideas into well-defined, implementable solutions that reduce ambiguity, improve quality, and enable effective AI collaboration.
Install
mkdir -p .claude/skills/spec-driven-development && curl -L -o skill.zip "https://mcp.directory/api/skills/download/3588" && unzip -o skill.zip -d .claude/skills/spec-driven-development && rm skill.zipInstalls to .claude/skills/spec-driven-development
About this skill
Spec-Driven Development
A comprehensive methodology for systematic software feature development that ensures quality, maintainability, and successful delivery through structured planning.
When to Use This Skill
Ideal scenarios:
- Complex features with multiple components, integrations, or user interactions
- High-stakes projects where rework costs are significant
- Team collaboration requiring shared understanding
- AI-assisted development where clear structure improves output quality
- Knowledge preservation for future maintainers
Less suitable:
- Simple bug fixes with obvious solutions
- Experimental prototypes for rapid iteration
- Time-critical hotfixes requiring immediate action
- Well-established patterns with minimal ambiguity
The Three-Phase Workflow
Phase 1: Requirements Gathering
Purpose: Transform vague feature ideas into clear, testable requirements
Process:
- Capture user stories expressing value and purpose
- Define acceptance criteria using EARS format (Easy Approach to Requirements Syntax)
- Identify edge cases and constraints
- Validate completeness and feasibility
EARS Format Patterns:
WHEN [event] THEN [system] SHALL [response]
IF [precondition] THEN [system] SHALL [response]
WHEN [event] AND [condition] THEN [system] SHALL [response]
Example:
**User Story:** As a new user, I want to create an account, so that I can access personalized features.
**Acceptance Criteria:**
1. WHEN user provides valid email and password THEN system SHALL create new account
2. WHEN user provides existing email THEN system SHALL display "email already registered" error
3. WHEN user provides password shorter than 8 characters THEN system SHALL display "password too short" error
4. WHEN account creation succeeds THEN system SHALL send confirmation email
Phase 2: Design Documentation
Purpose: Create a comprehensive technical plan for implementation
Process:
- Research technical approaches and constraints
- Define system architecture and component interactions
- Specify data models and interfaces
- Plan error handling and testing strategies
Design Document Structure:
## Overview
[High-level summary of approach]
## Architecture
[System components and their relationships]
## Components and Interfaces
[Detailed component descriptions]
## Data Models
[Data structures and validation rules]
## Error Handling
[Error scenarios and response strategies]
## Testing Strategy
[Testing approach for different layers]
Decision Documentation:
### Decision: [Title]
**Context:** [Situation requiring decision]
**Options Considered:**
1. [Option 1] - Pros: [benefits] / Cons: [drawbacks]
2. [Option 2] - Pros: [benefits] / Cons: [drawbacks]
**Decision:** [Chosen option]
**Rationale:** [Why this was selected]
Phase 3: Task Planning
Purpose: Break design into actionable, sequential implementation steps
Process:
- Convert design elements into specific coding tasks
- Sequence tasks to enable incremental progress
- Define clear objectives and completion criteria
- Reference requirements for traceability
Task Structure:
- [ ] 1. [Epic/Major Component]
- [ ] 1.1 [Specific implementation task]
- [Implementation details]
- [Files/components to create]
- _Requirements: [Requirement references]_
Task Sequencing Strategies:
- Foundation-First: Core interfaces before dependent components
- Feature-Slice: End-to-end vertical slices for early validation
- Risk-First: Tackle uncertain areas early
- Hybrid: Combine approaches based on project needs
Quality Checklists
Requirements Checklist
- All user roles identified and addressed
- Normal, edge, and error cases covered
- Requirements are testable and measurable
- No conflicting requirements
- EARS format used consistently
Design Checklist
- All requirements addressed in design
- Component responsibilities well-defined
- Interfaces between components specified
- Error handling covers expected failures
- Security considerations addressed
Tasks Checklist
- All design components have implementation tasks
- Tasks ordered to respect dependencies
- Each task produces testable code
- Requirements references included
- Scope is appropriate (2-4 hours each)
Integration with AI Workflows
For Claude Code / AI Assistants:
- Start with context: Provide project background, constraints, and goals
- Work in phases: Complete requirements before design, design before tasks
- Iterate: Refine outputs through conversation rather than single requests
- Validate: Ask AI to review outputs against checklists
- Trace: Maintain links between requirements, design, and tasks
Example prompt for starting a spec:
I'm working on [project context]. We need to add [feature description].
Context:
- Technology: [stack]
- Users: [target audience]
- Constraints: [key limitations]
Please help me develop requirements using the EARS format, starting with user stories and acceptance criteria.
Common Pitfalls to Avoid
- Skipping phases: Each phase builds on the previous; shortcuts create problems
- Vague requirements: "System should be fast" vs specific, measurable criteria
- Implementation details in requirements: Focus on what, not how
- Over-engineering design: Solve current requirements, not hypothetical future ones
- Monolithic tasks: Break down into 2-4 hour increments
- Missing error cases: Always consider what happens when things go wrong
Next Steps
After completing a spec:
- Begin implementation following task sequence
- Track progress by marking tasks complete
- Update spec if implementation reveals gaps
- Validate completed work against requirements
- Document learnings for future specs
More by jasonkneen
View all skills by jasonkneen →You might also like
flutter-development
aj-geddes
Build beautiful cross-platform mobile apps with Flutter and Dart. Covers widgets, state management with Provider/BLoC, navigation, API integration, and material design.
drawio-diagrams-enhanced
jgtolentino
Create professional draw.io (diagrams.net) diagrams in XML format (.drawio files) with integrated PMP/PMBOK methodologies, extensive visual asset libraries, and industry-standard professional templates. Use this skill when users ask to create flowcharts, swimlane diagrams, cross-functional flowcharts, org charts, network diagrams, UML diagrams, BPMN, project management diagrams (WBS, Gantt, PERT, RACI), risk matrices, stakeholder maps, or any other visual diagram in draw.io format. This skill includes access to custom shape libraries for icons, clipart, and professional symbols.
ui-ux-pro-max
nextlevelbuilder
"UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient."
godot
bfollington
This skill should be used when working on Godot Engine projects. It provides specialized knowledge of Godot's file formats (.gd, .tscn, .tres), architecture patterns (component-based, signal-driven, resource-based), common pitfalls, validation tools, code templates, and CLI workflows. The `godot` command is available for running the game, validating scripts, importing resources, and exporting builds. Use this skill for tasks involving Godot game development, debugging scene/resource files, implementing game systems, or creating new Godot components.
nano-banana-pro
garg-aayush
Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., "modify this image", "change the background", "replace X with Y"). Supports both text-to-image generation and image-to-image editing with configurable resolution (1K default, 2K, or 4K for high resolution). DO NOT read the image file first - use this skill directly with the --input-image parameter.
fastapi-templates
wshobson
Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.
Related MCP Servers
Browse all serversStructured Workflow guides disciplined software engineering via refactoring, feature creation, and test driven developme
Interactive MCP server for collecting user feedback and executing commands during AI-assisted development. Features a we
Connect Supabase projects to AI with Supabase MCP Server. Standardize LLM communication for secure, efficient developmen
Empower your Unity projects with Unity-MCP: AI-driven control, seamless integration, and advanced workflows within the U
Supercharge your NextJS projects with AI-powered tools for diagnostics, upgrades, and docs. Accelerate development and b
Quickly rp prototype web apps with Scaffold Generator: create consistent scaffolding using templates, variable substitut
Stay ahead of the MCP ecosystem
Get weekly updates on new skills and servers.