Agent Skills
› codewhale-hq/Codewhale
› debug
debug
GitHub用于复现、最小化、定位故障及识别根因的调试技能,强调区分症状与根因,避免盲目修复。
Trigger Scenarios
程序崩溃或失败
输出结果错误
间歇性测试失败
代码回归问题
Install
npx skills add codewhale-hq/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
- 8225f75 Current 2026-11-02 21:24


