safe-debug
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinesesafe-debug
safe-debug
Use this as the Rigor Debug / Rigor Audit skill. The installed slug remains
for compatibility.
safe-debugUse the shared operating principles in
; this skill should guide
conservative diagnosis without blocking the model from finding the local root
cause.
../../references/agent-operating-principles.md将此作为Rigor Debug / Rigor Audit技能使用。为保证兼容性,已安装的slug仍为。
safe-debug请遵循中的共享操作原则;本技能应引导进行保守诊断,同时不阻碍模型找到本地根本原因。
../../references/agent-operating-principles.mdWhen to apply
适用场景
- The user provides a traceback, terminal error, or concrete training or inference failure symptom.
- The user wants diagnosis, root-cause narrowing, and minimal patch suggestions before code is changed.
- The user wants a safe debug flow with explicit human approval before mutation.
- 用户提供回溯信息、终端错误或具体的训练/推理失败症状。
- 用户希望在修改代码前先进行诊断、缩小根本原因范围,并获得最小化补丁建议。
- 用户需要一个安全的调试流程,在进行代码变更前需获得明确的人工批准。
When not to apply
不适用场景
- When the user wants a broad repository walkthrough without an active failure.
- When the task is speculative experimentation or code adaptation.
- When the user is asking for a large refactor or readability rewrite.
- 用户希望在无活跃故障的情况下进行广泛的仓库遍历。
- 任务为推测性实验或代码适配。
- 用户要求进行大规模重构或可读性重写。
Clear boundaries
明确边界
- Diagnose first.
- Do not modify repository code by default.
- If a patch is needed, propose the smallest fix and require explicit approval first.
- Escalate savepoint or branch creation before medium-risk or high-risk changes.
- A debug fix is not automatically a research contribution; if it changes experiment meaning or comparability, say so explicitly.
- 先诊断。
- 默认不修改仓库代码。
- 若需要补丁,提出最小化修复方案,并要求先获得明确批准。
- 在进行中高风险变更前,需先创建保存点或分支。
- 调试修复并非自动等同于研究贡献;若其改变了实验的含义或可比性,请明确说明。
Output expectations
输出预期
debug_outputs/DIAGNOSIS.mddebug_outputs/PATCH_PLAN.mddebug_outputs/status.json
debug_outputs/DIAGNOSIS.mddebug_outputs/PATCH_PLAN.mddebug_outputs/status.json
Notes
注意事项
Use , , and the shared .
references/debug-policy.md../../references/research-rigor-principles.mdreferences/research-pitfall-checklist.md请参考、以及共享的。
references/debug-policy.md../../references/research-rigor-principles.mdreferences/research-pitfall-checklist.md