Назад към всички

beads

// Task tracking with beads-rust (br) for managing development work

$ git log --oneline --stat
stars:7
forks:1
updated:February 22, 2026
SKILL.mdreadonly
SKILL.md Frontmatter
namebeads
descriptionTask tracking with beads-rust (br) for managing development work
argument-hint[list|create|close|show|update|sync]

/beads - Task Tracking

Track development tasks using br (beads-rust).

Quick Reference

br list                                  # List all open beads
br create -p 2 "scope: title"           # Create a new bead
br update <id> --description "..."       # Add description (ALWAYS do this)
br show <id>                             # Show bead details
br update <id> --status=in_progress      # Claim a bead
br close <id>                            # Close a completed bead
br delete <id>                           # Tombstone a bead (wrong/invalid)
br sync --flush-only                     # Export to JSONL for git tracking
br sync --import-only                    # Import JSONL changes from other agents

Core Principle: One Bead = One Commit

  • Close beads BEFORE committing (so JSONL reflects closed state in the diff)
  • Every commit message includes a Bead: <id> trailer (see /commit)
  • Never batch multiple bead closures into one commit
  • The pre-commit hook warns if the Bead: trailer is missing

Priority Levels

PriorityFlagUse For
P1-p 1Critical — production issues, security, blockers
P2-p 2Important — current sprint work, active features
P3-p 3Backlog — nice-to-have, future work, tech debt

Bead Titles

Use a scope prefix matching the area of work:

br create -p 2 "auth: add JWT token refresh"
br create -p 1 "api: fix rate limit bypass"
br create -p 3 "tests: add integration coverage for payments"

Bead Descriptions

Every bead MUST have a description. Add it immediately after creation:

br update <id> --description "$(cat <<'EOF'
## Context
Brief background on why this work is needed.

## Task
What specifically needs to be done.

## Acceptance Criteria
- [ ] Concrete deliverable
- [ ] Another deliverable
EOF
)"

Agent Protocol

At Start

Claim the bead from your task prompt:

br update <bead-id> --status=in_progress

If no bead ID was provided, create one yourself.

At Completion

br close <id>                  # Close BEFORE committing
br sync --flush-only           # Export to JSONL
git add .beads/issues.jsonl    # Stage the closed-state JSONL
# Then commit with Bead: <id> trailer and push (see /commit)

Atomic Sizing

Before creating a bead, ask: can one agent complete this in one session?

  • 1-3 acceptance criteria, 1-3 files = good atomic bead
  • 4+ criteria or 4+ files = split into multiple beads
  • Multiple "and then..." = definitely split