agentleFS
jabrenajabrena/cursor-rules-java/skills/022-root-cause-analysis/SKILL.md

022-root-cause-analysis

Skill452 starsChanged 3 months agoApache-2.0View on GitHub

Use when a framed problem needs root-cause investigation rather than a symptom-level fix, applying Five Whys, Fishbone (Ishikawa), Current Reality Tree, and constraint identification. This should trigger when an issue's Root Cause Analysis point of view needs evaluation, or when a maintainer directly asks to find the root cause of a problem before proposing a fix. Part of Plinth Toolkit

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    MUST: read references/022-root-cause-analysis.md before applying Root Cause Analysis guidance

    line 26
  2. Distinctive:

    Use Current Reality Tree to connect these symptoms

    line 39
  3. Very specific:

    Read references/022-root-cause-analysis.md, then identify the symptom(s) evidenced by the problem frame.

    line 47

≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “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

Guide the identification of root causes, not symptoms, for a framed problem, using Five Whys, Fishbone (Ishikawa), Current Reality Tree, and constraint identification. This is an interactive SKILL.

What is covered in this Skill?

  • Five Whys for a linear causal chain from a symptom to a root cause
  • Fishbone (Ishikawa) for categorized candidate causes across multiple dimensions
  • Current Reality Tree for interconnected causes and effects with a small number of core problems
  • Constraint identification for the limiting factor holding the current state in place
  • Choosing the technique(s) proportionate to the problem's complexity
  • Feeding root-cause findings into 023-assumption-analysis and the remaining Functional Specification lenses

Constraints

Distinguish root causes from symptoms before recommending a fix. When this technique is orchestrated by another workflow, the orchestrator owns clarifying-question sequencing; when applied standalone, ask directly.

  • MUST read references/022-root-cause-analysis.md before applying Root Cause Analysis guidance
  • MUST distinguish a symptom (an observed effect) from a root cause (the condition that produces it)
  • MUST apply Five Whys as a chain of "why" questions grounded in evidence from the problem frame, not assumption
  • MUST apply Fishbone to organize candidate causes into categories (for example people, process, technology, environment) when more than one causal dimension is plausible
  • MUST apply Current Reality Tree when multiple symptoms may share one or a small number of core problems connected by cause-effect relationships
  • MUST identify the constraint limiting the current state, not only the most visible cause
  • MUST NOT invent a root cause when the available evidence is vague or ambiguous; flag the gap for a clarifying question instead

When to use this skill

  • Find the root cause of this problem
  • Apply Five Whys to this issue
  • Build a Fishbone diagram for this problem
  • Use Current Reality Tree to connect these symptoms
  • Identify the constraint limiting the current state
  • Draft the Root Cause Analysis section of a Functional Specification

Workflow

  1. Read the Reference

Read references/022-root-cause-analysis.md, then identify the symptom(s) evidenced by the problem frame.

  1. Apply Five Whys

Chain "why" questions from the symptom toward an evidenced root cause, stopping when further "why" steps would require guessing.

  1. Apply Fishbone When Multiple Dimensions Are Plausible

Organize candidate causes into categories when more than one causal dimension (people, process, technology, environment) is plausible.

  1. Apply Current Reality Tree When Symptoms Interconnect

Connect multiple symptoms to a small number of shared core problems through cause-effect relationships when the symptoms appear related.

  1. Identify the Constraint

Name the constraint limiting the current state, distinct from the most visible or most recently reported cause.

  1. Report the Root Cause Findings

Report findings using Five Whys, Fishbone, Current Reality Tree, and the identified constraint, and flag any finding left open pending a clarifying answer.

Reference

For detailed guidance, examples, and constraints, see references/022-root-cause-analysis.md.

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.