| name | bd-issues |
| description | This skill should be used when the user asks to "create an issue", "add a task", "track a bug", "show issues", "list tasks", "close an issue", "manage dependencies", "check what's blocked", or mentions "bd", "beads", or issue tracking. Provides guidance for using the bd CLI issue tracker. |
bd Issue Tracking
bd ("beads") is a lightweight CLI issue tracker with first-class dependency support. Issues are stored locally in .beads/ and can sync via git.
When to Use bd vs TodoWrite
| Use bd | Use TodoWrite |
|---|
| Multi-session work | Single-session tasks |
| Work with dependencies | Simple checklists |
| Strategic/discovered work | Execution tracking |
| Needs persistence | Ephemeral progress |
Rule: When in doubt, prefer bd—persistence you don't need beats lost context.
Issue Structure
Every issue in this repository should include a Testing section:
## Testing
- Deploy all changes and run E2E tests (see CLAUDE.md "Deploy & Test Workflow")
- [Additional verification steps specific to the issue]
Core Commands
Creating Issues
bd create --title="Fix login bug" --type=bug --priority=2
bd create --title="Add dark mode" --type=feature --priority=2 \
--description="$(cat << 'EOF'
Implement dark mode toggle in settings.
## Requirements
- Toggle in settings page
- Persist preference
## Testing
- Run E2E tests: `make test-e2e`
EOF
)"
cat << 'EOF' | bd create --title="Complex feature" --body-file -
Description with multiple sections...
- Run E2E tests: `make test-e2e`
EOF
Priority values: 0-4 or P0-P4 (0=critical, 4=backlog). Default is P2. Do NOT use "high"/"medium"/"low".
Issue types: task, bug, feature, epic, chore
Finding Work
bd ready
bd list
bd list --all
bd list --status=in_progress
bd show <id>
bd status
Updating Issues
bd update <id> --status=in_progress
bd update <id> --assignee=username
bd update <id> --description="..."
bd update <id> --body-file -
bd close <id>
bd close <id1> <id2> <id3>
Dependencies
bd dep add <issue> <depends-on>
bd dep rm <issue> <depends-on>
bd blocked
bd graph
Analysis
bd status
bd list --all --json | jq
bd stale
Workflows
Starting Work
bd ready
bd show <id>
bd update <id> --status=in_progress
Completing Work
bd close <id>
bd sync --flush-only
Creating Dependent Work
bd create --title="Implement feature" --type=feature
bd create --title="Write tests" --type=task
bd dep add ephemeral-environments-yyy ephemeral-environments-xxx
Breaking Down Epics
bd create --title="User authentication" --type=epic
bd create --title="Login form" --type=task --parent=<epic-id>
bd create --title="Session management" --type=task --parent=<epic-id>
bd create --title="Logout flow" --type=task --parent=<epic-id>
Best Practices
- Always include Testing section in issue descriptions for this repo
- Use meaningful titles - action-oriented, specific
- Set appropriate priority - P0 for critical, P2 for normal, P4 for backlog
- Link dependencies - helps surface what's blocked
- Close issues promptly - keeps
bd ready useful
- Use
--body-file - for multi-line descriptions to preserve formatting
Additional Resources
Reference Files
For detailed command reference and advanced usage:
references/commands.md - Complete command reference with all flags