Claude-skill-registry bd-workflow
How to use bd (beads) for issue tracking, ready work, status updates, and comments in this repo.
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/bd" ~/.claude/skills/majiayu000-claude-skill-registry-bd-workflow && rm -rf "$T"
manifest:
skills/data/bd/SKILL.mdsource content
bd (beads) Workflow Guide
This document expands the abbreviated rules in
AGENTS.md. Read this whenever you interact with task tracking, planning docs, or MCP helpers.
Why bd?
- Dependency-aware: track blockers, dependents, and discovered-from links.
- Git-friendly: bd auto-syncs to
, so repos capture task history..beads/issues.jsonl - Agent-optimized: machine-readable JSON output (
) plus "ready" filtering.--json - Single source of truth: prevents duplicate trackers, markdown TODOs, or ad-hoc spreadsheets.
Quick Start Commands
bd ready --json -n 0 # find unblocked work bd create "Issue title" -t task -p 2 --json bd update bd-42 --status in_progress --json bd close bd-42 --reason "Completed" --json
Always run bd with
--json. Pipe/parse as needed.
Issue Types & Priorities
- Types:
,bug
,feature
,task
,epic
.chore - Priorities:
(critical) through0
(backlog). Respect existing priority unless the PM/user changes it.4
Workflow for AI Agents
- Check ready work with
. Do this before asking what to work on.bd ready --json -n 0 - Claim the task:
(add notes if relevant).bd update <id> --status in_progress --json - Implement / test / document the change.
- Discover new work? Create a linked issue (e.g.,
).bd create "Fix follow-up" -p 1 --deps discovered-from:<parent> --json - Complete the task via
when the PR merges.bd close <id> --reason "Completed" --json - Commit
alongside code. Never leave tracker changes uncommitted..beads/issues.jsonl
Auto-Sync Behavior
- bd exports to
automatically (5s debounce) after changes..beads/issues.jsonl - After
, bd imports newer JSONL back into the local state. No manual sync needed.git pull
MCP Integration (Optional)
- Install:
.pip install beads-mcp - Add to
:~/.config/claude/config.json
{ "beads": { "command": "beads-mcp", "args": [] } }
- Use
calls instead of the CLI if your client supports MCP.mcp__beads__*
Planning Document Hygiene
AI-generated planning/design docs should live under
history/ (add it to .gitignore if desired). Keeping the repo root clean avoids confusing ephemeral plans with durable docs.
Important Rules (Do & Don't)
- ✅ Use bd for all task tracking.
- ✅ Include discovered-from dependencies to show provenance.
- ✅ Keep
in every relevant commit..beads/issues.jsonl - ✅ Store planning docs in
.history/ - ❌ No markdown TODO lists or alternative trackers.
- ❌ No forgetting
.--json - ❌ No cluttering the repo root with temporary planning files.
Need More Context?
See
README.md / QUICKSTART.md for broader project background, but treat bd as the authoritative view of work.