add-bead
FreeCapture free-text work as a tracked Beads issue. Use when the user runs /add-bead or wants to quickly file a Beads issue.
The English summary is being prepared. Showing the original description.
Add focused Bun unit tests for mission-critical behavior and edge cases — not blanket coverage.
The English summary is being prepared. Showing the original description.
See how to installReview the instructions the agent will receive before you install.
Adds high-signal unit tests using the Bun test runner (bun test). Optimize for correctness on critical paths, invariants, and failure modes — not chasing 100% line coverage.
ok / error), idempotency, security-sensitive branches.null/undefined, duplicate keys, unicode, very large strings when the code promises behavior there.mock / injected dependencies.foo.ts → foo.test.ts beside it, or __tests__/foo.test.ts if the repo already does that. Match existing layout in the target package.any without a // justification: comment (harness rules).AGENTS.md and the sub-repo’s AGENTS.md if working under repos/<name>/.package.json scripts and any bunfig.toml / Vitest config — default harness expectation is bun test.List 3–8 behaviors worth locking in (happy path + failures + one boundary each). Skip low-value branches.
Use Bun’s built-in describe / test / expect API (Jest-compatible).
import { describe, expect, test } from "bun:test";
import { parseEnvelope } from "./envelope.ts";
describe("parseEnvelope", () => {
test("accepts valid ok envelope", () => {
const input = JSON.stringify({ ok: true, data: { id: 1 }, error: null });
expect(parseEnvelope(input)).toEqual({ ok: true, data: { id: 1 }, error: null });
});
test("rejects malformed JSON", () => {
expect(() => parseEnvelope("{")).toThrow();
});
});
bun test path/to/module.test.ts
bun test
Fix failures before claiming the task is done.
bun run typecheck
If the repo defines bun run lint, run it too.
worklog: comment).console.log left in committed testsbun test passes; TypeScript strict clean for new coderepos/<name>/)Follow that repo’s test runner and conventions if they differ from Bun. Still apply the same critical-path-first prioritization.
Put long fixtures or golden files in references/ only when it keeps tests readable — prefer small inline data for unit tests.
No reviews yet. Tell others what you thought.
No login needed. Share how it worked for you, ask a question, or note where it did not run.
No comments yet. Be the first to write one.
Capture free-text work as a tracked Beads issue. Use when the user runs /add-bead or wants to quickly file a Beads issue.
The English summary is being prepared. Showing the original description.
Register a new sub-repo in the knowledge base.
The English summary is being prepared. Showing the original description.
Answer questions about the codebase from knowledge files. Use when the user runs /ask or asks a domain/knowledge question about the repos.
The English summary is being prepared. Showing the original description.
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).
The English summary is being prepared. Showing the original description.
Choose Beads issue priority (P0–P4, numeric, or named) from urgency, impact, and risk when creating or triaging work.
The English summary is being prepared. Showing the original description.
Ultra-compressed communication mode that preserves technical accuracy while dropping filler. Use when the user explicitly says "caveman mode", "talk like caveman", "use caveman", "less tokens", "be brief", or invokes /caveman.
The English summary is being prepared. Showing the original description.