--- name: beads description: "Issue tracking with Beads (bd CLI). Use when commands need to create, query, update, or close issues, or manage dependencies." --- # Beads Issue Tracker ## Core Concepts - **bd ready** — tasks with no blockers - **Status**: open → in_progress → closed - **Types**: task, bug, feature, epic, chore - **Priority**: 0 (critical) → 4 (low), default 2 - **Dependencies**: only `blocks` affects ready ## Operations ### Get Issue Details ```bash bd show --json ``` Returns full issue data: title, description, status, type, priority, dependencies. ### Check If Issue Exists ```bash bd show ``` Exit code 0 = exists, non-zero = not found. ### Create Issue ```bash bd create --title "Title" --type task --priority 2 --description "Description" --json ``` Creates new issue. Use `--parent ` for subtasks. ### Update Status ```bash bd update --status in_progress --json ``` Valid statuses: open, in_progress, closed. ### Add Dependency ```bash bd dep add --type blocks ``` Makes blocker-id block blocked-id. Only `blocks` affects ready state. ### Get Dependency Tree ```bash bd dep tree ``` Shows issue hierarchy and blocking relationships. ### Find Ready Tasks ```bash bd ready --json ``` Lists tasks with no unresolved blockers. ### Find Blocked Tasks ```bash bd blocked --json ``` Lists tasks waiting on blockers. ### Close Issue ```bash bd close --reason "Done: summary" --json ``` Marks issue as closed with resolution reason. ### List Issues ```bash bd list --status open --json ``` Filter by status, type, priority. ### Sync ```bash bd sync ``` Synchronizes local state with remote. ## Quick Reference | Action | Command | |--------|---------| | Show issue | `bd show --json` | | Create issue | `bd create --title "..." --type task --json` | | Update status | `bd update --status in_progress` | | Add blocker | `bd dep add --type blocks` | | Ready tasks | `bd ready --json` | | Close issue | `bd close --reason "..."` | ## References - `references/types.md` — Issue types and priorities - `references/dependencies.md` — Dependency types and usage