Diagnosing Bugs
Build a tight feedback loop before you guess. Reproduce, isolate, then patch.
Claude Cursor Codex Grok debugfeedback loopsroot cause
What it is
Diagnosing Bugs is discipline, not a stack trace parser. It stops the agent from shotgun-editing five files. You get a reproduction, a failing test or log, and one change that should make the failure disappear.
When to use
Use on stubborn bugs, flaky tests, and regressions where the first guess already failed.
How to install
Add diagnosing-bugs/SKILL.md to user-level skills so it loads in every repo.
# Claude Code
.claude/skills/diagnosing-bugs/SKILL.md
# Grok Build
.grok/skills/diagnosing-bugs/SKILL.md
# Codex
.agents/skills/diagnosing-bugs/SKILL.mdExample prompt
The checkout total is wrong only for EUR. Diagnose. Do not patch until you can reproduce it.
Source: Open Agent Skills ecosystem