What is Spec-Kit?
Spec-Kit provides a structured workflow for breaking down complex features into actionable tasks:- Analyze - Understand the problem space
- Specify - Create detailed specifications
- Plan - Generate implementation tasks
- Checklist - Convert to Auto Run format
- Implement - Execute tasks with AI assistance
Available Commands
Spec-Kit commands are accessed via slash commands in the AI terminal:/speckit:help
Show available Spec-Kit commands and usage examples./speckit:analyze
Analyze a feature request or problem to understand requirements, constraints, and edge cases.- Extracts core requirements
- Identifies edge cases and error scenarios
- Lists technical constraints
- Suggests alternatives and tradeoffs
/speckit:clarify
Ask clarifying questions about ambiguous requirements.- Identifies unclear or ambiguous requirements
- Generates specific questions to resolve ambiguity
- Suggests concrete acceptance criteria
/speckit:specify
Generate a detailed technical specification document.- Problem statement
- Requirements (functional and non-functional)
- Technical design
- API contracts
- Database schema changes
- Security considerations
- Testing strategy
/speckit:plan
Create a high-level implementation plan with milestones.- Breaks work into phases
- Identifies dependencies
- Estimates complexity
- Suggests rollout strategy
/speckit:tasks
Generate granular implementation tasks from a specification.- Numbered task list
- Each task is atomic and testable
- Tasks are ordered by dependency
- Includes testing and documentation tasks
/speckit:checklist
Convert tasks into Auto Run checklist format./speckit:taskstoissues
Convert task list to GitHub/GitLab issue format./speckit:implement
Generate implementation code for a specific task./speckit:constitution
Review code against project coding standards and best practices.Workflow Example
Integration with Auto Run
Spec-Kit is designed to work seamlessly with Auto Run:- Use
/speckit:checklistto generate Auto Run-compatible markdown - Save the checklist to a
.mdfile in your workspace - Select it in the Auto Run panel
- Each task becomes a separate AI session with clean context
Best Practice: Keep tasks atomic (30-60 minutes each) for optimal Auto Run performance.
Customization
Spec-Kit prompts are stored insrc/prompts/speckit/ and can be customized:
speckit.analyze.md- Analysis templatespeckit.specify.md- Specification formatspeckit.checklist.md- Checklist conversionspeckit.implement.md- Implementation guidance
Best Practices
Start with analysis
Start with analysis
Always run
/speckit:analyze first to understand the full scope before diving into implementation.Clarify before specifying
Clarify before specifying
Use
/speckit:clarify to resolve ambiguities early. It’s faster to ask questions than to refactor later.Keep specifications focused
Keep specifications focused
Break large features into multiple smaller specs. Each spec should fit in a single Auto Run session.
Review generated tasks
Review generated tasks
AI-generated task lists are starting points. Review and adjust based on your codebase and constraints.
Iterate on checklists
Iterate on checklists
Run
/speckit:tasks multiple times with refined specifications to get better task breakdowns.OpenSpec Commands
Complementary specification workflow
Auto Run & Playbooks
Execute checklists automatically