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.
中文简介正在准备中。当前显示原文说明。
Generate multiple radically different interface designs before implementation. Use when designing an API, module boundary, command surface, data contract, or when the user says "design it twice".
中文简介正在准备中。当前显示原文说明。
查看安装方法安装前可以查看交给 AI 代理的指令内容。
Design an interface before building it. This skill adapts the "Design It Twice" practice from A Philosophy of Software Design: the first plausible interface is rarely the best one, so produce several different shapes, compare them, and synthesize a recommendation.
This is a design-only workflow. Do not edit implementation files, add tests, or scaffold code while using this skill unless the user explicitly starts a separate implementation task.
Before proposing designs, load the smallest useful set of harness context:
.tmp/work/.bd show <id> and note acceptance criteria, parent context, blockers, and scope limits.knowledge/_shared.yaml plus the relevant knowledge/repos/<repo>.yaml when the design touches a known repo.Ask clarifying questions only when a blocker prevents meaningful design work. Otherwise, state assumptions and continue.
Identify:
Use this prompt when requirements are missing:
What does this interface need to let callers do, who will call it, and what should remain hidden behind the boundary?
Create at least three alternatives with meaningfully different public shapes. Different names for the same method set do not count.
Use parallel subagents when they are available and appropriate for the environment. If subagents are unavailable, generate the alternatives yourself as separate passes and keep each pass anchored to a distinct design constraint.
Suggested constraints:
Subagent prompt template:
Design an interface for: <module or boundary>
Requirements:
<requirements and constraints>
Existing context:
<Beads issue, alignment scope, knowledge notes, relevant local patterns>
Design constraint for this pass:
<one distinct constraint>
Return:
1. Interface signature or command/data shape
2. Usage example from a realistic caller
3. Complexity hidden behind the interface
4. Trade-offs and failure modes
5. Verification implications
Do not implement the interface.
Show each design on its own before comparing them so the user can absorb the shape.
For each design include:
Compare the alternatives using these criteria:
Use prose instead of a large table unless the user asks for a matrix. Highlight the points where designs diverge most.
Recommend one design or a small synthesis of multiple designs. Explain why it fits the requirements and where it intentionally rejects other options.
End with:
Stop at the design recommendation. If implementation should proceed, create or update Beads work separately and follow the normal coding workflow.
Good interface designs:
还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
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.
中文简介正在准备中。当前显示原文说明。