# Claude Code (native installer)
curl -fsSL https://claude.ai/install.sh | bash
# Beads (task tracking)
npm install -g @beads/bd
# or: brew install beads
# OpenSpec
npm install -g @fission-ai/openspec@latest./setup.sh my-project-name
cd my-project-nameThis copies the template, initializes git, and sets up beads tracking in one step.
cp -r project-template my-project-name
cd my-project-name
rm -rf .git
git init
bd init
bd hooks install # Auto-syncs JSONL on commit/pull
cp .env.example .env # Edit with your valuesclaude
> /brain-dumpShare your project idea. Claude will populate openspec/project.md, create feature specs in openspec/specs/, fill out project docs, and create beads issues linked to each spec.
1. CHECK bd list --json / bd ready --json
2. START bd create "feat: description" -p 1 --json
bd update <id> --status in_progress
3. WORK claude (AI-assisted development)
4. CHECKPOINT git add [files] && git commit -m "checkpoint: msg (bd-xxx)"
bd sync
5. TEST npm test
6. FINISH bd close <id> --reason "Completed" --json
bd sync && git push
| Command | Purpose |
|---|---|
/start-bead |
Create/pick a beads issue and start work |
/complete-bead |
Run tests, commit, close issue, sync |
/checkpoint |
Stage, commit, sync current progress |
/status |
Show issues, git state, ready tasks |
/plan |
Plan before implementing (waits for approval) |
/tdd |
Test-driven development cycle |
/code-review |
Security and quality review |
/brain-dump |
Turn unstructured ideas into docs |
| Command | Purpose |
|---|---|
bd create "msg" -p N --json |
Create issue (priority 1-4) |
bd update <id> --status in_progress |
Mark issue active |
bd close <id> --reason "msg" --json |
Close issue |
bd list --json |
List all issues |
bd ready --json |
Show unblocked issues |
bd sync |
Sync database with git |
bd update <id> --notes "msg" |
Add notes to issue |
bd show <id> --json |
Show issue details |
Never use bd edit — it opens an interactive editor. Use bd update with flags.
- Reference files by path:
src/services/auth.ts:45-60 - Small, focused requests — one thing at a time
- Break large tasks into steps
- Use
@filesyntax in Claude Code to reference files
CLAUDE.md— Agent instructions (auto-loaded)docs/SPEC.md— Project specificationdocs/DECISIONS.md— Architecture decisionsopenspec/specs/— Feature specifications