add-bead
免费Capture free-text work as a tracked Beads issue. Use when the user runs /add-bead or wants to quickly file a Beads issue.
中文简介正在准备中。当前显示原文说明。
Investigate a reported problem, diagnose root cause, and file a Beads issue with a behavior-level TDD fix plan.
中文简介正在准备中。当前显示原文说明。
查看安装方法安装前可以查看交给 AI 代理的指令内容。
Investigate a bug report or broken behavior, find the root cause, and create follow-up work in Beads with a durable RED/GREEN fix plan. Keep the workflow mostly hands-off: ask only for the minimum problem statement, then investigate.
Do not use this skill for broad product planning, feature decomposition, or already-approved implementation work. Use to-prd, to-issues, or tdd instead when those are the actual request.
Get one brief description of the issue from the user. If they have not provided one, ask exactly one clarifying question first:
What's the problem you're seeing?
Do not start with a long questionnaire. Preserve any reported symptoms, expected behavior, reproduction hints, logs, affected environment, and impact, then begin diagnosis.
Before source exploration, read relevant knowledge and repo guidance:
knowledge/_shared.yamlknowledge/repos/<repo>.yaml for the affected repo, when presentrepos/<repo>/AGENTS.md and repos/<repo>/CONTRIBUTING.md when investigating a sub-repobd show <id> when the report is attached to an issueIf a knowledge file is missing, note that briefly and continue. Do not let missing documentation block investigation.
Trace the behavior far enough to identify root cause, not just the symptom. Investigate:
Use a focused Explore subagent only when the codebase area is broad or unfamiliar. For small, local bugs, direct reading and targeted search are enough. Do not delegate merely to add ceremony.
Keep private diagnostic notes as needed, but keep the final issue durable. The issue should describe behaviors, contracts, and outcomes rather than fragile file paths, line numbers, or implementation details that could become stale after a refactor.
Before filing, decide:
If root cause is not known, file an investigation task rather than pretending to know the fix. State the leading hypothesis and the evidence needed to confirm it.
Write an ordered list of RED/GREEN cycles. Each cycle is one vertical slice:
RED: Add one failing test that captures an observable broken behavior.
GREEN: Make the smallest code change that passes that test.
Rules:
Before creating a new Beads issue or changing an existing issue's priority, read and apply:
.claude/skills/beads-priority-assignment/SKILL.md
Set an explicit priority on every created issue when the local bd CLI supports priority. If no urgency, impact, or deferral-risk signal exists, use the harness default P2 / 2 / medium.
Use Beads by default. Do not create a GitHub issue unless the user explicitly asks for GitHub or the repository's documented workflow requires it.
For a new issue:
bd create --type task --title "<durable behavior title>" --description "<issue body markdown>" --priority <value> --repo .
bd comments add <new-id> "worklog: triaged root cause; TDD fix plan added."
For an existing issue:
bd comments add <id> "worklog: triage result - <one-line root cause and TDD plan summary>."
bd update <id> --priority <value>
Use this issue body shape:
<issue-template>Describe the durable behavior:
Summarize the diagnosis:
Avoid file paths, line numbers, and implementation-specific diffs in this section. Mention modules only at the level a maintainer would still understand after a refactor.
RED: Write a behavior test proving <expected observable outcome>.
GREEN: Implement the smallest change that makes that behavior pass.
RED: Write a behavior test proving <next important edge case or regression guard>.
GREEN: Extend the implementation only as needed for that behavior.
REFACTOR: Clean up duplication or naming after all planned tests pass, then rerun the relevant quality gates.
After creating or updating the issue, report the Beads ID, chosen priority, and a one-line root-cause summary to the user.
还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Capture free-text work as a tracked Beads issue. Use when the user runs /add-bead or wants to quickly file a Beads issue.
中文简介正在准备中。当前显示原文说明。
Register a new sub-repo in the knowledge base.
中文简介正在准备中。当前显示原文说明。
Add focused Bun unit tests for mission-critical behavior and edge cases — not blanket coverage.
中文简介正在准备中。当前显示原文说明。
Answer questions about the codebase from knowledge files. Use when the user runs /ask or asks a domain/knowledge question about the repos.
中文简介正在准备中。当前显示原文说明。
Meta-skill for creating Agent Forge skills under .claude/skills/ with SKILL.md, optional references/ and scripts/, and Bun scaffolds. Use when the user wants to add or author a skill, scaffold a new skill folder, or align skill docs with harness conventions (JSON script output, Beads for tasks).
中文简介正在准备中。当前显示原文说明。
Choose Beads issue priority (P0–P4, numeric, or named) from urgency, impact, and risk when creating or triaging work.
中文简介正在准备中。当前显示原文说明。