debug-loop
Skill0 starsChanged 3 months agoMITView on GitHub
Use when something is broken, a test fails, or the user reports behaviour that does not match expectations.
4 other projects use a version of this.
Adopted by
Most recently taken up by
- proffesor-for-testing/agentic-qetheir own version, first seen Oct 25, 2026
- archiforge/agent-crafttheir own version, first seen Oct 20, 2026
- tyroneross/claude-code-debuggertheir own version, first seen Sep 7, 2026
- creoaurea-devlab/agentic-skillstheir own version, first seen Mar 18, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- proffesor-for-testing/agentic-qe★ 524same name
- creoaurea-devlab/agentic-skills★ 4same name
- tyroneross/claude-code-debugger★ 2same name
- archiforge/agent-craft★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository11 other files it gives its agents.
- api-docsSkill
- code-reviewSkill
- commit-messageSkill
- explain-this-fileSkill
- onboarding-mapSkill
- perf-passSkill
- pr-descriptionSkill
- refactor-safelySkill
- security-passSkill
- sql-reviewSkill
- write-testsSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 7 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Write down the observed behaviour and the expected behaviour in one line each.
- Distinctive: line 14
Read the actual error and stack trace in full, including the frames you think are boilerplate.
- Distinctive: line 17
Run the experiment. If the hypothesis survives, narrow further.
- Distinctive: line 20
Add a regression test that fails on the old code.
- Distinctive: line 24
Never swallow an error to make output look clean.
- Distinctive: line 25
Never add defensive branches for states that cannot occur.
- Distinctive: line 26
Never declare it fixed without rerunning the reproduction.
“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Debug loop
Find the cause. Do not patch the symptom.
Procedure
- Write down the observed behaviour and the expected behaviour in one line each.
- Get a reproduction you can run on demand. Without one, everything after this is guessing.
- Read the actual error and stack trace in full, including the frames you think are boilerplate.
- Form the smallest hypothesis that would explain all the evidence.
- Design one cheap experiment that would disprove it: a log line, a breakpoint, a narrowed input.
- Run the experiment. If the hypothesis survives, narrow further. If it dies, form a new one.
- Bisect when you are stuck: halve the input, halve the code path, or
git bisectthe history. - Once found, fix the cause, then confirm the reproduction now passes and the wider suite still passes.
- Add a regression test that fails on the old code.
Rules
- Never swallow an error to make output look clean.
- Never add defensive branches for states that cannot occur.
- Never declare it fixed without rerunning the reproduction.
Output format
Symptom: ...
Reproduction: <command>
Hypotheses tried: <list, each marked confirmed or ruled out>
Root cause: <file:line and why>
Fix: <what changed>
Regression test: <path>Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

