Test & debugMIT

Diagnosing bugs

by Matt Pocock (opens in a new tab) mattpocock/skills

Builds a fast failing feedback loop first, then narrows to the cause.

Installation

Skills CLI

Skills CLI command
npx skills@latest add mattpocock/skills --skill diagnosing-bugs

Requires Node.js and npm. Choose your agents in the installer; add -g for a global installation.

Fieldbook review

Reviewed 27 Sept 2026

Treats a reproducible loop as the finish line of phase one. Includes advice for flaky and non-deterministic bugs.

  • LicenceMIT
  • FrontmatterValid name and description
  • Risky patternsNone found
  • Size139 lines
  • Last checked27 Sept 2026 · 77f3cf31bc99b2f49af943222526531fcc9fc41d047626d3640e875e85af3e84

What it can touch

  • Edits code

    Changes files in your project.

  • Runs commands

    Runs shell commands such as tests, builds or installs.

Read the source

Fieldbook links to the original instead of copying it, so you always read the version you install.

skills/engineering/diagnosing-bugs/SKILL.md on GitHub (opens in a new tab)