root-cause
Skill5 starsChanged 55 days agoMITView on GitHub
Finds and fixes the actual cause of a bug instead of patching the symptom at the place it was reported. Use when debugging an error, a failing test, a crash, or wrong output, and when a bug report names one caller, page, or input. Traces the failure back to where the bad state originates and fixes it once there.
31 other projects use a version of this.
Adopted by
Most recently taken up by
- mkrz/skillstheir own version, first seen Nov 29, 2026
- lxsmnsyc/agent-skillstheir own version, first seen Nov 29, 2026
- crbnos/carbontheir own version, first seen Nov 29, 2026
- niksavis/basiclytheir own version, first seen Nov 27, 2026
- lalulali/vespyrtheir own version, first seen Nov 22, 2026
- AVP-Dev/pair-mailboxtheir own version, first seen Nov 22, 2026
Used with
Projects with it also use skill-audit, design and 7 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
jasonmichaelbell78-creatorSkillskill-audit
Interactive behavioral quality audit for individual skills. Evaluates against 12 quality categories (including T25 convergence loop and completion verification) to surface attention management issues and produce actionable decisions. Includes self-audit verification that all decisions were actually implemented. Uses convergence loops in its own discovery phase. Produces a decision record and updated skill files.
Also in 3 projects that use this
Microsoft AzureSkilldesign
Design rules and conventions for the API Center Portal. Use when editing detail pages, card components, badges, layout, navigation, sidebars, or headers. Covers badge styling, metadata placement, page navigation patterns, and layout alignment.
Also in 4 projects that use this
SentrySkillspec
Produce a verified spec — problem, desired outcome, and acceptance criteria — before building. Use when given a GitHub/Linear issue link, when starting from a fuzzy in-conversation idea, or asked to "figure out what to do" / "scope this" / "what should I build" — whenever the *what* isn't yet pinned down. Grills the ambiguities, checks the premise against the code, and produces acceptance criteria you sign off on — then hands to design-first.
Also in 3 projects that use this
sunnyclinches44Skillexplain
Explains code using real-world analogies and ASCII diagrams
Also in 3 projects that use this
SentrySkillreview
Fixture review skill.
Also in 6 projects that use this
Hugging FaceSkillimplement
Make tests pass. Invoke after /write-tests produces failing tests.
Also in 3 projects that use this
- +1 more from getsentry
Other versions31 projects use a version of this.
Word for word · 1
- Xnadir/vetted★ 5100% same
Edited · 0
None found.
Wrote their own version · 30
- crbnos/carbon★ 2.9ksame name
- formancehq/ledger★ 1.5ksame name
- jjanczur/tyran★ 78same name
- Vesely/skills★ 29same name
- composio-community/support-skills★ 18same name
- lifedever/skills-plugin★ 14same name
- lalulali/vespyr★ 11same name
- quocld/hephaestus-agent-skills★ 8same name
- jocarrd/crux-agents★ 4same name
- lxsmnsyc/agent-skills★ 4same name
20 more not listed
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.
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 4 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 28 edited versions we read keep these.
4
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 21
Check the blast radius: Search for every other caller or path through the faulty code.
- Distinctive: line 25
Prefer one guard in the shared function over one guard per caller.
- Distinctive: line 31
When the cause isn't obvious, write down your hypothesis and the observation that would confirm or refute it, then make that observation (a …
- Distinctive: line 35
If two fixes in a row haven't worked, stop editing.
“Common” is measured: kept by at least 6 in 10 of the 28 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
A bug report describes where the failure showed up, which is rarely where it started. Patching the reported spot makes that one symptom disappear while the cause keeps producing others, often in callers nobody has reported yet.
Loop
- Reproduce first. Get the failure to happen on demand: a failing test, a command, a specific input. If you can't reproduce it, say so and gather more information before changing code. A fix you can't reproduce is a guess.
- Trace backwards. From the point of failure, follow the bad value to where it was produced. Ask "where did this value come from?" until you reach the first place where the state was already wrong.
- Check the blast radius. Search for every other caller or path through the faulty code. If three callers share one broken function, the fix belongs in the function, not in the caller that happened to be reported.
- Fix at the source. Make the change where the bad state originates. Prefer one guard in the shared function over one guard per caller.
- Prove it. Re-run the reproduction and show that it now passes. Where the project has tests, add one that fails without the fix.
Hypotheses, not hunches
When the cause isn't obvious, write down your hypothesis and the observation that would confirm or refute it, then make that observation (a log line, a debugger step, a narrower test). Change one thing at a time.
If two fixes in a row haven't worked, stop editing. Re-read the error from scratch and list the assumptions you've been making; one of them is wrong.
Patching the symptom is sometimes right
Sometimes the source is out of reach, such as a third-party library or another team's service. Then patch at the boundary, and say explicitly that it's a workaround, where the real cause lives, and what a proper fix would need.
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.

