返回 CodeWhale
SKILL.md
根目录 / crates / tui / assets / skills / debug / SKILL.md
1 ---
2 name: debug
3 description: Reproduce, minimize, localize, identify root cause, and distinguish diagnosis from an authorized fix. Prefer root-cause over symptom patches.
4 invocation: model+user
5 ---
6
7 # Debug
8
9 ## When to use
10 Use for failures, flakes, wrong outputs, crashes, and regressions.
11
12 ## Non-goals
13 - Do not jump to a fix before reproduction/localization when the bug is unclear.
14 - Do not treat “run all tests” as debugging by default.
15
16 ## Workflow
17 1. Reproduce or gather the strongest available failure signal.
18 2. Minimize the case.
19 3. Localize to component/file/line.
20 4. State root cause vs symptoms.
21 5. Fix only when authorized; otherwise hand back a diagnosis with evidence.
22
23 ## Output shape
24 - Symptom
25 - Reproduction
26 - Localization
27 - Root cause
28 - Fix status / next step
29
29 lines MARKDOWN