一键导入
beadworker
Work a beads issue end-to-end — fetch, verify, claim, branch, implement, commit, and comment. Usage: /beadworker <id>
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Work a beads issue end-to-end — fetch, verify, claim, branch, implement, commit, and comment. Usage: /beadworker <id>
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | beadworker |
| description | Work a beads issue end-to-end — fetch, verify, claim, branch, implement, commit, and comment. Usage: /beadworker <id> |
beadworker
Work a single beads issue from triage to committed code.
args contains the issue ID (e.g. beads-abc).
Execute these steps in order. Stop and surface any blocker to the user before continuing.
Run bd show <id> --long --json and parse the result. Read the title, description, acceptance criteria, design, notes, dependencies, and status.
Before claiming anything, assess whether the issue is workable:
dependency_type: "blocks")If the issue fails any check, do NOT proceed. Instead:
bd comment <id> --actor "Claude" "Verification failed: <specific reason>. Needs: <what is missing or unclear>."If the issue needs clarification but is otherwise sound, do NOT proceed. Instead:
bd comment <id> --actor "Claude" "Question before starting: <specific question>"Once verified:
bd update <id> --claimbd update <id> --acceptance="<criteria>"bd update <id> --design="<approach>"bd update <id> --notes="<notes>"Keep these concise and factual — they are permanent record.
Derive a short kebab-case branch name from the issue title (e.g. fix-char-limit, add-dark-mode). Create it off main
and create a brand new worktree in ~/Projects/worktrees:
git worktree add -b <short-description> ~/Projects/worktrees/<short-description> main
cd ~/Projects/worktrees/<short-description>
npm install
Do all your work within the new worktree. Do not make changes in the main project directory.
Work the issue to completion. Follow all project conventions from CLAUDE.md:
.js / .jsx onlyRead the relevant source files before editing. Prefer editing existing files over creating new ones.
Run npm run format to apply code formatting. Run npm run lint to check for linting errors. Repeat until all issues are resolved.
Do not disable linter rules or add exceptions. If the code doesn't fit the rules, it needs to be refactored until it does.
Stage any resulting changes together with your implementation changes.
Stage only the files changed for this issue. Write a conventional commit — no scope, no mention of the issue ID. Include a body if the change warrants calling out non-obvious details (e.g. a tricky workaround, a subtle invariant, why an approach was chosen over an alternative):
git commit -m "$(cat <<'EOF'
<type>: <imperative summary under 72 chars>
[optional body — only if details warrant it]
EOF
)"
Include Co-authored-by: trailers with the appropriate model name.
Valid types: feat, fix, refactor, chore, docs, style, test.
bd comment <id> --actor "Claude" "Implemented and committed on branch <branch-name>. Ready for review."
Then report to the user: what was done, what branch, and the commit hash.
Never run bd close <id> at the end of this skill. The issue stays open for human review and merge before closing.