root-cause-fix
Skill0 starsChanged 11 days agoMITView on GitHub
Find and fix the real cause when something fails. Use on any error, failed check, flaky test, tool that hangs, a wrong number, or when the same step has failed twice.
3 other projects use a version of this.
Adopted by
Most recently taken up by
- jarek-janas/root-cause-fixtheir own version, first seen Nov 1, 2026
- NashEQify/forgetheir own version, first seen Oct 25, 2026
- zaphod72/claude-skillstheir own version, first seen Sep 4, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- NashEQify/forge★ 2same name
- jarek-janas/root-cause-fix★ 1same name
- zaphod72/claude-skills★ 1same 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 repository10 other files it gives its agents.
- approval-gateSkill
- certification-studySkill
- company-researchSkill
- explainer-videoSkill
- interview-prepSkill
- plain-englishSkill
- readme-polishSkill
- recruiter-replySkill
- site-shipSkill
- token-leanSkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 7 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
No fix before the cause is known.
- Distinctive: line 11
Read the whole error. The line number and message usually name the cause.
- Very specific: line 13
Ask what changed last: git log --oneline -5 and git diff HEAD~1 --stat.
- Distinctive: line 14
Check whether this failure happened before (a notes file, a lessons log, the issue tracker).
- Distinctive: line 17
Follow the data one step at a time (input, the function, what it writes, what reads that) until the first wrong value.
- Distinctive: line 27
Run the original failing command again.
- Distinctive: line 28
Run the full test suite. If a bug slipped past the tests, add a test for it.
- Distinctive: line 29
Write one line in a lessons log: what broke and the fix.
“Common” is measured: kept by at least 6 in 10 of the 3 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
Root cause first, proof last
No fix before the cause is known. No "fixed" before the original symptom is tested again.
1. Look (change nothing yet)
- Read the whole error. The line number and message usually name the cause.
- Reproduce it once with the smallest command. If you cannot reproduce it, collect more facts. Do not guess.
- Ask what changed last:
git log --oneline -5andgit diff HEAD~1 --stat. - Check whether this failure happened before (a notes file, a lessons log, the issue tracker).
2. Find the cause
- Follow the data one step at a time (input, the function, what it writes, what reads that) until the first wrong value.
- Say the cause in one sentence: "X happens because Y". If the sentence needs "maybe", keep looking.
- Two attempts failed: stop trying variations. Your model of the problem is wrong. Go back to step 1.
3. Fix
- Make the smallest change at the cause, not at the symptom. One change at a time.
- A blocked hook or a failing guard is a rule working, not a fault. Never route around it. If the rule is wrong, say so.
- A missing tool: say what is missing, show the install command, continue after the user agrees.
4. Prove and keep
- Run the original failing command again. It must pass.
- Run the full test suite. If a bug slipped past the tests, add a test for it.
- Write one line in a lessons log: what broke and the fix. A cause seen twice becomes a check or a hook.
Report (three lines)
What broke. What it affected. What you did. No story of the hunt unless asked.
Done means
The original command passes, the suite is green, and the lesson is logged.
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.

