beads
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseBeads Issue Tracker
Beads 问题跟踪器
Git-backed issue tracking with dependency awareness. Perfect for agent task management.
基于Git的、具备依赖感知能力的问题跟踪工具。非常适合Agent任务管理。
Prerequisites
前提条件
Install beads:
bash
undefined安装Beads:
bash
undefinedInstall via cargo or download binary
Install via cargo or download binary
cargo install beads
cargo install beads
Or download from releases
Or download from releases
Initialize in a project:
```bash
bd init
在项目中初始化:
```bash
bd initCLI Reference
CLI 参考
View Ready Work
查看可开始的工作
bash
undefinedbash
undefinedGet issues with no blockers
Get issues with no blockers
bd ready --json
bd ready --json
Filter by assignee
Filter by assignee
bd ready --assignee username --json
bd ready --assignee username --json
Filter by label
Filter by label
bd ready --label "urgent" --json
bd ready --label "urgent" --json
Limit results
Limit results
bd ready --limit 5 --json
undefinedbd ready --limit 5 --json
undefinedCreate Issues
创建问题
bash
undefinedbash
undefinedBasic task
Basic task
bd create "Task title" --json
bd create "Task title" --json
With details
With details
bd create "Task title" -d "Description" -t task -p 2 --json
bd create "Task title" -d "Description" -t task -p 2 --json
As subtask of epic
As subtask of epic
bd create "Subtask" --parent epic-123 --force --json
bd create "Subtask" --parent epic-123 --force --json
With dependencies
With dependencies
bd create "Task" --deps "other-issue-id" --json
bd create "Task" --deps "other-issue-id" --json
Quick mode (less output)
Quick mode (less output)
bd create "Task" -q --json
undefinedbd create "Task" -q --json
undefinedIssue Types
问题类型
- - Bug reports
bug - - New features
feature - - General tasks
task - - Parent containers
epic - - Maintenance work
chore
- - 漏洞报告
bug - - 新功能
feature - - 常规任务
task - - 父级任务容器
epic - - 维护工作
chore
Priority Levels
优先级等级
- - Critical
0 - - High
1 - - Normal (default)
2 - - Low
3 - - Backlog
4
- - 严重
0 - - 高
1 - - 正常(默认)
2 - - 低
3 - - 待办积压
4
Update Issues
更新问题
bash
undefinedbash
undefinedChange status
Change status
bd update issue-id -s in_progress --json
bd update issue-id -s in_progress --json
Add notes
Add notes
bd update issue-id --notes "Progress update" --json
bd update issue-id --notes "Progress update" --json
Change priority
Change priority
bd update issue-id -p 1 --json
bd update issue-id -p 1 --json
Add labels
Add labels
bd update issue-id --add-label "urgent" --json
undefinedbd update issue-id --add-label "urgent" --json
undefinedClose Issues
关闭问题
bash
undefinedbash
undefinedClose with reason
Close with reason
bd close issue-id -r "Completed successfully" --json
undefinedbd close issue-id -r "Completed successfully" --json
undefinedList Issues
列出问题
bash
undefinedbash
undefinedAll open issues
All open issues
bd list --status open --json
bd list --status open --json
Filter by type
Filter by type
bd list --type bug --json
bd list --type bug --json
Filter by assignee
Filter by assignee
bd list --assignee "username" --json
bd list --assignee "username" --json
Filter by label
Filter by label
bd list --label "backend" --json
bd list --label "backend" --json
Filter by priority
Filter by priority
bd list --priority 1 --json
undefinedbd list --priority 1 --json
undefinedShow Issue Details
查看问题详情
bash
bd show issue-id --jsonbash
bd show issue-id --jsonDependencies
依赖项
bash
undefinedbash
undefinedAdd dependency (issue-a depends on issue-b)
Add dependency (issue-a depends on issue-b)
bd dep add issue-a issue-b
bd dep add issue-a issue-b
Dependency types: blocks, related, parent-child, discovered-from
Dependency types: blocks, related, parent-child, discovered-from
bd dep add issue-a issue-b -t blocks
undefinedbd dep add issue-a issue-b -t blocks
undefinedSync with Git
与Git同步
bash
undefinedbash
undefinedSync issues to git remote
Sync issues to git remote
bd sync
undefinedbd sync
undefinedHygiene Commands
清理命令
bash
undefinedbash
undefinedFind duplicate issues
Find duplicate issues
bd duplicates --dry-run
bd duplicates --dry-run
Auto-merge duplicates
Auto-merge duplicates
bd duplicates --auto-merge
bd duplicates --auto-merge
Find stale issues (no activity)
Find stale issues (no activity)
bd stale --days 14 --json
bd stale --days 14 --json
Cleanup old closed issues
Cleanup old closed issues
bd cleanup --dry-run
bd cleanup -f
undefinedbd cleanup --dry-run
bd cleanup -f
undefinedInstall Git Hooks
安装Git钩子
bash
undefinedbash
undefinedAuto-sync on commit
Auto-sync on commit
bd hooks install
undefinedbd hooks install
undefinedSystem Info
系统信息
bash
undefinedbash
undefinedCheck version
Check version
bd --version
bd --version
Project info
Project info
bd info --json
undefinedbd info --json
undefinedWorkflow Patterns
工作流模式
Session Start
会话开始
bash
undefinedbash
undefinedSee what's ready to work on
See what's ready to work on
bd ready --json
undefinedbd ready --json
undefinedWorking on a Task
处理任务时
bash
undefinedbash
undefinedStart working
Start working
bd update task-id -s in_progress --json
bd update task-id -s in_progress --json
Add progress notes
Add progress notes
bd update task-id --notes "Halfway done" --json
bd update task-id --notes "Halfway done" --json
Complete
Complete
bd close task-id -r "Implemented and tested" --json
undefinedbd close task-id -r "Implemented and tested" --json
undefinedEpic Planning
史诗任务规划
bash
undefinedbash
undefinedCreate epic
Create epic
bd create "User Authentication" -t epic --json
bd create "User Authentication" -t epic --json
Add subtasks
Add subtasks
bd create "Design auth flow" --parent auth-epic --force --json
bd create "Implement login" --parent auth-epic --force --json
bd create "Add tests" --parent auth-epic --force --json
bd create "Design auth flow" --parent auth-epic --force --json
bd create "Implement login" --parent auth-epic --force --json
bd create "Add tests" --parent auth-epic --force --json
Add dependencies between subtasks
Add dependencies between subtasks
bd dep add implement-id design-id -t blocks
bd dep add tests-id implement-id -t blocks
undefinedbd dep add implement-id design-id -t blocks
bd dep add tests-id implement-id -t blocks
undefinedEnd of Session
会话结束
bash
undefinedbash
undefinedSync to git
Sync to git
bd sync
undefinedbd sync
undefinedWorktree Mode
工作树模式
When using git worktrees, disable the daemon:
bash
export BEADS_NO_DAEMON=1使用git工作树时,禁用守护进程:
bash
export BEADS_NO_DAEMON=1Or per-command
Or per-command
bd --no-daemon ready --json
undefinedbd --no-daemon ready --json
undefinedBest Practices
最佳实践
- Always use for parseable output
--json - Use at session start to see unblocked work
bd ready - Add dependencies to express task relationships
- Use epics for grouping related tasks
- Run before ending sessions
bd sync - Install hooks for automatic sync:
bd hooks install
- **始终使用**以获得可解析的输出
--json - **使用**在会话开始时查看无阻塞的工作
bd ready - 添加依赖项以表达任务间的关系
- 使用史诗任务对相关任务进行分组
- **运行**在会话结束前
bd sync - 安装钩子以实现自动同步:
bd hooks install