systematic-debugging

Installation
SKILL.md

Systematic debugging

Use when: a test fails, a user reports a bug, or behaviour diverges from expectation.

Protocol

  1. Observe — write down what happens vs what should happen. One sentence each.
  2. Reproduce — find the smallest input that triggers the bug. If you can't reproduce it, you can't fix it.
  3. Hypothesize — name one specific cause and one prediction the bug makes if that cause is right.
  4. Test — prove or disprove the hypothesis with a change that takes less than five minutes.
  5. If wrong — hypothesize again with what you learned. Don't skip this step.

Rules

  • One hypothesis at a time.
  • Don't read the whole codebase. Start at the symptom and walk outward.
  • Reproduction is the commit-worthy artefact: capture it as a failing test before you fix anything.
  • When stuck, tell the rubber duck the last three things you ruled out. The answer is usually in what you haven't ruled out.
Installs
1
GitHub Stars
1
First Seen
Jun 21, 2026