analyzing-root-causes

thkt 的头像作者 thkt

使用 5 Whys 方法论对软件问题进行根本原因分析。触发词:根本原因、root cause、5 Whys、为什么分析、对症疗法、修补、symptom、症状、表面的、workaround、本质的、应急措施、bandaid、快速修复。

📖 中文导读:使用 5 Whys 方法论对软件问题进行根本原因分析。触发词:根本原因、root cause、5 Whys、为什么分析、对症疗法、修补、symptom、症状、表面的、workaround、本质的、应急措施、bandaid、快速修复。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: analyzing-root-causes description: > Root cause analysis with 5 Whys methodology. Use when investigating bugs, analyzing failures, or when user mentions root cause, 5 Whys, なぜなぜ分析, 根本原因, 原因分析, symptom fix, 対症療法. allowed-tools: [Read, Grep, Glob, Task] context: fork user-invocable: false

Root Cause Analysis - 5 Whys

Symptom vs Root Cause

Type Example Result
Symptom Fix setTimeout to wait for DOM Breaks later
Root Cause Use React ref properly Permanent fix
Symptom Fix Add flag for double-submit Complexity ↑
Root Cause Disable button on submit Simple fix

5 Whys Process

Step Question Reveals
1 Why does this occur? Observable fact
2 Why does that happen? Implementation detail
3 Why is that the case? Design decision
4 Why does that exist? Architectural constraint
5 Why was it designed this way? Root cause

References

Topic File
5 Whys references/five-whys.md
Patterns references/symptom-patterns.md