Source profileQuality 92/100

event4u-app/agent-config/src/skills/root-cause-frameworks/SKILL.md

root-cause-frameworks

Use when tracing the root cause of a resolved incident or recurring bug — 5-whys chain, fishbone categorisation, contributing-factors split — even if the user says 'why does this keep breaking?'.

Source repository stars
7
Declared platforms
0
Static risk flags
0
Last source update
2026-07-28
Source checked
2026-07-28

Decision brief

What it does—and where it fits

Structured root-cause analysis for resolved incidents and recurring bugs. Sibling of systematic-debugging (live reproduction loop) and bug-analyzer (static call-site analysis) — this skill takes the post-resolution "why did this happen and how do we stop it recurring?" view.

Best for

  • A resolved incident needs a structured cause investigation before
  • A bug recurs and the team needs to understand the underlying system
  • Invoked directly or by blameless-post-mortem

Not for

  • Tasks that require unconfirmed production actions or broad system permissions.
  • Environments where the pinned source and install steps cannot be inspected.

Compatibility matrix

Platform support, with evidence labels

PlatformStatusEvidenceWhat to check
CodexNot declaredNo explicit evidencePortability before use
Claude CodeNot declaredNo explicit evidencePortability before use
CursorNot declaredNo explicit evidencePortability before use
Gemini CLINot declaredNo explicit evidencePortability before use
Open the compatibility checker

Installation

Inspect first. Install second.

The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.

Source-detected install commandSource
npx skills add https://github.com/event4u-app/agent-config --skill "src/skills/root-cause-frameworks"
Safe inspection promptEditorial

Inspect the Agent Skill "root-cause-frameworks" from https://github.com/event4u-app/agent-config/blob/0adf49a8ae84b0ff6e2de8759eea43257e020eff/src/skills/root-cause-frameworks/SKILL.md at commit 0adf49a8ae84b0ff6e2de8759eea43257e020eff. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.

Workflow

What the source asks the agent to do

  1. 01

    Procedure

    Work through the three methods in order; return the best-supported result.

    Each link must cite at least one piece of evidence (log line, metric,If a link branches into two independent causes, follow both — aStop a branch when: (a) the next Why has no available evidence, or
  2. 02

    When to use

    A resolved incident needs a structured cause investigation before

    A resolved incident needs a structured cause investigation beforeA bug recurs and the team needs to understand the underlying systemInvoked directly or by blameless-post-mortem
  3. 03

    1. 5-Whys chain

    Ask "Why did X happen?" iteratively, attaching evidence to each link. Continue until the link is unfalsifiable, evidence runs out, or you reach a systemic condition outside the team's control.

    Each link must cite at least one piece of evidence (log line, metric,If a link branches into two independent causes, follow both — aStop a branch when: (a) the next Why has no available evidence, or
  4. 04

    2. Fishbone / Ishikawa (if chain stalls or branches widely)

    When the 5-whys chain stalls before reaching a systemic cause, or branches into more than three independent paths, map contributing factors across six categories:

    When the 5-whys chain stalls before reaching a systemic cause, or branches into more than three independent paths, map contributing factors across six categories:List each identified factor as a bullet under its category. A factor may appear in more than one category — that is evidence of a systemic coupling worth naming.
  5. 05

    3. Contributing-factors split

    Classify every cause surfaced in steps 1–2 into exactly one bucket:

    Classify every cause surfaced in steps 1–2 into exactly one bucket:A well-formed analysis typically has one root cause and two to four contributing causes. Multiple root entries indicate the chain has not been traced far enough, or that the incident was a genuine compound failure — lab…

Permission review

Static risk signals and limitations

No configured static risk pattern was detected

This is not proof of safety. Runtime behavior, indirect dependencies, and hidden external systems are outside the static scan.

Evidence record

Why each signal appears

EvidenceSourceComputedTestedEditorial
SignalValueEvidence typeMeaning
Quality score92/100ComputedDocumentation, specificity, maintenance, and trust rules
Repository stars7SourceRepository attention, not individual Skill quality
Compatibility0 platformsSourceDeclared in the catalog source record
Usage guideautomated source guideEditorialGenerated or reviewed according to the visible evidence level

Pinned source

Provenance and original SKILL.md

Repository
event4u-app/agent-config
Skill path
src/skills/root-cause-frameworks/SKILL.md
Commit
0adf49a8ae84b0ff6e2de8759eea43257e020eff
License
MIT
Collected
2026-07-28
Default branch
main
View the original SKILL.md

root-cause-frameworks

Structured root-cause analysis for resolved incidents and recurring bugs. Sibling of systematic-debugging (live reproduction loop) and bug-analyzer (static call-site analysis) — this skill takes the post-resolution "why did this happen and how do we stop it recurring?" view.

When to use

  • A resolved incident needs a structured cause investigation before writing the post-mortem.
  • A bug recurs and the team needs to understand the underlying system condition, not just the symptom.
  • Invoked directly or by blameless-post-mortem to populate the cause section.

Do NOT use when:

Procedure

Work through the three methods in order; return the best-supported result.

1. 5-Whys chain

Ask "Why did X happen?" iteratively, attaching evidence to each link. Continue until the link is unfalsifiable, evidence runs out, or you reach a systemic condition outside the team's control.

Rules:

  • Each link must cite at least one piece of evidence (log line, metric, test failure, code path, human observation). Label unverified links explicitly as [speculative].
  • If a link branches into two independent causes, follow both — a branching chain is common and valid.
  • Stop a branch when: (a) the next Why has no available evidence, or (b) the answer is outside the system boundary (e.g. "the cloud provider had an outage").

2. Fishbone / Ishikawa (if chain stalls or branches widely)

When the 5-whys chain stalls before reaching a systemic cause, or branches into more than three independent paths, map contributing factors across six categories:

CategorySample questions
PeopleKnowledge gap, on-call fatigue, ambiguous ownership?
ProcessMissing review step, deploy gate skipped, alert threshold wrong?
TechnologyLibrary version, configuration drift, race condition, hardware limit?
DataUnexpected input shape, stale cache, missing validation, schema mismatch?
EnvironmentInfra difference between environments, dependency version skew?
CommunicationUnclear spec, siloed knowledge, delayed escalation?

List each identified factor as a bullet under its category. A factor may appear in more than one category — that is evidence of a systemic coupling worth naming.

3. Contributing-factors split

Classify every cause surfaced in steps 1–2 into exactly one bucket:

BucketDefinition
rootThe condition that, if absent, the incident would not have occurred.
contributingA condition that increased likelihood or severity, but not sufficient alone.
amplifyingA condition that made recovery slower or harder once the incident started.
coincidencePresent at the time but causally unrelated.

A well-formed analysis typically has one root cause and two to four contributing causes. Multiple root entries indicate the chain has not been traced far enough, or that the incident was a genuine compound failure — label it explicitly.

Output

The output has three ordered sections:

  1. Why-chain — numbered chain, each link with evidence (or [speculative] flag) and any branch markers.
  2. Cause taxonomy — each identified cause labelled root / contributing / amplifying / coincidence, with a one-sentence justification.
  3. Evidence gaps — explicit list of claims that could not be verified and what evidence would resolve them. An empty list is fine; omitting the section is not.

May invoke systematic-debugging or bug-analyzer mid-procedure to gather evidence for a specific hypothesis, then continue the analysis.

Do NOT

  • Do NOT present a [speculative] link as confirmed cause.
  • Do NOT collapse multiple contributing factors into a single root cause to produce a cleaner narrative.
  • Do NOT invent evidence — if a log line is needed but unavailable, name the gap.
  • Do NOT reproduce the systematic-debugging reproduce → isolate → fix loop; this skill assumes the bug is already understood or resolved.

Gotchas

  • Single "root cause" is often an oversimplification — a compound failure with one root and several contributing causes is the norm, not an edge case.
  • An unfalsifiable why-link (e.g. "we don't know") is a stop signal for that branch; do not guess past it.
  • Correlation ≠ causation — require a causal mechanism for every link, not just temporal proximity.

See also

Alternatives

Compare before choosing