Beads

gastownhall/beads/internal/templates/skills/beads

作者 gastownhalla6fcf915c05a无许可证27K 个星标收录于 2026年10月8日更新于 2026年10月8日仓库今天更新

Use when working in a repository that uses bd or Beads for durable project task tracking, issue dependencies, blocker management, multi-session handoff, or shared work memory. Trigger when the user asks to find ready work, claim or close tasks, create follow-up work, inspect blockers, recover project context, or choose between local planning and persistent project tracking.

AI 生成的概览

指导智能体使用 Beads(bd)命令行工具进行持久化项目任务跟踪、依赖管理与交接。

功能
该技能指示智能体将 Beads 作为共享的项目任务系统,而不是本地计划或临时文件。它给出命令行工作流程:初始化上下文、查找可执行或未完成任务、查看任务、原子化认领、创建后续任务以及关闭已完成工作。它还说明哪些内容应放入 Beads,例如阻塞项、依赖关系以及必须能跨线程重置或交接保留的工作,并给出规则,如避免用 Markdown 待办文件作为事实来源、不要使用交互式编辑命令。
适用场景
适用于在使用 bd 或 Beads 进行任务跟踪、问题依赖、阻塞管理、多会话交接或共享工作记忆的代码库中工作。也适合查找可执行工作、认领或关闭任务、创建后续工作、查看阻塞项、恢复项目上下文,或在本地计划与持久化跟踪之间做选择。
运行要求
需要 bd(Beads)命令行工具和 shell 访问权限,以及具有活动 Beads 工作区的代码库。该技能不附带脚本,仅为说明性指令。

Beads

Use Beads as the shared project task system. Local plans, scratch files, and personal memories are useful, but they are not the durable source of truth for project work.

First Step

Run:

bash
bd prime

If that prints nothing, check whether the repository has an active Beads workspace:

bash
bd where

Preferred Route

Use the bd CLI when shell access is available. It is the most compact and direct Beads interface.

Core CLI Workflow

  1. Find work:
bash
bd readybd list --status=openbd list --status=in_progress
  1. Inspect before editing:
bash
bd show <id>
  1. Claim work atomically:
bash
bd update <id> --claim
  1. Create durable follow-up work when implementation reveals new tasks:
bash
bd create "Short title" --description="Why this exists and what needs to be done" --type=task --priority=2
  1. Close completed work:
bash
bd close <id> --reason="Completed"

What Belongs In Beads

Use Beads for:

  • shared project tasks
  • blockers and dependencies
  • discovered follow-up work
  • work that must survive thread reset, compaction, or handoff
  • status that another person or agent should be able to resume

Use agent-local planning tools only for the current turn's execution checklist. Do not treat them as shared project state.

Rules

  • Do not create markdown TODO files as the source of truth when Beads is available.
  • Do not use bd edit; it opens an interactive editor. Use bd update flags instead.
  • Prefer --json when parsing bd output programmatically.
  • If hooks are installed, bd prime may already be injected. Run it manually when context is missing.
  • Do not auto-close or mutate tasks unless the work is actually complete.

来源与署名

来源:gastownhall/beads位于internal/templates/skills/beads提交a6fcf91

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架