By drafthq
Enforce a structured, context-driven development workflow: spec and plan before coding, track progress with TDD, review code against architecture, manage incidents, and gate deployments with checklists.
Primary router for planning, architecture, and track management workflows. Analyzes user intent and dispatches to new-track, decompose, adr, tech-debt, change (and related). Use for starting features, breaking down work, recording decisions, managing debt, or handling scope changes.
Ad-hoc PR/diff/file review. No track context needed. Four dimensions — security, performance, correctness, maintainability. Use for one-off reviews when you don't have or don't need a Draft track.
Git-aware revert that understands Draft tracks, phases, and tasks. Safely undo work at task, phase, or track level. Use when the user asks to 'revert this track', 'undo a phase', 'revert task X', or says 'roll back the last task', 'undo this work'.
Canonical review parent command. Runs the default three-stage review for tracks or project changes, and routes to quick-review, bughunt, deep-review, or assist-review when the user asks for explicit review depth or when the review context justifies escalation.
Generate standup summary from git history, track progress, and Jira/GitHub activity. Read-only — makes no changes to the codebase.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Stop shipping AI-generated bugs.
One command runs a three-stage review on your branch — validation, spec compliance, code quality — and writes the missing tests. Free. Open-source. MIT.
Powered by codebase-memory-mcp by DeusData — a 159-language, 100% local knowledge-graph engine.
Website · Docs · Methodology · Watch (8 min) · All Videos
Your AI assistant just wrote 200 lines. Some of them are bugs. Some don't match your patterns. Some skip tests.
/draft:review
Three stages, one command:
Free. No API keys. No paid tier. No vendor lock-in. Catches the 3 bugs you missed before they hit your reviewer.
Demo coming soon — for now, watch the 8-minute walkthrough.
One command installs Draft into your agent. No clone, no config.
npx @drafthq/draft install <host> # claude-code | cursor | codex | opencode
…or install the CLI once and reuse it:
npm install -g @drafthq/draft
draft install <host>
draft list # show every host + where it installs
Each host installs the way that host actually loads extensions — no manual steps after the command:
| Host | draft install … | What it does |
|---|---|---|
| Claude Code | claude-code | Registers the plugin via claude plugin marketplace add + claude plugin install (user scope). Restart Claude Code. |
| Cursor | cursor | Copies the plugin into ~/.cursor/plugins/local/draft/, writes .cursor-plugin/plugin.json, registers draft@draft-plugins in Cursor's plugin registry, and enables it. Restart Cursor (or Developer: Reload Window). Existing installs upgrade with draft install cursor --force. |
| Codex | codex | Writes ./AGENTS.md, which Codex reads automatically. |
| opencode | opencode | Writes ./AGENTS.md + ~/.agents/skills/draft/, both auto-discovered. |
Flags: --global / --project to pick scope, --dry-run to preview, --force to overwrite, --no-graph to skip the graph-engine fetch.
Then, in Claude Code (after restarting):
/draft:init # 5-phase codebase analysis (one-time)
/draft:review # ← run this on every branch before you push
Run /draft for the full command map.
/plugin marketplace add drafthq/draft
/plugin install draft
Cursor requires .cursor-plugin/plugin.json; the draft install cursor command also registers the plugin via the shared Claude plugin registry that Cursor reads on many builds. To add from source instead, use Settings > Rules, Skills, Subagents > Rules > New > Add from Github:
https://github.com/drafthq/draft.git
Copilot reads a committed instructions file — copy it directly (not a draft install host):
mkdir -p .github && curl -o .github/copilot-instructions.md \
https://raw.githubusercontent.com/drafthq/draft/main/integrations/copilot/.github/copilot-instructions.md
curl -o .gemini.md https://raw.githubusercontent.com/drafthq/draft/main/integrations/gemini/.gemini.md
/draft:review — 32 more commandsnpx claudepluginhub drafthq/draft --plugin draftCode transformation: Dev SDLC orchestrator (code-shipping pipeline), plan, assert, audit, review, test, refactor, debug, for-sure. Hosts engineering agents.
End-to-end development workflow: design → draft-plan → orchestrate → review → pr-create → pr-review → pr-merge
Verification-first engineering toolkit for Claude Code. 15 skills across a 5-phase spine (Investigate → Design → Implement → Verify → Ship), 8 specialist agents, an interactive setup wizard. Every skill has rationalizations + evidence requirements. Built for senior ICs and tech leads.
AI-First SDLC — zero-debt development with validators, enforcement, and workflows
Harness engineering for Claude Code — hook-enforced dual review, state-machine gates, and fail-closed safety where it counts.
Codebase exploration, refactoring, and quality analysis