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.
中文简介正在准备中。当前显示原文说明。
Scaffold course exercise directories with numbered sections, exercise variants, required readmes, and repo-specific validation. Use when creating exercise stubs, adding a course section, or safely renaming exercises.
中文简介正在准备中。当前显示原文说明。
查看安装方法安装前可以查看交给 AI 代理的指令内容。
Create course exercise directory structures that match the owning repository's documented conventions, then validate them with that repository's configured checks.
AGENTS.md, CLAUDE.md, CONTRIBUTING.md, course docs, and any existing exercise README conventions.bd show <id> and add a concise worklog: comment before broad filesystem edits.exercises/ structure and naming before creating new directories.pnpm ai-hero-cli internal lint only when that repo documents it; otherwise use the local lint, test, or validation script.exercises/ as XX-section-name/, for example 01-retrieval-skill-building/.XX.YY-exercise-name/, for example 01.03-retrieval-with-bm25/.XX; exercise number is XX.YY.Each exercise needs at least one variant subfolder:
problem/ - student workspace or prompt material.solution/ - reference implementation or answer.explainer/ - conceptual material with no student work required.When the plan does not specify variants, default to explainer/. If the source course uses numbered explainer variants such as explainer.1/, follow the local pattern.
Each created variant folder needs a readme.md that:
TODO.md files or stray code TODO comments. Student-facing exercise prompts are fine when the course format expects them.Minimal stub:
# Exercise Title
Description here.
If a variant contains code, add a main.ts only when the owning repo or exercise format requires it. For stub-only exercises, a readme-only variant is acceptable unless local validation says otherwise.
readme.md per variant with a title and description.main.ts only for variants that need executable code.worklog: comment summarizing what was scaffolded when the work is tracked in Beads.Use the repo's own checks. Typical validation looks for:
problem/, solution/, explainer/, or a documented numbered explainer variant.readme.md files exist and are non-empty..gitkeep are not present unless local docs explicitly require them.speaker-notes.md are not introduced.main.ts exists only where required and contains more than a placeholder line when validation expects executable code.Example conditional command selection:
# If documented by the owning repo:
pnpm ai-hero-cli internal lint
# Otherwise use local repo checks, for example:
bun run lint
bun run test
pnpm test
When renumbering or moving exercises:
git mv for tracked directories so history follows the rename.worklog: comment when the work is tracked.Example:
git mv exercises/01-retrieval/01.03-embeddings exercises/01-retrieval/01.04-embeddings
Given:
Section 05: Memory Skill Building
- 05.01 Introduction to Memory
- 05.02 Short-term Memory (explainer + problem + solution)
- 05.03 Long-term Memory
Create:
exercises/05-memory-skill-building/05.01-introduction-to-memory/explainer/readme.md
exercises/05-memory-skill-building/05.02-short-term-memory/explainer/readme.md
exercises/05-memory-skill-building/05.02-short-term-memory/problem/readme.md
exercises/05-memory-skill-building/05.02-short-term-memory/solution/readme.md
exercises/05-memory-skill-building/05.03-long-term-memory/explainer/readme.md
The 05.02-short-term-memory exercise gets all three requested variants; the others default to explainer/.
还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
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.
中文简介正在准备中。当前显示原文说明。