Skip to content
Mike Reams

Try

Searches titles, summaries and topics across posts, work, diagrams, pages and the Toolbox resources.

↑ ↓ move · Enter open · Esc close
← AI Library

Skill · Curated · Debugging

Systematic debugging

by Jesse Vincent · reviewed by Mike Reams

Finds the root cause before touching code: reproduce, trace back to the source, form one hypothesis at a time, then fix.

Share this page ↓

What you get

A root cause with the evidence for it, and a fix at the source instead of a patch where the symptom showed.

When to use it
On any bug, test failure or unexpected behaviour, before proposing a fix.
Ask for it like this
“This test fails now and then; find the root cause before changing anything.”
Limits
No fix until the failure is reproduced; if it cannot be, it gathers more data instead of guessing.

What I changed, and why I run it

  • I dropped the evaluation fixtures and a shell script that ran an unscoped test command.
  • My rule is to reproduce a bug and find its root cause before patching. This is the procedure for that rule.
  • root cause
  • debugging
  • tracing

Source

Author
Jesse Vincent
Licence
MIT
Reviewed at
8ca22db

Reviewed 2026-10-01 Passed after edits: every file read by hand and checked for prompt injection, hidden text, network calls, shell execution and credential reads. Second opinion: skills.sh audits (opens in a new tab).

Not hosted here: get it from the author, at the commit I reviewed.