spec-driven-development
БесплатноБез исполняемых скриптовНе проверенSystematic three-phase approach to feature development using Requirements, Design, and Tasks phases. Transforms vague feature ideas into well-defined…
Об этом скилле
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: [st
Установить spec-driven-development в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл 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.
Как установить скилл spec-driven-development?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл spec-driven-development запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic