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
event4u-app/agent-config/src/skills/root-cause-frameworks/SKILL.md
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?'.
Decision brief
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.
Compatibility matrix
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/event4u-app/agent-config --skill "src/skills/root-cause-frameworks"Inspect the Agent Skill "root-cause-frameworks" from https://github.com/event4u-app/agent-config/blob/6a5670b7881a676c0da90d2afb950298087c4ccb/src/skills/root-cause-frameworks/SKILL.md at commit 6a5670b7881a676c0da90d2afb950298087c4ccb. 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
Work through the three methods in order; return the best-supported result.
A resolved incident needs a structured cause investigation before
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.
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:
Classify every cause surfaced in steps 1–2 into exactly one bucket:
Permission review
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
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 92/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 9 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
Structured root-cause analysis for resolved incidents and recurring bugs. Sibling of
systematic-debugging(live reproduction loop) andbug-analyzer(static call-site analysis) — this skill takes the post-resolution "why did this happen and how do we stop it recurring?" view.
blameless-post-mortem
to populate the cause section.Do NOT use when:
systematic-debugging instead.blast-radius-analyzer instead.Work through the three methods in order; return the best-supported result.
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:
[speculative].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:
| Category | Sample questions |
|---|---|
| People | Knowledge gap, on-call fatigue, ambiguous ownership? |
| Process | Missing review step, deploy gate skipped, alert threshold wrong? |
| Technology | Library version, configuration drift, race condition, hardware limit? |
| Data | Unexpected input shape, stale cache, missing validation, schema mismatch? |
| Environment | Infra difference between environments, dependency version skew? |
| Communication | Unclear 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.
Classify every cause surfaced in steps 1–2 into exactly one bucket:
| Bucket | Definition |
|---|---|
root | The condition that, if absent, the incident would not have occurred. |
contributing | A condition that increased likelihood or severity, but not sufficient alone. |
amplifying | A condition that made recovery slower or harder once the incident started. |
coincidence | Present 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.
The output has three ordered sections:
[speculative] flag) and any branch markers.root / contributing / amplifying / coincidence, with a
one-sentence justification.May invoke systematic-debugging or
bug-analyzer mid-procedure to gather
evidence for a specific hypothesis, then continue the analysis.
[speculative] link as confirmed cause.blameless-post-mortem — invokes
this skill for the cause section.systematic-debugging — live
reproduction and fix loop.bug-analyzer — static call-site analysis.risk-officer — mitigation framing for
corrective actions after the cause is established.Frequently asked questions
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.
The source record exposes this install command: npx skills add https://github.com/event4u-app/agent-config --skill "src/skills/root-cause-frameworks". Inspect the command and pinned source before running it.
Alternatives
alirezarezvani/claude-skills
App Store Optimization (ASO) toolkit for researching keywords, analyzing competitor rankings, generating metadata suggestions, and improving app visibility on Apple App Store and Google Play Store. Use when the user asks about ASO, app store rankings, app metadata, app titles and descriptions, app store listings, app visibility, or mobile app marketing on iOS or Android. Supports keyword research and scoring, competitor keyword analysis, metadata optimization, A/B test planning, launch checklist
brucesongs/kali-claw
Insecure Design (OWASP A06:2025) focuses on security flaws in system architecture and design phases, rather than code implementation-level bugs.
NintendaDev/unikit-ai
Generate and maintain the project's TECHNICAL documentation from its codebase — scans the project structure, tech stack, and module boundaries, then writes a lean README landing page plus detailed topic pages (architecture, modules, setup, build, APIs), only the docs that are relevant. Use whenever the user wants to create, update, or validate documentation of the CODE or the project itself, e.g. "generate documentation", "create docs", "write the README", "update the project docs", "document th
K-Dense-AI/scientific-agent-skills
Distributed computing for larger-than-RAM pandas/NumPy workflows. Use when you need to scale existing pandas/NumPy code beyond memory or across clusters. Best for parallel file processing, distributed ML, integration with existing pandas code. For out-of-core analytics on single machine use vaex; for in-memory speed use polars.