root-cause-analysis
Skill19 starsChanged 6 months agoMITView on GitHub
Use when debugging any bug, test failure, or unexpected behavior - before proposing a fix. Drives you to the underlying cause instead of patching the symptom. Pairs with superpowers:systematic-debugging.
10 other projects use a version of this.
Adopted by
Most recently taken up by
- JeffreyFerreiras/ai-skillstheir own version, first seen Oct 5, 2026
- Wrosinski/heddletheir own version, first seen Sep 20, 2026
- arjunprabhulal/agent-skillstheir own version, first seen Aug 3, 2026
- aictrl-dev/skillstheir own version, first seen Jul 15, 2026
- Noorkhalel/saas-ai-skillstheir own version, first seen Jul 12, 2026
- Rokurolize/codex-skillstheir own version, first seen Jun 6, 2026
Used with
Projects with it also use code-review.
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.
GoogleSkillcode-review
Adversarial systems, concurrency, memory-model, and architecture code review protocol. Use this skill whenever asked to review code, PRs, diffs, or branches in Filament.
Also in 3 projects that use this
Other versions10 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 10
- itseffi/agentic-os★ 115same name
- markpitt/claude-skills★ 23same name
- redhat-et/rhdp-rca-plugin★ 11same name
- viacheslav-tronko/claude-code-harness★ 6same name
- arjunprabhulal/agent-skills★ 4same name
- aictrl-dev/skills★ 2same name
- Noorkhalel/saas-ai-skills★ 2same name
- JeffreyFerreiras/ai-skills★ 1same name
- Rokurolize/codex-skills★ 0same name
- Wrosinski/heddle★ 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 repository14 other files it gives its agents.
- automation-firstSkill
- clean-code-typescriptSkill
- code-splittingSkill
- final-responseSkill
- gauge-improvementsSkill
- karpathy-guidelinesSkill
- mobile-qaSkill
- orchestrationSkill
- qa-sharedSkill
- requirement-intelligenceSkill
- technical-writingSkill
- ui-ux-pro-maxSkill
- web-design-guidelinesSkill
- web-qaSkill
The file
Files
Root cause analysis
Fix the cause, not the symptom. A fix you can't explain is a guess.
Process
- Reproduce reliably. A bug you can't reproduce, you can't confirm you fixed. Build the minimal repro.
- Gather evidence. The real error, stack, logs, inputs, and the actual code path. Read the code — don't theorize from the function name.
- Form hypotheses, then falsify. List plausible causes; test each against evidence with a targeted probe. Keep the ones that explain all the observations.
- Ask "why" until you hit the mechanism (5 whys). "Null here" → why null → which caller → why that path → the real defect.
- Confirm before fixing. Prove the cause (a probe that toggles the behavior). Only then change code.
- Fix at the right level, add a regression test that fails before / passes after, and check for siblings (the same mistake elsewhere).
Anti-patterns
- Shotgun changes hoping something works. Suppressing the error (try/catch,
?.,!) without understanding it. Declaring victory without reproducing the fix. Fixing the symptom one layer above the real cause.
When stuck
Two failed cycles on the same signature → escalate to the Bug Council (/cdt:bug-council) for
multi-lens diagnosis.
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.

