Agent Skills
› Hmbown/Codewhale
› debug
debug
GitHub用于复现、最小化、定位故障并识别根本原因的调试技能。适用于失败、回归和崩溃场景,强调先诊断后修复,输出症状、复现步骤及根因分析。
Trigger Scenarios
程序出现崩溃或异常退出
测试结果不稳定或存在 Flake
输出结果与预期不符
发现功能回归问题
Install
npx skills add Hmbown/Codewhale --skill debug -g -y
SKILL.md
Frontmatter
{
"name": "debug",
"invocation": "model+user",
"description": "Reproduce, minimize, localize, identify root cause, and distinguish diagnosis from an authorized fix. Prefer root-cause over symptom patches."
}
Debug
When to use
Use for failures, flakes, wrong outputs, crashes, and regressions.
Non-goals
- Do not jump to a fix before reproduction/localization when the bug is unclear.
- Do not treat “run all tests” as debugging by default.
Workflow
- Reproduce or gather the strongest available failure signal.
- Minimize the case.
- Localize to component/file/line.
- State root cause vs symptoms.
- Fix only when authorized; otherwise hand back a diagnosis with evidence.
Output shape
- Symptom
- Reproduction
- Localization
- Root cause
- Fix status / next step
Version History
- b0e4926 Current 2026-07-24 17:42


