diagnose-hard-problem

Installation
SKILL.md

Diagnose

A discipline for hard bugs. Skip phases only when explicitly justified.

When exploring the codebase, use the project's domain glossary to get a clear mental model of the relevant modules, and check ADRs in the area you're touching.

Note: In addition to this skill, you may consider activating the systematic-debugging skill when diagnosing complex, persistent issues.

Phase 1 - Build a feedback loop

This is the skill. Everything else is mechanical. If you have a fast, deterministic, agent-runnable pass/fail signal for the bug, you will find the cause - bisection, hypothesis-testing, and instrumentation all just consume that signal. If you don't have one, no amount of staring at code will save you.

Spend disproportionate effort here. Be aggressive. Be creative. Refuse to give up.

Ways to construct one - try them in roughly this order

Installs
12
GitHub Stars
137
First Seen
May 14, 2026
diagnose-hard-problem — sammcj/agentic-coding