Diagnosing Bugs

Track down hard bugs with a tight feedback loop.

By

Matt Pocock

Price

Free

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

Matt Pocock

Code Review

Matt Pocock

Review a branch against your standards and the spec.

Matt Pocock

Prototype

Matt Pocock

Answer a design question with throwaway code.

Jakub Krehel

Better Typography

Jakub Krehel

Set the type scale, spacing, and wrapping right.

Matt Pocock

Improve Codebase Architecture

Matt Pocock

Find the refactors that make a codebase easier to change.

Diagnosing Bugs

Track down hard bugs with a tight feedback loop.

By

Matt Pocock

Price

Free

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

Matt Pocock

Code Review

Matt Pocock

Review a branch against your standards and the spec.

Matt Pocock

Prototype

Matt Pocock

Answer a design question with throwaway code.

Jakub Krehel

Better Typography

Jakub Krehel

Set the type scale, spacing, and wrapping right.

Matt Pocock

Improve Codebase Architecture

Matt Pocock

Find the refactors that make a codebase easier to change.

Diagnosing Bugs

Track down hard bugs with a tight feedback loop.

By

Matt Pocock

Price

Free

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

Matt Pocock

Code Review

Matt Pocock

Review a branch against your standards and the spec.

Matt Pocock

Prototype

Matt Pocock

Answer a design question with throwaway code.

Jakub Krehel

Better Typography

Jakub Krehel

Set the type scale, spacing, and wrapping right.

Matt Pocock

Improve Codebase Architecture

Matt Pocock

Find the refactors that make a codebase easier to change.