Shape how AI codes
A lightweight framework for spec-driven development with Claude Code and other AI coding assistants.
AI assistants need better workflows. We're building them together.
Draft is a community-driven framework that teaches AI assistants to ask questions, create specs, and verify implementations before jumping to code.
Help us define best practices for agentic coding.
Spec-driven development workflow encoded as reusable skills:
curl -fsSL https://raw.githubusercontent.com/heiko-braun/draft/main/install.sh | bash
Installs to ~/.local/bin and configures PATH for bash and zsh.
Using Go:
go install github.com/heiko-braun/draft/cmd/draft@latest
Manual Download:
Download pre-built binaries from releases:
draft init # Claude Code & Cursor
draft init --agent claude # Claude Code only
draft init --agent cursor # Cursor only
/spec Add user authentication
/implement authentication
/verify-spec authentication
/refine authentication
Review specs collaboratively with inline comments, threaded discussions, and approvals:
draft review
Opens a browser UI with rendered documents, inline text annotation, comment threads, and publish/sync workflow — all stored on a virtual git branch with no external dependencies.
The workflows are defined in markdown files at .claude/commands/ and .cursor/skills/. Test them, shape the details, share learnings.