Agent Skills
› Hmbown/CodeWhale
› debug
debug
GitHub用于处理故障、回归和崩溃等问题的调试技能。通过复现、最小化、定位和根因分析,区分症状与根源,在授权前仅提供诊断证据而非直接修复。
Trigger Scenarios
系统出现故障或崩溃
出现不稳定的测试用例(flakes)
输出结果错误
代码行为发生回归
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


