不是泛泛而谈,蒸馏一个专家,带走ta的方法论和专业判断。Distill expert methodology into agent kits — not vibes persona prompts
SaferSkills independently audited luban-skill (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Nuwa 蒸馏人,鲁班蒸馏专业方法论。 Luban distills professional methodology — not individuals, not vibes.
luban 在 Claude Code 里把"生成专业角色"这件事从"让 LLM 描述一个专家"升级为"按方法论蒸馏一个可被真专家承认的角色"。完整方法论在 references/generation-protocol.md,可独立运行。
luban 仅在用户明确说出 "luban" 或 "鲁班" 时激活。不蹭以下泛触发:
❌ 不触发:
✅ 触发:
如果用户的请求像 "make me a senior X" 但没说 luban:不要主动 hijack——用户可能想要其他工具或就地解决。可以告知 luban 存在,但不强行接管。
完整流程在 references/generation-protocol.md,共 16 个 section(v0.3.0 起含 §13a 交互协议)。
高层步骤分为 7 个 phase(与 generation-protocol §13a.1 的 banner 一致)。每个 phase 开始前必须显示阶段 banner:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📍 Phase N / 7 — <phase name>
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━7 个 phase(每步都 view 对应 reference 文件,不要凭记忆执行):
每个 phase 用 TaskCreate 维护可视进度。状态信号约定(per §13a.3):🔍 调研中 / 📝 起草中 / 🧪 验证中 / ✅ 通过 / ⚠️ 需确认。
按需 view,不要一次性全 view (会占用过多 context):
首次进入 luban 时必 view:
references/generation-protocol.md — 主流程Step 1-2 (输入解析 + 族判定) 时 view:
references/domain-families.md — 5 个族骨架 + 每族的 critique corpora 候选类型Step 3 (零种子时) view:
references/seed-prospect-protocol.md — 候选清单格式规范Step 4-5 (生成产物) 时:
identity.json 前 view: references/identity-schema.jsonSOUL.md 前 view: references/soul-template.md<role>/SKILL.md 前 view: references/skill-template.mdcapability-map.md 前 view: references/capability-map-template.mdcritique-rubric.md 前 view: references/critique-rubric-template.mdanti-patterns.md 前 view: references/anti-patterns-template.md用户后续要 evolve 角色时 view:
references/evolution-protocol.mdluban 分两类 stopping points:stop-and-ask(用户不答 luban 走不下去)+ preview-and-confirm(用户审阅 luban 阶段产物)。
user_confirmed 必须 true 才能写入 evolution.jsonl在确认门 B 触发之前,luban 必须用 AskUserQuestion 三选一确认 display name:
详细命名规则见 references/soul-template.md "命名的决策流程" 段。
默认落盘路径:.claude/skills/<role-slug>/(v0.3.0 起改为 Claude Code 原生 skills 路径)
.claude/skills/ 才能被框架原生发现(/ 浮动面板可见 + auto-activation)<role-slug> 建议短形态(如 ai-pm 而非 ai-product-manager),因为 .claude/skills/ 路径已隐含"这是一个 agent skill".claude/skills/ 下,每个角色一个子目录.claude/skills/luban-skill/,不冲突.claude/skills/INDEX.md —— 每次生成新角色 append 一行(slug / display name / family / sub-specialty / vibes_risk)成功生成的角色目录:
.claude/skills/<role-slug>/
├── SOUL.md
├── SKILL.md (角色的 Claude Code skill 入口,不是 luban 本身)
├── identity.json (符合 references/identity-schema.json)
├── evolution.jsonl (初始空)
├── GENERATION_REPORT.md (诚实账单)
└── references/
├── capability-map.md
├── critique-rubric.md
├── anti-patterns.md
├── corpora-candidates.md (zero-shot 模式必有)
└── source-material/ (用户提供的种子原文存档)GENERATION_REPORT.md 是强制产物,必含 (per generation-protocol §14):
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.