Features spec-driven agentic development (Requirements
→ Design
→ Tasks
→ Implementation
) for Cursor. Implements a systematic development methodology as an alternative to "Vibe Coding", ensuring consistently well-documented, maintainable, and production-ready outputs.
This approach is based on Claude Code Spec Workflow, but adapted for Cursor IDE. This follows an idiomatic principles of AWS Kiro. I may tweak the prompts and templates from time to time to better suit my personal needs.
curl -sSL https://raw.githubusercontent.com/nicksp/cursor-spec-workflow/main/setup.sh | bash
Note
Only do this step if you're working on an existing project. If you're starting brand new, start with /spec-create
step instead.
- Creates persistent project context documents
- Analyzes your codebase and gathers project information
- Generates
product.md
,tech.md
, andstructure.md
- Ensures all specs align with your project's vision and standards
The /spec-create
command handles the entire spec workflow in one seamless process:
-
Requirements phase
- Generates user stories and acceptance criteria
- Uses EARS format (WHEN/IF/THEN statements)
- Aligns with product vision from steering documents
- Automatically validated before user review
-
Design phase
- Creates technical architecture and design
- Follows technical standards from steering documents
- Includes Mermaid diagrams for visualization
- Validates against requirements coverage
-
Tasks phase
- Breaks design into atomic coding tasks
- Ensures all requirements and design components are covered
- References specific requirements for traceability
- Validates task atomicity for agent execution
- Executes tasks systematically
- Follows all steering document guidelines
- Validates against requirements
- Ensures quality and consistency
Use these commands in Cursor:
TODO
# Set up steering documents (recommended first step!)
/spec-steering-setup
# Create a new feature spec (handles complete workflow)
/spec-create user-authentication "Secure login system"
# Execute specific tasks:
/spec-execute 1
# Check status
/spec-status
# List all specs
/spec-list
Got ideas to improve commands / templates or have new ones that fit this workflow? Contributions are welcome!
Please feel free to:
- Open an issue to discuss changes or suggest new features.
- Submit a pull request with your enhancements.
- Claude Code Spec Workflow
- Custom Prompts for AI Coding Agents
- Two-step approach to AI coding
- 🚀 AI Dev Tasks 🤖
- Agent OS
- Prompts for plan & execute workflow in Cursor
Nick Plekhanov, a full stack engineer.
🤖 Happy AI-assisted developing!