Draft - Context-Driven Development
Draft is a methodology for structured software development: Context → Spec & Plan → Implement
Available Commands
| Command | Purpose |
|---|---|
/draft:init | Initialize project (run once) |
/draft:new-track | Create feature/bug track with spec and plan |
/draft:implement | Execute tasks from plan with TDD |
/draft:status | Show progress overview |
/draft:revert | Git-aware rollback |
/draft:decompose | Module decomposition with dependency mapping |
/draft:coverage | Code coverage report (target 95%+) |
/draft:jira-preview | Generate Jira export for review |
/draft:jira-create | Push issues to Jira via MCP |
Quick Start
- •First time? Run
/draft:initto initialize your project - •Starting a feature? Run
/draft:new-track "your feature description" - •Ready to code? Run
/draft:implementto execute tasks - •Check progress? Run
/draft:status
Core Workflow
Every feature follows this lifecycle:
- •Setup - Initialize project context (once per project)
- •New Track - Create specification and plan
- •Implement - Execute tasks with TDD workflow
- •Verify - Confirm acceptance criteria met
Context Files
When draft/ exists, these files guide development:
- •
draft/product.md- Product vision and goals - •
draft/tech-stack.md- Technical constraints - •
draft/workflow.md- TDD and commit preferences - •
draft/tracks.md- Active work items
Status Markers
Used throughout plan.md files:
- •
[ ]- Pending - •
[~]- In Progress - •
[x]- Completed - •
[!]- Blocked
Intent Mapping
You can also use natural language:
| Say this... | Runs this |
|---|---|
| "set up the project" | /draft:init |
| "new feature", "add X" | /draft:new-track |
| "start implementing" | /draft:implement |
| "what's the status" | /draft:status |
| "undo", "revert" | /draft:revert |
| "break into modules" | /draft:decompose |
| "check coverage" | /draft:coverage |
| "preview jira", "export to jira" | /draft:jira-preview |
| "create jira issues" | /draft:jira-create |
Need Help?
- •Run
/draft(this command) for overview - •Run
/draft:statusto see current state - •Check
draft/tracks/<track_id>/spec.mdfor requirements - •Check
draft/tracks/<track_id>/plan.mdfor task details