root-cause-analysis
Skill4 starsChanged 5 months agoApache-2.0View on GitHub
Hyper-scale root cause analysis (RCA), bisection, call-tree backtracking, and automated surgical remediation across massive million-file enterprise repositories.
17 other projects use a version of this.
Adopted by
Most recently taken up by
- nledford/engineering-review-boardtheir own version, first seen Nov 3, 2026
- azoghry-commits/Cognition-OStheir own version, first seen Nov 1, 2026
- Robert-Adunka/triz-skillstheir own version, first seen Nov 1, 2026
- KMaruthi2002/universal-llm-skillstheir own version, first seen Oct 25, 2026
- aictrl-dev/skillstheir own version, first seen Oct 22, 2026
- realityforge/skillstheir own version, first seen Oct 20, 2026
Used with
Projects with it also use adversarial-review and domain-modeling.
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.
MicrosoftSkilladversarial-review
Adversarial review of a system design from 6 critical perspectives -- SRE, security, staff engineer, finance, operator, and developer advocate. Produces a unified risk assessment. Use for INTERACTIVE on-demand reviews during a design conversation (/adversarial-review). For RECIPE-DRIVEN reviews (where prior step context is needed), use the systems-design-critic agent instead.
Also in 3 projects that use this
GoogleSkilldomain-modeling
Build and sharpen a project's domain model. Use when the user wants to pin down domain terminology or a ubiquitous language, record an architectural decision, or when another skill needs to maintain the domain model.
Also in 4 projects that use this
Other versions17 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 17
- itseffi/agentic-os★ 114same name
- microsoft/cat-agent-skills★ 101same name
- Robert-Adunka/triz-skills★ 14same name
- nledford/engineering-review-board★ 11same name
- microsoft/aibast-agents-library★ 8same name
- viacheslav-tronko/claude-code-harness★ 6same name
- aictrl-dev/skills★ 3same name
- azoghry-commits/Cognition-OS★ 3same name
- JacobStephens2/skills★ 2same name
- JeffreyFerreiras/ai-skills★ 1same name
7 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.
In this repository48 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- api-designSkill
- improve-codebase-architectureSkill
- architectureSkill
- cicdSkill
- cloud-infraSkill
- codebase-navigatorSkill
- code-qualitySkill
- code-reviewSkill
- code-standardsSkill
- configuration-managementSkill
- contract-testingSkill
- dependency-managementSkill
- diagnoseSkill
- documentationSkill
- dynamic-routingSkill
- enterprise-architectureSkill
- enterprise-test-suitesSkill
- git-guardrails-claude-codeSkill
- grill-meSkill
- handoffSkill
- intent-clarificationSkill
- triageSkill
- legacy-modernizationSkill
- llm-evalsSkill
- observabilitySkill
- ops-sreSkill
- performance-optimizationSkill
- to-issuesSkill
- playwrightSkill
- to-prdSkill
- setup-pre-commitSkill
- prototypeSkill
- pr-reviewSkill
- ralph-loopSkill
- requirementsSkill
- security-auditSkill
- security-patchingSkill
- startup-lifecycleSkill
- tddSkill
- testingSkill
- threat-modelingSkill
- to-issuesSkill
- token-efficiencySkill
- to-prdSkill
- ux-designSkill
- write-a-skillSkill
- zoom-outSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 16 edited versions we read keep these.
3
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 35
When a complex failure occurs (e.g., *"Insurance claim calculation is off by $124.50 on policy renewal"*):
- Distinctive: line 54
Write an isolated unit or integration test recreating the exact claim payload before touching the production code.
- Very specific: line 56
Run code_review_graph impact <target_file> to verify all other dependent insurance services (underwriting, billing, payout ledger).
- Distinctive: line 60
Run the dedicated regression test suite, typechecks, and contract tests to ensure no secondary breakages across the enterprise system.
“Common” is measured: kept by at least 6 in 10 of the 16 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
Hyper-Scale Root Cause Analysis & Automated Remediation Skill
This skill defines the methodology for pinpointing bugs, subtle edge cases, data corruptions, and performance degradations across massive (1,000,000+ files) enterprise codebases (such as Insurance, Banking, HealthTech, and ERP systems).
1. The Hyper-Scale Funnel Strategy (1.5M Files -> 1 File)
In a 1,500,000-file repository, full text search or naive scans will freeze and consume millions of tokens. Follow the Hyper-Scale Funnel:
[Level 1: Domain & Service Isolation] (1.5M files → ~500 files)
↳ Match error logs, stack traces, tenant IDs, or insurance claim IDs to the specific Domain Module (e.g. `apps/claims-engine`, `libs/underwriting-rules`)
↓
[Level 2: AST Knowledge Graph Traversal] (~500 files → ~20 files)
↳ Query `code-review-graph` / LSP for the exact Execution Seam & Call Stack (e.g., `calculateClaimDeductible()`)
↓
[Level 3: Delta & State Flow Backtracking] (~20 files → 1-3 files)
↳ Trace inputs, mutations, and database transaction queries to isolate the failing logic line
↓
[Level 4: Surgical Automated Remediation] (Exact lines modified)
↳ Run Ralph Loop: Generate test harness -> Verify repro -> Apply fix -> Run regression suite2. Deep Root-Cause Backtracking (5-Whys for Enterprise Code)
When a complex failure occurs (e.g., "Insurance claim calculation is off by $124.50 on policy renewal"):
- Symptom Isolation: Capture exact inputs (Policy schema, Claim items, State regulations) and actual vs expected output.
- Backtrack Execution Flow:
- Ingress API: What endpoint accepted the payload?
- Validation & Middleware: Did any claim sanitization alter the numbers?
- Domain Calculation Engine: Where does the deductible formula execute?
- Persistence & Database State: Is a stale exchange rate or cached tier rule being queried?
- Isolate Root Cause: Determine if the defect is:
- Code Logic Error (e.g., rounding formula, boundary condition
<=vs<). - State Drift / Stale Cache (e.g., Redis cache invalidation missing after policy update).
- Schema / Migration Inconsistency (e.g., integer vs float precision mismatch).
- Race Condition / Concurrency Lock (e.g., double claim submission without distributed lock).
- Code Logic Error (e.g., rounding formula, boundary condition
3. Surgical Remediation & Safety Protocol
- Construct Minimal Reproducing Harness:
- Write an isolated unit or integration test recreating the exact claim payload before touching the production code.
- Impact & Blast Radius Query:
- Run
code_review_graph impact <target_file>to verify all other dependent insurance services (underwriting, billing, payout ledger).
- Run
- Execute Minimal Targeted Fix:
- Modify only the offending code block. Preserve backwards compatibility for active policies.
- End-to-End Regression Verification:
- Run the dedicated regression test suite, typechecks, and contract tests to ensure no secondary breakages across the enterprise system.
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.

