agentleFS
kaynetikkaynetik/skills/rca/SKILL.md

rca

Skill1 starsChanged 8 months agoMITView on GitHub

Root cause analysis for bugs, incidents, failed tests, build errors, outages, and unexpected behavior. Use when the user asks for RCA, root cause, why something failed, or asks to diagnose a problem from code, logs, tests, traces, tickets, or terminal output.

15 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use handoff and tdd.

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.
  • MicrosoftSkill

    handoff

    Compact the current conversation into a handoff document for another agent to pick up.

    Also in 4 projects that use this

  • GoogleSkill

    tdd

    Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.

    Also in 3 projects that use this

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 14 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
  1. Distinctive:

    Prefer causes supported by code, logs, tests, config, version changes, or reproducible behavior.

    line 17
  2. Distinctive:

    If evidence is incomplete, say what is unknown and name the next smallest check.

    line 18
  3. Distinctive:

    Use this format unless the user asks otherwise:

    line 22
  4. Distinctive:

    Do not speculate beyond the evidence.

    line 40
  5. Distinctive:

    Do not recommend broad rewrites unless the evidence points there.

    line 41
  6. Distinctive:

    Do not hide uncertainty.

    line 42
  7. Distinctive:

    When multiple causes are plausible, rank them by evidence and propose one discriminating check.

    line 43

“Common” is measured: kept by at least 6 in 10 of the 14 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Root Cause Analysis

Goal

Find the most likely root cause from available evidence. Stay brief, explicit, and falsifiable.

Method

  1. Identify the context: language, framework, runtime, toolchain, environment, and failure mode.
  2. Separate observed facts from assumptions. Do not invent missing logs, code paths, services, timings, or user actions.
  3. Trace backward from the symptom to the earliest credible cause.
  4. Prefer causes supported by code, logs, tests, config, version changes, or reproducible behavior.
  5. If evidence is incomplete, say what is unknown and name the next smallest check.

Output

Use this format unless the user asks otherwise:

Root cause: <one concise sentence>

Evidence:
- <fact that supports the cause>
- <fact that supports the cause>

Fix:
- <smallest corrective action>

Confidence: <high|medium|low> because <short reason>

Rules

  • Be concise. Do not pad with process language.
  • Do not speculate beyond the evidence. Label hypotheses as hypotheses.
  • Do not recommend broad rewrites unless the evidence points there.
  • Do not hide uncertainty.
  • When multiple causes are plausible, rank them by evidence and propose one discriminating check.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.