Diagnosing Bugs is an agent skill by Matt Pocock that turns debugging into a disciplined loop, gated phase by phase.
What it does
Starts by building a pass/fail check that fails on this exact bug.
Reproduces and minimizes the failure before guessing at causes.
Forms hypotheses, then instruments the code to test them.
Fixes the bug and adds a regression test.
Redacts secrets from any output it shows you.
When to use it
Reach for it when something is broken, throwing, failing, or slow, and a quick fix hasn't worked.
How to get it
The skill is free on GitHub under the MIT license, in Matt Pocock's skills repo. Your agent can reach for it on its own when the task fits, or you can call it by name.
more skills
Diagnosing Bugs is an agent skill by Matt Pocock that turns debugging into a disciplined loop, gated phase by phase.
What it does
Starts by building a pass/fail check that fails on this exact bug.
Reproduces and minimizes the failure before guessing at causes.
Forms hypotheses, then instruments the code to test them.
Fixes the bug and adds a regression test.
Redacts secrets from any output it shows you.
When to use it
Reach for it when something is broken, throwing, failing, or slow, and a quick fix hasn't worked.
How to get it
The skill is free on GitHub under the MIT license, in Matt Pocock's skills repo. Your agent can reach for it on its own when the task fits, or you can call it by name.
more skills
Diagnosing Bugs is an agent skill by Matt Pocock that turns debugging into a disciplined loop, gated phase by phase.
What it does
Starts by building a pass/fail check that fails on this exact bug.
Reproduces and minimizes the failure before guessing at causes.
Forms hypotheses, then instruments the code to test them.
Fixes the bug and adds a regression test.
Redacts secrets from any output it shows you.
When to use it
Reach for it when something is broken, throwing, failing, or slow, and a quick fix hasn't worked.
How to get it
The skill is free on GitHub under the MIT license, in Matt Pocock's skills repo. Your agent can reach for it on its own when the task fits, or you can call it by name.


