‹ 首页

safe-debug

@lllllllama · 收录于 昨天 · 上游提交 2 天前

Rigor Debug / Rigor Audit skill for deep learning research work. Use when the user pastes a traceback, terminal error, CUDA OOM, checkpoint load failure, shape mismatch, NaN loss symptom, or training failure and wants conservative diagnosis before any patching, with debug fixes clearly separated from research contributions. Do not use for broad refactoring, speculative adaptation, automatic exploratory patching, or general repository familiarization.

适合你,如果需要安全调试深度学习代码且不影响研究贡献

/ 通过 npx 安装 校验哈希
npx oh-my-skill add lllllllama/rigorpilot-skills/safe-debug
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- lllllllama/rigorpilot-skills/safe-debug
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify lllllllama/rigorpilot-skills/safe-debug
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
GitHub stars
~401最小装载
~497含声明引用
~1.7K文本包总量
索引托管

怎么用

商店整理自技能原文 · 版本 3ab5052 · 表述以原文为准
它做什么

当您粘贴深度学习训练或推理中的具体错误(如报错信息、显存溢出、检查点加载失败、形状不匹配、NaN损失等)时,Claude 会先诊断根因,然后保守地提出最小修复方案,但不会自动修改代码,而是请求您确认。最终输出诊断报告、补丁计划及状态文件。

什么时候触发

当您粘贴终端错误、训练失败症状(如形状不匹配、NaN损失)并希望进行保守诊断时触发。

装好后可以这样说
Claude会分析错误并输出诊断文件。
Claude会进行根因分析。
Claude会检查加载错误并给出建议。
技能原文 SKILL.md作者撰写 · MIT · 3ab5052

safe-debug

Use this as the Rigor Debug / Rigor Audit skill. The installed slug remains safe-debug for compatibility.

Use the shared operating principles in ../../references/agent-operating-principles.md; this skill should guide conservative diagnosis without blocking the model from finding the local root cause.

When 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.md
  • debug_outputs/PATCH_PLAN.md
  • debug_outputs/status.json
Notes

Use references/debug-policy.md, ../../references/research-rigor-principles.md, and the shared ../../references/research-pitfall-checklist.md.

按 MIT 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。