AGENT SKILL

debug

Systematic root cause debugging. Use when diagnosing a bug, when an error recurs after a fix attempt, or before making a speculative change.

License 许可
MIT
最近更新
2026-08-19
Stars
★ 1
Forks
0

01 前言 Front Matter

name
debug
description
Systematic root cause debugging. Use when diagnosing a bug, when an error recurs after a fix attempt, or before making a speculative change.

02 资源文件 1

03 SKILL.md 正文

Debug systematically

  1. Capture the exact failure, full stack, command, environment, and recent changes.
  2. Reproduce it reliably with the smallest trigger.
  3. Trace data and control flow backwards from the failure to the first incorrect state.
  4. State one specific, testable hypothesis and predict its evidence.
  5. Test the hypothesis with the smallest useful experiment.
  6. Fix the root cause only after it is understood.
  7. Re-run the original trigger and relevant regression tests.

Do not suppress errors, guess through rapid edits, or claim a fix you cannot explain.

04 同仓库更多 Skills