/draft:draftfrom draft
Lists Draft's canonical workflow commands and explains the Context-Driven Development flow (init, plan, implement, review). Useful when you need help choosing a workflow step or understanding available Draft commands.
Ships in draft. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Draft is a methodology for structured software development: Context → Spec & Plan → Implement → Verify
/draft:implement before a track has an approved spec and plandraft/tracks.md for existing active tracks before creating new ones.ai-context.md, product.md, tech-stack.md, or workflow.md contextRead context first. Follow the workflow.
init → plan → implement → review → upload
↑ |
└────────────┘ (review auto-invoked at phase boundaries)
These 7 canonical parent commands coordinate and orchestrate the entire development lifecycle, automatically routing to specialist subcommands when appropriate.
The 5 router commands provide intent-based dispatch into the 20+ specialist commands. Use the router form for discoverability; leaf commands remain supported for compatibility.
| Router | Scope | Dispatches To (examples) |
|---|---|---|
/draft:plan | Planning & architecture | new-track, decompose, adr, tech-debt, change |
/draft:ops | Operations & lifecycle | deploy-checklist, incident-response, standup, status, revert |
/draft:docs | Authoring | documentation |
/draft:discover | Investigation & quality | debug, bughunt, quick/deep-review, coverage, testing-strategy, learn, tour, impact, assist-review |
/draft:jira | Jira integration (preview, create, review) | - |
These commands remain available for targeted, specialist execution outside parent command orchestration. Every command below appears exactly once in this reference.
/draft:new-track - Create a new feature/bug track with structured spec.md and plan.md/draft:decompose - Perform module-level decomposition with dependency mapping/draft:change - Safely manage and document mid-track requirement changes and plan updates/draft:adr - Write Architecture Decision Records to capture permanent technical choices/draft:quick-review - Fast, lightweight 4-dimension code review for staged changes or diffs/draft:bughunt - Exhaustive 14-dimension codebase-wide bug hunt with verification protocol/draft:deep-review - Rigorous module-scoped lifecycle audit (ACID compliance, resilience)/draft:coverage - Measure and report code coverage (targeting 95%+ for changed code)/draft:testing-strategy - Design testing plan and identify coverage/mocking strategies/draft:learn - Discover coding patterns from recent Git diffs and update draft/guardrails.md/draft:status - Display a comprehensive overview of active track phases, tasks, and modules/draft:revert - Safely roll back active tasks or commits using Git-aware tracking/draft:debug - Structured 4-stage debugging flow (reproduce → isolate → diagnose → fix)/draft:standup - Summarize git activity and file changes for standup reporting/draft:deploy-checklist - Pre-deployment checklist verification with automated rollback triggers/draft:upload - Pre-upload gate: review, HLD approvals, validator chain, then git upload/PR/draft:incident-response - Coordinate incident lifecycle (triage → mitigate → postmortem)/draft - Display this command overview and help reference/draft:init - Single scope-aware entry point: builds the root-first code graph (draft/graph/) and project context; run at the repo root or inside any sub-module (monorepo context comes from running it at root)/draft:discover - Phase 0 code-spike report (hotspots, mode flags, open questions) before spec freeze/draft:documentation - Generate structured codebase documentation (API, Onboarding, Runbooks)/draft:tech-debt - Audit technical debt across 6 key dimensionsIntegration:
| Command | Purpose |
|---|---|
/draft:jira | Unified Jira workflows (preview / create / review) |
To maintain code quality and delivery velocity, the Core Workflow operates as a closed-loop feedback system with explicit validation checkpoints and recovery actions.
flowchart TD
A[Start: /draft:init] --> B[Plan: /draft:plan /new-track]
B --> C{Plan Valid?}
C -- "No (Revise Plan)" --> B
C -- "Yes (Approve Spec)" --> D[Implement: /draft:implement]
D --> E{Tests Pass & Spec Met?}
E -- "No (Debug/Fix)" --> D
E -- "Yes (Verify)" --> F[Review: /draft:review]
F --> G{Quality Gates Passed?}
G -- "No (Reject)" --> H[Analyze Feedback & Recover]
H -- "If Blocked" --> I[Mark Blocked [!] / ADR / Decompose]
H -- "If Scope Drifted" --> J[Run /draft:change]
H -- "If Code Defects" --> D
G -- "Yes (Ship)" --> K[Ops: /draft:ops /deploy-checklist]
| Checkpoint | Criteria | Recovery |
|---|---|---|
| 1. Planning | Track ID in draft/tracks.md; scope_includes/scope_excludes set; acceptance criteria stated; task checklist in plan.md with [ ] markers. | Requirements or design drifted → /draft:change. |
| 2. Implementation / TDD | Code compiles; unit + integration tests pass; coverage ≥95% for changed lines. | Blocked by external/architectural constraints → mark task [!], then /draft:adr or /draft:decompose. Build/test failure → /draft:debug (do not bypass). |
| 3. Quality Gate / Review | All change-scoped gates in /draft:review pass; when TDD is on, coverage gate auto-runs. | Review failed → fix flagged items, run /draft:bughunt if structural issues suspected, then re-run /draft:review. |
/draft:statusParses active tracks, phases, tasks, and module mappings:
PROJECT: Bookshelf API Service
[track-042] OAuth2 Integration — [~] In Progress (Phase 2/3, 4/9 tasks)
[x] 1.1 Design OAuth database schema
[x] 1.2 Generate migration files
[~] 2.1 Implement token generation endpoint ← CURRENT
[ ] 2.2 Add authorization middleware
[!] 2.3 Integrate third-party providers (Blocked: API key pending)
/draft:implementReads plan.md, picks the current incomplete task, and continues it (TDD-aware):
Active track: [track-042] OAuth2 Integration
Current task: [~] 2.1 Implement token generation endpoint
TDD: on → writing tests/auth/token_generation_test.go (Red stage)
Test failed as expected → proceeding to implementation.
Used throughout plan.md files and referenced by the validation checkpoints above:
| Marker | Meaning |
|---|---|
[ ] | Pending |
[~] | In Progress |
[x] | Completed |
[!] | Blocked |
You can also use natural language. Prefer the 5 router commands (/draft:plan, /draft:ops, /draft:docs, /draft:discover, /draft:jira) for grouped access; they analyze intent and dispatch.
draft/ context directory./draft (this command) for a high-level overview./draft:status to inspect current tracks and task completion rates.draft/tracks/<track_id>/spec.md for functional requirements.draft/tracks/<track_id>/plan.md for technical task details.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub drafthq/draft --plugin draft33 skills in this plugin
/adrCreate and manage Architecture Decision Records. Documents significant technical decisions with context, alternatives, and consequences. Also supports evaluate (assess proposals) and design (system design) modes./assist-reviewReviewing someone else's PR for handoff/sign-off. Isolates structural changes from trivial edits, flags HLD/LLD drift and guardrail violations, points the reviewer at what to scrutinize. Use when prepping to review another engineer's work — NOT for first-pass self-review (use review / quick-review)./bughuntPerforms an exhaustive 14-dimension bug hunt across the codebase using Draft context (architecture, tech-stack, product) for false-positive elimination. Generates a severity-ranked report with code evidence, data flow traces, and suggested fixes. Optionally writes regression tests. Use when the user asks to find bugs, audit code for defects, scan for vulnerabilities, or says 'hunt bugs', 'find bugs', or 'code audit'.Other plugins' skills for the same job