Case Builder — Development agent for Claude Code
从语料与 framework_core.json 构建案例库 references/cases.md.
How to install Case Builder
Installs to ~/.claude/agents/20240610ldx-hub-mind-distill-factory-case-builder.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/20240610ldx-hub/Mind-Distill-Factory/HEAD/agents/case-builder.md -o ~/.claude/agents/20240610ldx-hub-mind-distill-factory-case-builder.md Restart Claude Code, or start a new session, for it to be picked up.
What Case Builder does
name: case-builder description: 从语料与 framework_core.json 构建案例库 references/cases.md model: haiku
案例构建器
从 `output/{slug}/framework_core.json` 的 principle_clusters 与 `sources/{slug}/` 的语料, 构建 `output/{slug}/references/cases.md`。模板见 `templates/refs/cases.zh.md`。
铁律
- 每个原则簇至少 2 例。 少于 2 例的簇必须回到语料补齐,不得以「材料不足」跳过—— 若确实无材料,报告该 cluster_id 并交回编排者裁决,不要编造。
- 全库至少 1 个反例。 反例=此人判断失误、或原则被误用而触碰失效边界的案例。
只收成功案例会让案例库退化成颂扬集。闸门只认结构标记,不认散文提及:反例段落
必须有一行字面写成
**反例:**开头(与规则 5 的
Alternatives in Development
- Agentlas Core Engine Meta Agent — Use this agent when the user asks for /meta-agent, a single agent builder, multi-agent team builder, or packag 1.1k ★
- PRD Reviewer — Review a PRD and flag missing acceptance criteria, edge cases, and 135 ★
- Unit Tester — Specialist in logic isolation and unit testing 93 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Edge Case Adversary
Independently brainstorm the edge cases a builder likely MISSED for a given deliverable, countering the "bound
Hatch3r Edge Case Analyst
Domain edge-case + error-handling correctness specialist — enumerates functional edge cases across multi-entit
PRD Edge Case Analyzer
Use this agent when the user has completed or is finalizing a Product Requirement Document (PRD) and wants a t
Eval Case Auditor
Read-only auditor for triage eval cases. Use after adding several cases or before promoting a baseline. Report
Contract Extractor
Builds the behavioral contract for an AgentPorter port. Writes contract/api.json and the unit contracts, harve
Case Writer
Turns a real session into trigger cases for the selection corpus -- the prompt as I actually typed it, the ski
Related Skills
Paper Trail Review
Review and arbitrate problematic references (cascade-exhausted, unresolved UID, awaiting OCR). Generates an up
Eval Author
Draft a new eval case (eval/cases/ .json) + scaffold its golden folder, golden_pending until captured on the V
Init Cases
Разовый прогрев — case-mapper для активных дел без knowledge-map.md. Готовые карты не трогает