SpecDev is a VS Code/Cursor extension that implements a Kiro IDE-style workflow for managing software specifications. It provides a structured approach to documenting requirements, design, and tasks with markdown support and Mermaid diagrams.
- Three-Tab Interface: Requirements, Design, and Tasks
- Markdown Support: Full markdown editing with syntax highlighting
- Mermaid Diagrams: Support for Mermaid diagrams in the Design tab
- Task Management: Interactive checkboxes for task completion tracking
- File Storage: Automatic saving to
.specdev
folder in workspace - Git Integration: Files can be committed or ignored as needed
-
Clone or download the project:
git clone https://github.com/yourusername/specdev-cursor-plugin.git cd specdev-cursor-plugin
-
Install dependencies:
npm install
-
Compile the TypeScript:
npm run compile
-
Open in VS Code and press F5 to run in a new Extension Development Host window.
-
Package the extension:
npm install -g vsce vsce package
-
Install the generated
.vsix
file in VS Code:- Open VS Code
- Go to Extensions view (Ctrl+Shift+X)
- Click "..." menu and select "Install from VSIX..."
- Select the generated
.vsix
file
- Command Palette: Press
Ctrl+Shift+P
(orCmd+Shift+P
on Mac) and type "Open SpecDev" - Explorer Context Menu: Right-click in the Explorer and select "Open SpecDev"
SpecDev organizes specifications by features under .specdev/specs/{feature-name}/
. Each feature contains:
requirements.md
- Requirements documentationdesign.md
- Design documentation with Mermaid diagram supporttasks.md
- Task list with interactive checkboxes
Use the feature dropdown in the SpecDev interface to select and work with different features under development.
Follow the EARS (Easy Approach to Requirements Syntax) format:
# Requirements Document
## Introduction
[Project overview and context]
## Requirements
### Requirement 1
**User Story:** As a [role], I want [feature], so that [benefit]
#### Acceptance Criteria
1. WHEN [event] THEN [system] SHALL [response]
2. IF [precondition] THEN [system] SHALL [response]
Create architecture diagrams using Mermaid:
# Design Document
## Architecture Overview
```mermaid
graph TD
A[User Interface] --> B[Business Logic]
B --> C[Data Layer]
C --> D[Storage]
sequenceDiagram
participant U as User
participant S as System
participant D as Database
U->>S: Request
S->>D: Query
D->>S: Response
S->>U: Result
### Tasks Tab
Manage tasks with interactive checkboxes:
```markdown
# Task List
## Sprint 1
- [ ] Task 1: Implement user authentication
- [ ] Create login form
- [ ] Add validation
- [ ] Integrate with backend API
- [x] Task 2: Design database schema
- [x] Define user table
- [ ] Define product table
SpecDev follows the Kiro workflow methodology:
- Requirements First: Define clear user stories and acceptance criteria
- Design Documentation: Create visual diagrams and technical specifications
- Task Breakdown: Convert requirements into actionable tasks
- Iterative Development: Track progress with interactive checkboxes
SpecDev is designed to work seamlessly with Cursor's AI agent and the Kiro workflow. Document generation (requirements, design, tasks) is performed by interacting with the Cursor agent/chat, not directly by the extension.
- Initialize SpecDev: Use
/specdev init
to scaffold the.specdev
folder and template files. - Open the Cursor Agent/Chat: Use the built-in Cursor chat or agent interface.
- Describe Your Feature or Requirement: Enter a brief description or prompt for your feature in the chat.
- Let the Agent Guide You: The agent will use the rules and templates provided by SpecDev (in
.cursor/rules/
) to:- Rewrite your prompt into structured, EARS-formatted requirements
- Generate a detailed design document (with Mermaid diagrams)
- Break down the design into actionable tasks
- Review Checkpoints: After each step, the agent will prompt you to review and approve the generated document before moving to the next phase. You can request edits or regeneration as needed.
- Iterate: Continue the feedback-revision cycle until you are satisfied with each document.
Note: The extension itself does not call GPT or generate documents. All AI-powered generation is handled by the Cursor agent, using the rules and templates you provide.
When you run /specdev init
, SpecDev copies workflow rules into .cursor/rules/specdev-spec.mdc
and .cursor/rules/specdev-tasks.mdc
. These rules guide the Cursor agent to follow the Kiro workflow, ensuring:
- Requirements are written in EARS format
- Design documents include diagrams and technical details
- Tasks are actionable and reviewed step-by-step
You can view or edit these rules to further customize your workflow.
Extensions cannot call GPT or LLMs directly in Cursor.
All AI-powered document generation is performed by the Cursor agent/chat, using the context, rules, and templates provided by your extension.
The .specdev
folder is automatically created in your workspace. You can:
- Commit files: Add
.specdev/
to your repository to version control specs - Ignore files: Add
.specdev/
to.gitignore
for local-only documentation
your-project/
├── .specdev/
│ └── specs/
│ ├── feature-1/
│ │ ├── requirements.md
│ │ ├── design.md
│ │ └── tasks.md
│ └── feature-2/
│ ├── requirements.md
│ ├── design.md
│ └── tasks.md
└── ... (your project files)
No additional configuration is required. SpecDev works out of the box with any VS Code workspace.
npm run compile
npm run watch
npm test
cd webview
npm install
npm run build
- Fork the repository
- Create a feature branch:
git checkout -b feature-name
- Make your changes
- Test your changes
- Submit a pull request
MIT License - see LICENSE file for details.
- Feature-based organization: Files now stored under
.specdev/specs/{feature-name}/
- Feature dropdown: Select from available features under development
- Create new features: Add new features through the interface
- Improved UI: Better organization and user experience
- Initial release
- Basic three-tab interface
- Markdown editing support
- File saving to
.specdev
folder - Mermaid diagram support in design tab
- Interactive task checkboxes
For issues and feature requests, please create an issue on the GitHub repository.
- Cursor IDE - AI-powered code editor
- Kiro IDE - Amazon's specification-driven development tool
- Mermaid - Diagram and flowchart generator