RootCauseAnalysis
它能做什么
用五个为什么和鱼骨图等方法,一步一步地处理事故或反复出现的故障。它适用于希望找到问题真正的系统性原因、而不是寻找替罪羊的团队。
适用场景
- ✓当某个故障不断发生,而真正的原因不清楚的时候。
- ✓当事故发生后,你需要一份无责复盘的时候。
- ✓当某个错误反复出现,你想找到系统性原因的时候。
技能链接
https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/RootCauseAnalysis/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我们的部署每到周五就会失败。请进行根本原因分析,并告诉我真正的原因是什么。”
每周 5 个新技能,1 分钟读完。
工作原理
该技能会根据故障的类型选择合适的方法,例如五个为什么或故障树,并用证据检验每项发现。它最终会落到可以改变的系统性原因上,且从不把故障归咎于某个人。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
RootCauseAnalysis Skill
RootCauseAnalysis investigates incidents and recurring failures with causal methods (Five Whys, Fishbone, blameless Postmortem, Fault Tree, Kepner-Tregoe) and traces them to systemic root causes rather than to a person to blame. Apollo/RealityCharting and FMEA are supporting methods documented in Foundation.md and MethodSelection.md, not separate intents.
Ideal State
- The method fits the failure class, as the situation table under Intent Routing maps it, and a non-trivial incident is written as a Postmortem with the other methods as its investigation tools.
- Every diagnosis is evidence-backed and blameless, with 3+ actionable systemic contributing factors rather than a single blame target. It ends at causes that are both systemic and within authority to change, never at a person to blame, and each corrective action prevents a class of recurrence rather than the latest trigger.
- Every conclusion that rests on a fact the request supplied cites that fact, checked at its source, and a caller's hypothesis is never taken as fact.
- Decisions are judged using the information available at the time.
- What the evidence cannot support is disclosed as a gap or a hypothesis, never filled with invented causes, probabilities or comparisons, and never padded with invented factors to meet the 3+ target.
- The analysis delivered is finished; no sub-work is still running when it is handed over.
Intent Routing
| Intent | Trigger | File |
|---|---|---|
| FiveWhys | "5 whys", "five whys", quick causal chain, ask why until root | Intents/FiveWhys.md |
| Fishbone | "fishbone", "ishikawa", categorized cause map, 6 M's / 4 P's / 8 M's | Intents/Fishbone.md |
| Postmortem | "postmortem", "incident review", "blameless postmortem", production incident | Intents/Postmortem.md |
| FaultTree | "fault tree", "fta", top-down deductive, safety-critical, AND/OR logic | Intents/FaultTree.md |
| KepnerTregoe | "kepner tregoe", "is/is-not", "what changed", distinction analysis, subtle defects | Intents/KepnerTregoe.md |
| Situation | Preferred intent |
|---|---|
| Single-thread incident, one clear failure point | FiveWhys |
| Multiple suspected categories (people, process, tools) | Fishbone |
| Production outage or security incident, needs formal review | Postmortem |
| Complex multi-path failure, safety-critical, need Boolean logic | FaultTree |
| Subtle defect, hard to reproduce, "why here and not there?" | KepnerTregoe |
| File | Read when |
|---|---|
MethodSelection.md |
choosing, combining or switching methods: decision flow, method comparison, domain map, speed-versus-thoroughness |
Foundation.md |
evidence crosses service boundaries, or the work uses Apollo evidence graphs or FMEA prioritization |
Standalone; no required skill dependency. Use SystemsThinking (Iceberg, FindArchetype) for recurring structural causes, FirstPrinciples to decompose a contributing factor, RedTeam to stress-test remediations, and Science for investigation hypotheses.
Data & Config
User customizations live at <configRoot>/LIFEOS/USER/CUSTOMIZATIONS/SKILLS/RootCauseAnalysis/ (configRoot is $CLAUDE_CONFIG_DIR when set, else ~/.claude). When that directory exists, its PREFERENCES.md, configurations and resources apply and override the defaults here; when it is absent, the defaults stand.
Gotchas
- Start from the facts and paths the request supplies and read those paths; do not search for them again. Any search names the paths it covers, never the whole home tree or ~/Projects. This scopes where to look, never what may be investigated.
Examples
Example 1: Production outage
User: "Payments threw 500s for ten minutes after last night's deploy. Write the postmortem."
→ Postmortem intent, with FiveWhys or Fishbone on each contributing thread
→ A blameless record with a UTC timeline, defensive-layer map and strength-rated owned actions
Example 2: Works here, not there
User: "The export job fails only on the EU cluster and only on Mondays. Why?"
→ KepnerTregoe intent
→ An IS/IS-NOT matrix, the change that explains every IS without predicting the IS-NOTs, and a test to confirm it
Example 3: Quick causal chain
User: "5 whys on why the nightly backup keeps missing its window"
→ FiveWhys intent
→ An evidenced chain to systemic causes, read forward with no gaps, and owned c
常见问题
它会责怪个人吗?
不会。分析是无责的,专注于可以改变的系统性原因。
如果证据不足,它会编造原因吗?
不会。缺失的证据会被报告为空白或假设,而不会用编造的原因填补。
它使用哪些方法?
五个为什么、鱼骨图、无责复盘、故障树以及 Kepner-Tregoe,并以 FMEA 作为辅助方法。
详情
作者的原始描述
Structured incident investigation using Five Whys, Fishbone, blameless Postmortem, Fault Tree, Kepner-Tregoe, and FMEA — traces failures to systemic root causes rather than blaming humans. USE WHEN root cause, RCA, 5 whys, fishbone, postmortem, incident analysis, fault tree, why does this keep failing, blameless, recurring bug. NOT FOR systemic loops (use SystemsThinking).
repo: danielmiessler/LifeOS
热度
- GitHub 星标
- 20k
- 排名
- #10452
- 许可证
- MIT
- 更新时间
- 2026/10/28
评论
- …