delegate-fable

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Delegate to Fable

委托给Fable

Delegate through Herdr with one explicit mode:
  • review
    : Keep Fable read-only. Use for plans, diffs, bugs, architecture, tests, or independent verification.
  • implement
    : Make Fable the sole writer. Stop editing until Fable finishes, then inspect and verify its work.
Default to
review
when the user's authorization is ambiguous. Never infer permission to edit from phrases such as "take a look" or "check this".
通过Herdr进行委托时需指定一种明确模式:
  • review
    :保持Fable为只读状态。适用于计划、差异对比、漏洞、架构、测试或独立验证场景。
  • implement
    :让Fable作为唯一编写者。在Fable完成工作前停止编辑,之后检查并验证其成果。
当用户授权不明确时,默认使用
review
模式。绝不能从“看一看”或“检查一下”这类表述中推断出编辑权限。

Prepare the handoff

准备任务交接

Create a self-contained task containing:
  • the objective and relevant project context;
  • the exact scope and files when known;
  • current evidence, errors, or competing hypotheses;
  • constraints and explicit non-goals;
  • required verification and return format.
Do not forward the entire conversation. Preserve only information needed to complete the delegated task.
Before
implement
, inspect the current workspace state and preserve unrelated or pre-existing changes. Tell Fable not to commit, check in, shelve, push, switch branches, or alter workspace configuration unless the user explicitly requested it.
创建一个独立完整的任务,包含:
  • 任务目标及相关项目上下文;
  • 已知的精确范围和文件;
  • 当前的证据、错误或相互矛盾的假设;
  • 约束条件及明确的非目标;
  • 要求的验证方式和返回格式。
不要转发整个对话内容,仅保留完成委托任务所需的信息。
在执行
implement
模式前,检查当前工作区状态并保留无关或已有的变更。告知Fable除非用户明确要求,否则不要执行提交、检入、搁置、推送、切换分支或修改工作区配置的操作。

Run the delegation

执行委托

Resolve this skill's directory and invoke its script. Pass the task with
--task
,
--task-file
, or stdin.
bash
bash <skill-dir>/scripts/delegate-fable.sh review \
  --target-title "Fable 5 Reviewer" \
  --task "Review the current change for correctness, regressions, and missing tests."
bash
bash <skill-dir>/scripts/delegate-fable.sh implement \
  --task "Implement the agreed fix within the stated scope and run the relevant verification."
The script must:
  1. Honor
    --target
    first, then
    --target-title
    . A requested target is mandatory: if it is missing or busy, stop instead of falling back to another Cursor pane.
  2. Without an explicit target, prefer a settled pane titled
    Fable 5 Reviewer
    , then reuse another idle Fable Cursor Agent in the current Herdr workspace. Split only when no Fable pane exists.
  3. Submit the task, handle the known Cursor Enter fallback, wait for settlement, and return visible output.
  4. Leave the Fable pane open for follow-up work.
Do not manually duplicate these steps unless the script reports a concrete failure.
Default to one complete Fable turn per hypothesis. If the response lacks the required handoff sections, report an incomplete handoff; do not start a new pane or automatically send an open-ended continuation. On timeout, send Escape to cancel the active turn, collect its last output, and stop.
定位此skill的目录并调用其脚本。通过
--task
--task-file
或标准输入传递任务内容。
bash
bash <skill-dir>/scripts/delegate-fable.sh review \
  --target-title "Fable 5 Reviewer" \
  --task "Review the current change for correctness, regressions, and missing tests."
bash
bash <skill-dir>/scripts/delegate-fable.sh implement \
  --task "Implement the agreed fix within the stated scope and run the relevant verification."
脚本必须满足以下要求:
  1. 优先遵循
    --target
    参数,其次是
    --target-title
    。目标是必填项:如果目标缺失或处于忙碌状态,应停止操作,不要 fallback 到其他Cursor面板。
  2. 如果没有明确指定目标,优先选择标题为
    Fable 5 Reviewer
    的已稳定面板,然后复用当前Herdr工作区中其他空闲的Fable Cursor Agent。仅当不存在Fable面板时才新建面板。
  3. 提交任务,处理已知的Cursor Enter fallback情况,等待任务完成,并返回可见输出。
  4. 保持Fable面板处于打开状态,以便后续工作。
除非脚本报告具体失败,否则不要手动重复这些步骤。
默认每个假设对应一次完整的Fable任务周期。如果响应缺少所需的交接部分,需报告交接不完整;不要新建面板或自动发送开放式的续期请求。如果超时,发送Escape键取消当前任务周期,收集其最后输出并停止操作。

Handle the result

处理结果

For
review
, report Fable's findings with your own assessment. Do not implement findings unless the user separately authorizes changes.
For
implement
:
  1. Resume ownership only after Fable settles.
  2. Inspect the actual changed files and version-control state.
  3. Run proportionate verification independently.
  4. Report what Fable changed, what you verified, and any remaining risk.
If Fable is
blocked
, show the blocking output to the user. Never auto-approve permissions, destructive actions, commits, check-ins, shelvesets, pushes, or branch changes.
If the script reports that no Herdr environment is available, stop and explain that the skill must run from an agent pane inside Herdr.
对于
review
模式,需结合自身评估报告Fable的发现。除非用户单独授权变更,否则不要根据发现进行实现。
对于
implement
模式:
  1. 仅在Fable任务完成后恢复所有权。
  2. 检查实际变更的文件和版本控制状态。
  3. 独立执行相应的验证操作。
  4. 报告Fable做出的变更、你的验证内容以及任何剩余风险。
如果Fable处于
blocked
状态,需向用户展示阻塞输出内容。绝不要自动批准权限、破坏性操作、提交、检入、搁置集、推送或分支变更。
如果脚本报告不存在可用的Herdr环境,需停止操作并说明此skill必须在Herdr内的Agent面板中运行。