SKILL227.6K installs304.2K

Diagnose

Disciplined diagnosis loop for hard bugs and performance regressions. Reproduce → minimise → hypothesise → instrument → fix → regression-test. Use when user says "diagnose this" / "debug this", reports a bug, says something is broken/throwing/failing, or describes a performance regression.

Type
Skill
Author
mattpocock
Category
Testing
GitHub stars
304.2K
Installs
227.6K
Last updated
November 1, 2026

Install

npx skills add https://github.com/mattpocock/skills --skill diagnose

Use cases


Frequently Asked Questions

What are the steps of the loop?

Reproduce, minimise, hypothesise, instrument, fix, then regression-test.

When should I reach for this skill?

When something is broken, throwing, failing, or slowing down and the cause isn't obvious.

Does it fix the bug or just find it?

It covers both — the loop ends with a fix and a regression test.


About this skill

Runs a disciplined diagnosis loop for hard bugs and performance regressions: reproduce, minimise, hypothesise, instrument, fix, then add a regression test. Use it when something is broken, throwing, failing, or slowing down and the cause isn't obvious. It's structured to prevent jumping to a fix before the problem is understood.

Summary written with AI assistance from the project's public description.


Categories


More from mattpocock


Similar Skills