cheese
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese/cheese
/cheese
Inputs
输入内容
Accept anything the user supplies as :
$ARGUMENTS- A natural-language feature description, idea, or question.
- A spec path () or pasted spec content.
.cheese/specs/<slug>.md - A bug report, stack trace, failing test output, or reproduction steps.
- A file path, glob, or directory.
- A PR or issue reference (,
PR#142, GitHub URL).#87 - A research question about an external library, API, or pattern.
- An empty or near-empty prompt — treat as "what's next?" and clarify.
Optional flags:
- — gate dispatch behind a confirmation prompt.
--safe - — propagate through the implementation chain to terminal
--open-pr; a new PR follows/plate's explicit-choice and review-shape policy./plate - — resume an in-flight pipeline from a handoff slug or note.
--continue <slug-or-note-path> - — propagate to
--hard, which runs the final artifact-writing gate before/plateand publication./hard-cheese
If is missing entirely and there is no recent context to lean on, ask one clarifying question through the host routing guide in before classifying.
$ARGUMENTSreferences/handoff-gate.md接受用户提供的任意内容作为:
$ARGUMENTS- 自然语言描述的功能需求、创意或问题。
- 规格路径()或粘贴的规格内容。
.cheese/specs/<slug>.md - Bug报告、堆栈跟踪、测试失败输出或复现步骤。
- 文件路径、通配符或目录。
- PR或Issue引用(、
PR#142、GitHub URL)。#87 - 关于外部库、API或模式的研究问题。
- 空或近乎空的提示——视为“下一步该做什么?”并进行澄清。
可选参数:
- —— 在调度前添加确认提示作为校验。
--safe - —— 沿实现流程传递至终端
--open-pr;新PR遵循/plate的明确选择和评审形态策略。/plate - —— 从交接标识或笔记恢复正在进行的流程。
--continue <slug-or-note-path> - —— 传递至
--hard,在/plate和发布前运行最终产物写入校验。/hard-cheese
如果完全缺失且没有可依赖的近期上下文,在分类前通过中的宿主路由指南提出一个澄清问题。
$ARGUMENTSreferences/handoff-gate.mdFlow
流程
- Read the full user message, not just . Any prose accompanying the invocation is a directive list; execute or answer it before — and where it conflicts, instead of — the flow's defaults and any handoff protocol. The handoff file restores state; the user's live message overrides it.
$ARGUMENTS - Think first (silent). Model the problem internally per — restate the ask, list candidate targets, name the deciding signal. Output is the classification that drives step 2.
skills/culture/SKILL.md - Classify — match against the intent shapes in
$ARGUMENTS. Pick the highest-confidence shape; below the threshold, route toreferences/classification.md(handled by the tier-3 escalation in step 4).clarify - Clarity check (implementation intents only). Run cook's fast-path check for and
cook. Directmoldintents bypass it.plate - Escalate (if needed). Tier 1 dispatches the chosen target (writing a mini-spec via 's agent-invoked mode when the dispatch is
/moldand no spec path was supplied). Tier 2 autonomously invokes/cook --autoand/or/culturein internal mode, then re-runs the clarity check. Tier 3 blocks on a single targeted host-routed question and re-enters classification on the answer. See/briesearch.## Escalation - Wiki grounding (when hallouminate is present). Derive a search query from the dropped-in input, ground it against the wiki corpus — at most one call, corpus resolved via
mcp__hallouminate__ground(probe shape:list_corpora) — and fold the top hits into the dispatch packet asskills/mold/references/grounding.md(handoff_context.wiki_hits; see[{page, line, why}]§ Context payloads). When hallouminate is absent or no wiki corpus exists, skip and degrade perreferences/handoff-gate.md.references/optional-plugins.md - Announce — print a short block (Intent / Reason / Target, plus wiki hits when present) per the format in . Cite the signal that drove the routing decision.
## Output - Self-check — run the coherence questions in . If any fails, downgrade to
references/coherence-check.md(tier 3) orclarify.research - Dispatch — without , run the chosen skill immediately with its exact dispatch command and context packet, in the same turn as the announce. With
--safe, issue a handoff gate per--safe(recommended target pre-selected, at least one alternative,references/handoff-gate.md) and wait for the user's selection before dispatching.Stop
/cheese/mold/cook --auto/moldPortability reference: . It covers helper resolution, sub-agent dispatch, GitHub operations, and handoff transitions; prefer the bundled or repo-local helper first, and treat as optional host-provided fallback.
The handoff blocks below are the portable contract; slash commands are host renderings, not the control model.
references/harness-portability.md${CLAUDE_SKILL_DIR}- 读取完整用户消息,而非仅。 调用指令附带的任何文本内容都是指令列表;在流程默认规则和任何交接协议之前执行或响应这些内容——若存在冲突,则优先遵循用户的实时消息。交接文件用于恢复状态,但用户的实时消息拥有更高优先级。
$ARGUMENTS - 先思考(静默)。 根据在内部建模问题——重述需求、列出候选目标、指明决策依据。输出结果将驱动步骤2的分类操作。
skills/culture/SKILL.md - 分类 —— 将与
$ARGUMENTS中的意图形态进行匹配。选择置信度最高的形态;若低于阈值,则路由至references/classification.md(由步骤4中的三级升级处理)。clarify - 清晰度检查(仅针对实现类意图)。 针对和
cook执行快速路径检查。mold类意图可跳过此步骤。plate - 升级(如有需要)。 一级:直接调度选定目标(当调度指令为且未提供规格路径时,通过
/cook --auto的Agent调用模式生成迷你规格)。二级:自主以内部模式调用/mold和/或/culture,然后重新运行清晰度检查。三级:暂停流程并通过宿主路由提出一个针对性问题,获取答案后重新进入分类环节。详见/briesearch。## 升级 - Wiki关联(当hallouminate可用时)。 从输入内容生成搜索查询,在Wiki语料库中进行关联——最多调用一次,语料库通过
mcp__hallouminate__ground确定(探测形态:list_corpora)——并将顶部匹配结果作为skills/mold/references/grounding.md(格式:handoff_context.wiki_hits;详见[{page, line, why}]§ 上下文负载)加入调度数据包。若hallouminate不可用或无Wiki语料库,则跳过此步骤并根据references/handoff-gate.md降级处理。references/optional-plugins.md - 通知 —— 按照中的格式打印简短内容(意图/理由/目标,如有Wiki匹配结果则附加)。指明驱动路由决策的依据。
## 输出 - 自检 —— 运行中的一致性检查问题。若任何检查未通过,则降级至
references/coherence-check.md(三级)或clarify。research - 调度 —— 若无参数,立即使用选定Skill的精确调度命令和上下文数据包执行,与通知步骤同轮次完成。若有
--safe参数,则根据--safe触发交接校验(预选定推荐目标,至少提供一个替代选项和references/handoff-gate.md选项),等待用户选择后再进行调度。Stop
/cheese/cook --auto/mold/mold可移植性参考:。涵盖助手解析、子Agent调度、GitHub操作和交接转换;优先使用捆绑或仓库本地助手,将视为可选的宿主提供回退。
以下交接模块是可移植契约;斜杠命令是宿主渲染形式,而非控制模型。
references/harness-portability.md${CLAUDE_SKILL_DIR}Intent shapes
意图形态
The full classification table — including all intent shapes, signals, disambiguation rules, and edge cases — lives in .
references/classification.md完整分类表——包括所有意图形态、依据、消歧规则和边缘情况——位于中。
references/classification.mdEscalation
升级
For and intents, runs cook's fast-path check (§ "Standalone fast-path" in ) and escalates through three tiers: tier 1 (clear) dispatches immediately — reusing a matching spec via the spec-discovery check, or having write a mini-spec, with no user interaction; tier 2 (borderline) autonomously invokes and/or to fill missing context, then re-runs the fast-path check; tier 3 (still borderline) blocks on one targeted host-routed question and re-enters classification on the answer. does not skip the tiers, it only gates the final dispatch. Full tier mechanics and the spec-discovery check: .
cookmold/cheeseskills/cook/SKILL.md/mold/culture/briesearch--safereferences/escalation.mdNon-implementation intents bypass the escalation entirely. Their target skills own their own internal escalation: has its Phase 1 feedback-loop check, clarifies missing version/scope inline, and work directly against the supplied diff or report.
/pasteurize/briesearch/age/cure针对和意图,执行cook的快速路径检查(中的“独立快速路径”章节)并通过三个层级升级:一级(明确)立即调度——通过规格发现检查复用匹配的规格,或让生成迷你规格,无需用户交互;二级(模糊)自主调用和/或补充缺失上下文,然后重新运行快速路径检查;三级(仍模糊)暂停流程并通过宿主路由提出一个针对性问题,获取答案后重新进入分类环节。参数不会跳过升级层级,仅会对最终调度进行校验。完整层级机制和规格发现检查:。
cookmold/cheeseskills/cook/SKILL.md/mold/culture/briesearch--safereferences/escalation.md非实现类意图完全跳过升级环节。其目标Skill自行处理内部升级:有第一阶段反馈循环检查,会在内部澄清缺失的版本/范围,和直接针对提供的差异或报告执行操作。
/pasteurize/briesearch/age/cureRejected-directions check
拒绝方向检查
Before dispatching any intent, scan for rejection records whose section's one-line description substantially matches the incoming request. If a match is found:
mold.cheese/.out-of-scope/## Direction- Surface the previously-rejected direction and its rationale in one line.
- Ask the user whether to proceed with the new request or take a different angle.
- Do not suppress or re-propose the rejected direction silently.
This check is lightweight — a glob + keyword scan over . Skip silently when the directory does not exist. Non- intents skip this check.
.cheese/.out-of-scope/*.mdmold调度任何意图前,扫描中的拒绝记录,查看其章节的单行描述是否与当前请求高度匹配。若找到匹配项:
mold.cheese/.out-of-scope/## Direction- 用一行内容展示之前被拒绝的方向及其理由。
- 询问用户是继续执行新请求还是更换方向。
- 不得静默隐藏或重新提议被拒绝的方向。
此检查为轻量级——通过通配符+关键词扫描。若目录不存在则静默跳过。非意图跳过此检查。
.cheese/.out-of-scope/*.mdmold--continue
--continue参数
/cheese --continue <slug-or-note-path>/cook--continuemode:next:references/continue-resume.md--continue--auto/<next> <slug>--safe--auto/cheese --continue <slug> --auto/cheese --continue <slug-or-note-path>/cook--continuemode:next:references/continue-resume.md--continue--auto--safe/<next> <slug>--auto/cheese --continue <slug> --autoConfidence and the clarify gate
置信度与澄清校验
Treat classification confidence qualitatively (). Threshold for direct routing is or better. Below that, route to tier 3 ():
low | medium | highmediumclarify- Ask exactly one question through the host routing guide in .
references/handoff-gate.md - Offer the two most-likely targets as alternatives plus .
Stop - Re-enter with the answer.
/cheese
At or above, dispatch directly. For implementation intents, the cook-fast-path clarity check adds a second layer (see ).
medium## Escalation将分类置信度定性为()。直接路由的阈值为或更高。低于此阈值则路由至三级():
低 | 中 | 高中clarify- 通过中的宿主路由指南提出恰好一个问题。
references/handoff-gate.md - 提供两个最可能的目标作为替代选项,外加选项。
Stop - 获取答案后重新进入流程。
/cheese
置信度为或更高时直接调度。针对实现类意图,cook快速路径清晰度检查会添加第二层校验(详见)。
中## 升级Preferred tools and fallbacks
首选工具与回退方案
When the input is a path or slug, call the selected source-code read or search backend directly according to .
references/code-intelligence-routing.mdBeyond source-code routing there are router-specific tools:
| Need | Prefer | Fallback |
|---|---|---|
| PR / issue context | | the URL or numbers the user provided |
Confirming routing target with the user (only under | host-routed structured question per | a numbered list with explicit dispatch commands |
/cheese## Flow当输入为路径或标识时,根据直接调用选定的源代码读取或搜索后端。
references/code-intelligence-routing.md除源代码路由外,还有路由工具专属工具:
| 需求 | 首选方案 | 回退方案 |
|---|---|---|
| PR / Issue上下文 | | 用户提供的URL或编号 |
与用户确认路由目标(仅在 | 根据 | 带明确调度命令的编号列表 |
/cheese## 流程Output
输出
Always emit, in order:
- Detected intent — one line, e.g. .
Intent: cook (clear single-file fix) - Reason — one line citing the signal ().
reason: spec path .cheese/specs/foo.md - Target — the chosen skill, e.g. .
Target: /cook .cheese/specs/foo.md - Wiki hits — when is non-empty, one line per hit:
handoff_context.wiki_hits— always rendered before dispatch so the user sees what memory informed the routing and can challenge stale hits. Omit the section when hallouminate is absent.wiki: <page>:<line> — <why>
Then dispatch in the same turn (or, under , via the handoff gate). If is chosen, replace the dispatch with the single clarifying question.
--safeclarify始终按以下顺序输出:
- 检测到的意图 —— 单行内容,例如。
Intent: cook (clear single-file fix) - 理由 —— 单行内容指明依据()。
reason: spec path .cheese/specs/foo.md - 目标 —— 选定的Skill,例如。
Target: /cook .cheese/specs/foo.md - Wiki匹配结果 —— 当非空时,每个匹配结果一行:
handoff_context.wiki_hits—— 始终在调度前展示,以便用户了解路由决策参考的记忆内容,并可质疑过时的匹配结果。若hallouminate不可用则省略此部分。wiki: <page>:<line> — <why>
然后同轮次进行调度(或在场景下通过交接校验)。若选择,则用单个澄清问题替代调度操作。
--safeclarifyHandoff
交接
Without , cheese propagates to any target that supports it. Under , dispatch waits for the user's selection via the handoff gate; the auto variant stays the pre-selected recommended target.
--safe--auto--safeDefault targets per intent:
- clarify — single targeted question; no skills run until the answer arrives.
- research — (recommended). No auto variant.
/briesearch - rubber-duck — (recommended). Only reached when the user explicitly opted out of writes. No auto variant.
/culture - mold — (recommended). Safe-mode alternative:
/moldwhen external evidence is missing./briesearch first - cook — default: . Safe-mode alternatives:
/cook --auto <slug-or-path>(no auto),/cook <slug-or-path>if scope is borderline. A high-blast-radius or decomposable spec triggers cook's own fan pathway automatically — no separate dispatch needed./mold first - ultracook (retired) — resolves to
/ultracook <slug-or-path>, carrying forward/cook <slug-or-path>/--open-pr/--resume.--auto - plate — for commit-only work, ordinary PR publication, or stack publication/maintenance. New PRs infer an obviously cohesive single, recommend and ask for reviewable ordered stacks, and ask when shape is ambiguous; explicit choices win.
/plate - debug — default: . Safe-mode alternatives:
/pasteurize --auto <input>(no auto),/pasteurize <input>only when the user explicitly wants no-write diagnosis./culture - age — (recommended). Safe-mode alternative:
/age <ref>when the user named a path glob./age --scope <path> - age-then-cure — (recommended). Safe-mode alternative:
/age <slug>when a fresh report already exists./cure <slug>
Pre-select only the highest-confidence target. Without , surface the target as a decision, not a question — dispatch the recommended option directly. With , dispatch waits for the user's selection; the captured dispatch packet runs immediately on a non-stop choice.
--safe--safe若无参数,cheese会将参数传递给任何支持该参数的目标。若有参数,调度需等待用户通过交接校验选择;自动变体将作为预选定的推荐目标保留。
--safe--auto--safe各意图的默认目标:
- clarify —— 单个针对性问题;获取答案前不运行任何Skill。
- research —— (推荐)。无自动变体。
/briesearch - rubber-duck —— (推荐)。仅当用户明确选择不写入时触发。无自动变体。
/culture - mold —— (推荐)。安全模式替代选项:当缺少外部证据时先调用
/mold。/briesearch - cook —— 默认:。安全模式替代选项:
/cook --auto <slug-or-path>(无自动模式),若范围模糊则先调用/cook <slug-or-path>。高影响范围或可分解的规格会自动触发cook自身的分支流程——无需单独调度。/mold - ultracook (已废弃) —— 会解析为
/ultracook <slug-or-path>,并保留/cook <slug-or-path>/--open-pr/--resume参数。--auto - plate —— 用于仅提交工作、普通PR发布或堆栈发布/维护。新PR会自动推断明显连贯的单个内容,推荐并请求可评审的有序堆栈,当形态模糊时进行询问;明确选择优先。
/plate - debug —— 默认:。安全模式替代选项:
/pasteurize --auto <input>(无自动模式),仅当用户明确要求无写入诊断时调用/pasteurize <input>。/culture - age —— (推荐)。安全模式替代选项:当用户指定路径通配符时使用
/age <ref>。/age --scope <path> - age-then-cure —— (推荐)。安全模式替代选项:当已有最新报告时使用
/age <slug>。/cure <slug>
仅预选置信度最高的目标。若无参数,将目标作为决策结果展示,而非问题——直接调度推荐选项。若有参数,调度需等待用户选择;用户选择非Stop选项后,捕获的调度数据包会立即运行。
--safe--safeRules
规则
- Never paraphrase or summarise downstream skill output — that is the downstream skill's job.
- A declined question gate is an answer. Do not re-raise it; state the open item as one line and wait for freeform input.
- 永远不要转述或总结下游Skill的输出——这是下游Skill的职责。
- 被拒绝的问题校验视为一种答案。不得重新提出;用一行内容说明未完成项并等待自由输入。
References
参考文档
- — intent shapes, signals, disambiguation rules.
references/classification.md - — pre-dispatch self-checks that downgrade misroutes.
references/coherence-check.md - — cross-harness post-selection dispatch contract (shared across workflow skills).
references/handoff-gate.md - — full escalation-tier mechanics and the spec-discovery check.
references/escalation.md - — the
references/continue-resume.mdresume flow.--continue
- —— 意图形态、依据、消歧规则。
references/classification.md - —— 调度前的自检,用于纠正错误路由。
references/coherence-check.md - —— 跨框架选择后的调度契约(所有工作流Skill共享)。
references/handoff-gate.md - —— 完整升级层级机制和规格发现检查。
references/escalation.md - ——
references/continue-resume.md恢复流程。--continue