By drafthq
Enforce a structured Context-Driven Development loop: draft specs and plans, enforce TDD and code coverage, run multi-dimensional code reviews, generate deployment checklists, track status, and produce standup summaries from git and Jira activity.
Create and manage Architecture Decision Records. Documents significant technical decisions with context, alternatives, and consequences. Also supports evaluate (assess proposals) and design (system design) modes.
Reviewing 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).
Performs 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'.
Handle mid-track requirement changes. Analyzes impact on completed and pending tasks, proposes amendments to spec.md and plan.md before applying.
Compute code coverage for active track or module. Targets 95%+ coverage with report and justification for uncovered lines. Complements TDD workflow.
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/ (auto-loaded). Restart Cursor. |
| 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 natively supports the .claude-plugin/ structure. Add via 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 commands/draft:review is the wedge. Once Draft has indexed your repo, you also get spec-driven planning, TDD-enforced implementation, exhaustive bug hunting, deep architectural audits, and 32 more commands covering the full development lifecycle.
npx claudepluginhub drafthq/draft --plugin draftCode transformation: Dev SDLC orchestrator (code-shipping pipeline), plan, assert, audit, review, test, refactor, debug, for-sure. Hosts engineering agents.
Persona-driven AI development team: orchestrator, team agents, review agents, skills, slash commands, and advisory hooks for Claude Code
End-to-end development workflow: design → draft-plan → orchestrate → review → pr-create → pr-review → pr-merge
GitHub Spec-Kit integration for Specification-Driven Development - define WHAT and HOW before coding
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.
Harness engineering for Claude Code — hook-enforced dual review, state-machine gates, and fail-closed safety where it counts.