five-whys-analysis

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Standards Integration Status

标准集成状态

At the start of each 5 Whys session, check knowledge-mcp availability and display one of:
When Connected:
===============================================================================
5 WHYS ROOT CAUSE ANALYSIS SESSION
===============================================================================

✓ **Standards Database:** Connected (AIAG-VDA, ISO 26262, MIL-STD-882 available)

Root cause validation will be offered at each "Why" iteration to validate against
documented failure patterns. Use `/lookup-standard [query]` for manual queries.

===============================================================================
When Unavailable:
===============================================================================
5 WHYS ROOT CAUSE ANALYSIS SESSION
===============================================================================

⚠️ **Standards Database:** Unavailable

5 Whys analysis will proceed using standard iterative questioning methodology.
Root cause validation available from embedded reference data:
- ✓ 5M root cause categories (Man, Machine, Material, Method, Measurement)
- ✓ Systematic vs. random failure patterns

Not available without standards database:
- ✗ Industry-specific failure pattern catalogs
- ✗ Detailed root cause validation from AIAG-VDA, ISO 26262

To enable standards integration, ensure knowledge-mcp is configured.

===============================================================================
Important: Display status banner ONCE at session start. Do NOT repeat at each Why iteration.
在每次5 Whys会议开始时,检查knowledge-mcp的可用性并显示以下内容之一:
已连接时:
===============================================================================
5 WHYS ROOT CAUSE ANALYSIS SESSION
===============================================================================

✓ **标准数据库:** 已连接(可使用AIAG-VDA、ISO 26262、MIL-STD-882)

在每个“Why”迭代环节,将提供根因验证功能,对照已记录的故障模式进行验证。使用`/lookup-standard [查询内容]`进行手动查询。

===============================================================================
不可用时:
===============================================================================
5 WHYS ROOT CAUSE ANALYSIS SESSION
===============================================================================

⚠️ **标准数据库:** 不可用

将采用标准迭代提问方法进行5 Whys分析。
可从嵌入式参考数据获取根因验证支持:
- ✓ 5M根因分类(人员、机器、物料、方法、测量)
- ✓ 系统性与随机性故障模式

无标准数据库时无法使用:
- ✗ 行业特定故障模式目录
- ✗ 来自AIAG-VDA、ISO 26262的详细根因验证

如需启用标准集成,请确保已配置knowledge-mcp。

===============================================================================
重要提示: 仅在会议开始时显示一次状态横幅,请勿在每个“Why”迭代环节重复显示。

5 Whys Root Cause Analysis

5 Whys根因分析

Conduct rigorous 5 Whys analysis using a structured, Q&A-based approach with built-in quality validation and scoring.
采用结构化的问答式方法开展严谨的5 Whys分析,内置质量验证与评分功能。

Overview

概述

The 5 Whys is an iterative interrogative technique for exploring cause-and-effect relationships. The goal is to determine the root cause by repeatedly asking "Why?" until reaching a fundamental, actionable cause.
Key Principle: The number "5" is a guideline, not a rule. Continue asking until reaching a cause that, if addressed, prevents recurrence.
5 Whys是一种迭代式询问技术,用于探索因果关系。其目标是通过反复询问“为什么?”,直至找到根本的、可采取行动的原因。
核心原则:数字“5”是指导方针而非硬性规定。持续提问直至找到一个若解决就能防止问题复发的原因。

Workflow

工作流程

Phase 1: Problem Definition

阶段1:问题定义

Before asking any "Why" questions, establish a clear problem statement.
Check for inherited context from Problem Definition skill:
If Problem Definition context available (from prior skill invocation in this session):
===============================================================================
5 WHYS ROOT CAUSE ANALYSIS
===============================================================================

✓ **Inherited Context** (from Problem Definition)

Problem Statement:
Connector housing P/N 12345-A, Rev C exhibited cracked locking tabs (crack
length 3mm) at final assembly station 3 during torque verification, affecting
12 of 400 units (3%), detected by visual inspection.

Severity: 7 (AIAG-VDA FMEA Handbook (2019), Table 5.1)
- Product inoperable, loss of primary function
- Customer very dissatisfied

[Expandable] Full 5W2H + IS/IS NOT analysis ▼
| Element | IS | IS NOT |
|---------|----|----- ---|
| What (Object) | Connector housing P/N 12345-A, Rev C | Other connector types |
| What (Defect) | Cracked locking tab, 3mm length | Fully severed |
| Where | Final assembly station 3 | Stations 1, 2 |
| When | Week 12 production | Prior weeks |
| How Much | 12 of 400 units (3%) | All units |

===============================================================================

Proceeding to iterative Why analysis with inherited severity context...
If Problem Definition context NOT available:
Display recommendation with options:
===============================================================================
5 WHYS ROOT CAUSE ANALYSIS
===============================================================================

ℹ️ **Recommendation:** Run `/problem-definition` first

No problem definition context found. For effective root cause analysis, I recommend
establishing a clear, bounded problem statement first using `/problem-definition`.

This provides:
- Structured 5W2H + IS/IS NOT analysis
- Severity classification (flows to FMEA and corrective action prioritization)
- Problem scope boundaries (what IS and IS NOT affected)
- Consistent context for root cause validation

Options:
1. Run `/problem-definition` first (recommended for formal RCCA/8D investigations)
2. Continue 5 Whys standalone (I'll elicit basic problem statement below)

Your choice:
If user chooses standalone, elicit minimal problem context:
Collect from user:
  1. What is the specific problem or deviation observed?
  2. When was it first observed? When does it occur?
  3. Where does it occur (location, process step, equipment)?
  4. What is the magnitude/extent (how many, how much, how often)?
  5. What is the expected vs. actual state?
Quality Gate: Problem statement must be:
  • Specific and measurable (not vague)
  • Describing a deviation from expected performance
  • Free of assumed causes or solutions
  • Observable and verifiable
在提出任何“Why”问题之前,先确立清晰的问题陈述。
检查是否从问题定义工具继承上下文:
若存在问题定义上下文(本次会话中之前调用过该工具):
===============================================================================
5 WHYS ROOT CAUSE ANALYSIS
===============================================================================

✓ **继承上下文**(来自问题定义工具)

问题陈述:
连接器外壳P/N 12345-A,Rev C在最终装配工位3的扭矩验证环节出现锁扣开裂(裂纹长度3mm),400件产品中有12件受影响(占比3%),由目视检测发现。

严重程度:7(AIAG-VDA FMEA手册(2019),表5.1)
- 产品无法正常工作,丧失主要功能
- 客户满意度极低

[可展开] 完整5W2H + IS/IS NOT分析 ▼
| 要素 | 是 | 不是 |
|---------|----|----- ---|
| 对象 | 连接器外壳P/N 12345-A,Rev C | 其他连接器类型 |
| 缺陷 | 锁扣开裂,长度3mm | 完全断裂 |
| 位置 | 最终装配工位3 | 工位1、2 |
| 时间 | 第12周生产期间 | 之前的生产周 |
| 影响范围 | 400件中的12件(3%) | 所有产品 |

===============================================================================

将结合继承的严重程度上下文,进入迭代式Why分析环节...
若不存在问题定义上下文:
显示建议及选项:
===============================================================================
5 WHYS ROOT CAUSE ANALYSIS
===============================================================================

ℹ️ **建议:** 先运行`/problem-definition`

未找到问题定义上下文。为确保根因分析的有效性,我建议先使用`/problem-definition`确立清晰、明确的问题陈述。

此举可提供:
- 结构化的5W2H + IS/IS NOT分析
- 严重程度分类(可关联至FMEA及纠正措施优先级排序)
- 问题范围边界(明确受影响与未受影响的对象)
- 根因验证的一致上下文

选项:
1. 先运行`/problem-definition`(正式RCCA/8D调查推荐使用)
2. 直接进行独立的5 Whys分析(我将在下方引导您提供基本问题陈述)

请选择:
若用户选择独立分析,引导用户提供最少的问题上下文:
向用户收集:
  1. 观察到的具体问题或偏差是什么?
  2. 首次发现的时间?问题何时发生?
  3. 问题发生的位置(地点、流程步骤、设备)?
  4. 问题的规模/范围(数量、程度、频率)?
  5. 预期状态与实际状态分别是什么?
质量门槛: 问题陈述必须满足:
  • 具体且可衡量(而非模糊描述)
  • 描述与预期性能的偏差
  • 不包含假设的原因或解决方案
  • 可观察且可验证

Phase 2: Team & Evidence Gathering

阶段2:团队与证据收集

Collect from user:
  1. Who has direct knowledge of this problem/process?
  2. What data, logs, or evidence is available?
  3. Has this problem occurred before? What was done?
向用户收集:
  1. 哪些人直接了解该问题/流程?
  2. 有哪些可用的数据、日志或证据?
  3. 该问题之前是否发生过?当时采取了什么措施?

Phase 3: Iterative Why Analysis

阶段3:迭代式Why分析

For each "Why" iteration:
  1. Ask: "Why did [previous answer/problem] occur?"
  2. Record: Document the answer verbatim
  3. Validate:
    • Is this answer based on fact/evidence or assumption?
    • Does this answer logically follow from the previous statement?
    • Could there be multiple causes? (If yes, branch the analysis)

Optional Root Cause Validation (Standards Check)
After recording the "Why" answer, offer:
Would you like me to validate this proposed cause against documented root cause patterns from industry standards (AIAG-VDA, ISO 26262)?
This can:
  • Confirm if this matches known failure mechanisms
  • Suggest related causes or contributing factors
  • Identify if this is a symptom vs. true root cause
  • Provide confidence level: High/Medium/Low
  • Yes: Query standards for root cause patterns matching "[answer]"
  • No: Continue to next "Why" iteration
Your choice:
Query behavior:
  • If user says yes: Execute
    knowledge_search
    with query "root cause pattern [answer from Why] failure mechanism common causes", filter by domain="rcca" or "fmea"
  • If user says no: Continue, but still offer at next iteration (different causes may benefit from validation)
  • If MCP unavailable: Skip this prompt entirely (banner already warned user)
  • If user declines 3+ times consecutively: "I'll stop offering validation. Use
    /lookup-standard
    if you want to validate a specific cause."
Result presentation (if queried):
High confidence match:
High confidence match
This matches documented pattern: "Inadequate process control leading to variation" (AIAG-VDA FMEA Handbook (2019), Section 4.3.2)
Common related causes from standards:
  • Lack of statistical process control
  • Inadequate inspection frequency
  • Process capability (Cpk) below 1.33
This is a recognized root cause pattern. Consider if any related factors apply.
Medium confidence match:
⚠️ Medium confidence match
Partial match to documented patterns in ISO 26262-9 Section 8.4.3:
  • Systematic failures in sensor calibration
  • Environmental stress factors
Consider these related factors. You may want to explore another "Why" level.
Low confidence / No match:
ℹ️ Low confidence match
No exact match found for "[answer]" in documented root cause patterns.
This could indicate:
  • Novel root cause (not previously documented in standards)
  • Opportunity to explore another "Why" level
  • Need to refine the causal statement
Recommendations:
  1. Consider another Why level or alternative cause paths
  2. Search related terms: [suggested related queries based on answer]
  3. Continue with this cause if supported by strong evidence/expertise

  1. Test: Read the chain backward: "Therefore..." - does it make logical sense?
Stopping Criteria - Stop when:
  • Further "Why" produces no meaningful answer
  • You've reached a process/system issue (not a person)
  • Addressing this cause would plausibly prevent recurrence
  • The cause is within your control to address
  • Standards validation shows high confidence (recognized root cause pattern)
Continue if:
  • Answer is still a symptom, not a root cause
  • Answer blames a person rather than a process
  • Answer is "it's always been that way" or similar deflection
  • Standards validation shows low confidence (suggests deeper investigation needed)
在每个“Why”迭代环节:
  1. 提问:“为什么会发生[上一个答案/问题]?”
  2. 记录:逐字记录答案
  3. 验证
    • 该答案基于事实/证据还是假设?
    • 该答案是否能从上一个陈述逻辑推导得出?
    • 是否可能存在多个原因?(若是,分支进行分析)

可选根因验证(标准核查)
记录“Why”答案后,提供以下选项:
是否需要对照行业标准(AIAG-VDA、ISO 26262)中已记录的根因模式,验证这个提议的原因?
此举可:
  • 确认该原因是否匹配已知故障机制
  • 建议相关原因或影响因素
  • 识别这是症状还是真正的根因
  • 提供置信度等级:高/中/低
  • :查询标准中与“[答案]”匹配的根因模式
  • :进入下一个“Why”迭代环节
请选择:
查询行为:
  • 若用户选择是:执行
    knowledge_search
    ,查询语句为“root cause pattern [Why环节的答案] failure mechanism common causes”,筛选领域为“rcca”或“fmea”
  • 若用户选择否:继续分析,但在下一次迭代时仍会提供该选项(不同原因可能需要验证)
  • 若MCP不可用:完全跳过该提示(横幅已提前告知用户)
  • 若用户连续3次以上拒绝:“我将停止提供验证选项。若您需要验证特定原因,请使用
    /lookup-standard
    命令。”
查询结果展示(若执行查询):
高置信度匹配:
高置信度匹配
该原因匹配已记录的模式:“流程控制不足导致偏差” (AIAG-VDA FMEA手册(2019),第4.3.2节)
标准中提到的常见相关原因:
  • 缺乏统计过程控制
  • 检验频率不足
  • 过程能力(Cpk)低于1.33
这是已认可的根因模式,请考虑是否存在相关影响因素。
中置信度匹配:
⚠️ 中置信度匹配
与ISO 26262-9第8.4.3节中的已记录模式部分匹配:
  • 传感器校准中的系统性故障
  • 环境应力因素
请考虑这些相关因素,您可能需要进一步探索下一个“Why”层级。
低置信度/无匹配:
ℹ️ 低置信度匹配
在已记录的根因模式中未找到与“[答案]”完全匹配的内容。
这可能表明:
  • 全新根因(标准中未记录)
  • 有机会探索下一个“Why”层级
  • 需要优化因果陈述
建议:
  1. 考虑探索下一个Why层级或其他原因路径
  2. 搜索相关术语:[基于答案建议的相关查询词]
  3. 若有充分证据/专家支持,可继续以该原因为分析方向

  1. 测试:反向阅读因果链:“因此...”——逻辑是否通顺?
停止标准——满足以下任一条件时停止:
  • 进一步提问“Why”无法产生有意义的答案
  • 已找到流程/系统层面的问题(而非人为问题)
  • 解决该原因可合理防止问题复发
  • 该原因在您的可控范围内
  • 标准验证显示高置信度(已认可的根因模式)
继续分析的情况
  • 答案仍为症状而非根因
  • 答案归咎于人而非流程
  • 答案为“一直都是这样”或类似推诿表述
  • 标准验证显示低置信度(表明需要更深入调查)

Phase 4: Root Cause Verification

阶段4:根因验证

Apply these verification tests to the identified root cause:
  1. Reversal Test: Read the chain forward with "therefore" - does each link hold?
  2. Prevention Test: If we fix this cause, would the problem be prevented?
  3. Recurrence Test: Has this cause produced similar problems before?
  4. Control Test: Is this cause within our ability to address?
  5. Evidence Test: Is this cause supported by data, not just opinion?
对已识别的根因应用以下验证测试:
  1. 反向测试:用“因此”正向阅读因果链——每个环节是否成立?
  2. 预防测试:若我们解决该原因,问题是否会被阻止?
  3. 复发测试:该原因之前是否引发过类似问题?
  4. 可控性测试:该原因是否在我们的解决能力范围内?
  5. 证据测试:该原因是否有数据支持,而非仅基于观点?

Phase 5: Countermeasure Development

阶段5:对策制定

For each verified root cause, develop countermeasures using the 5 Hows:
  1. How will we fix this? (immediate action)
  2. How will we implement it? (plan)
  3. How will we verify it works? (validation)
  4. How will we standardize it? (documentation/training)
  5. How will we sustain it? (monitoring/audits)
针对每个已验证的根因,使用5 Hows方法制定对策:
  1. 我们将如何解决该问题?(即时行动)
  2. 我们将如何实施对策?(计划)
  3. 我们将如何验证对策有效?(验证)
  4. 我们将如何标准化该对策?(文档/培训)
  5. 我们将如何维持对策效果?(监控/审计)

Phase 6: Documentation & Report

阶段6:文档与报告

Generate the final analysis report using:
python scripts/generate_report.py
使用以下命令生成最终分析报告:
python scripts/generate_report.py

Quality Scoring

质量评分

Each analysis is scored on six dimensions (see references/quality-rubric.md):
DimensionWeightDescription
Problem Definition15%Clarity, specificity, measurability
Causal Chain Logic25%Each link is logical and verified
Evidence Basis20%Answers supported by facts, not assumptions
Root Cause Depth20%Reached process/system level, not symptoms
Actionability10%Root cause is controllable and addressable
Countermeasures10%Specific, assigned, measurable actions
Scoring Scale: Each dimension rated 1-5 (Inadequate to Excellent)
  • Overall Score: Weighted average × 20 = 0-100 points
  • Passing Threshold: 70 points minimum
Run
python scripts/score_analysis.py
with analysis data to calculate scores.
每次分析将从六个维度进行评分(详见references/quality-rubric.md):
维度权重描述
问题定义15%清晰度、具体性、可衡量性
因果链逻辑25%每个环节逻辑通顺且已验证
证据基础20%答案基于事实而非假设
根因深度20%已深入到流程/系统层面,而非停留在症状
可执行性10%根因可控且可解决
对策10%具体、已分配责任人、可衡量的行动
评分标准:每个维度按1-5分评级(从不合格到优秀)
  • 总分:加权平均分×20 = 0-100分
  • 合格阈值:最低70分
运行
python scripts/score_analysis.py
并传入分析数据即可计算得分。

Common Pitfalls

常见误区

See references/common-pitfalls.md for:
  • Stopping too early (at symptoms)
  • Blaming people instead of processes
  • Accepting assumptions as facts
  • Single-track thinking on multi-cause problems
  • Failing to validate the causal chain
详见references/common-pitfalls.md
  • 过早停止分析(停留在症状层面)
  • 归咎于人而非流程
  • 将假设当作事实
  • 多因问题采用单一思路分析
  • 未验证因果链

Examples

示例

See references/examples.md for worked examples including:
  • Manufacturing equipment failure
  • Software deployment failure
  • Customer complaint investigation
  • Process quality deviation
详见references/examples.md中的实操案例,包括:
  • 制造设备故障
  • 软件部署失败
  • 客户投诉调查
  • 流程质量偏差

Integration with Other Tools

与其他工具的集成

  • Fishbone Diagram: Use to brainstorm potential causes before 5 Whys
  • Pareto Analysis: Use to prioritize which problems to analyze
  • 8D Process: 5 Whys fits within D4 (Root Cause Analysis)
  • A3 Report: Include 5 Whys in the root cause section
  • 鱼骨图:在5 Whys分析前用于头脑风暴潜在原因
  • 帕累托分析:用于优先确定需分析的问题
  • 8D流程:5 Whys可融入D4(根因分析)环节
  • A3报告:在根因部分包含5 Whys分析内容

Session Conduct Guidelines

会议开展指南

  1. Facilitate, don't lead: Ask questions without suggesting answers
  2. Document everything: Record exact wording of each answer
  3. Challenge assumptions: Ask "How do we know this?"
  4. Stay process-focused: Redirect person-blame to process gaps
  5. Allow branching: Multiple valid answers create parallel chains
  6. Verify with evidence: "Show me" is better than "tell me"
  1. 引导而非主导:提问时不给出答案建议
  2. 记录所有内容:逐字记录每个答案
  3. 质疑假设:询问“我们如何确认这一点?”
  4. 聚焦流程:将对人的指责引导至流程漏洞
  5. 允许分支分析:多个有效答案可形成并行因果链
  6. 用证据验证:“展示给我看”比“告诉我”更可靠

Manual Commands

手动命令

/lookup-standard

/lookup-standard

Query the knowledge base for RCCA-related standards information at any point in 5 Whys analysis.
Syntax:
/lookup-standard [natural language query]
Examples:
  • /lookup-standard common root causes for sensor failures automotive systems
  • /lookup-standard systematic failures ISO 26262 definition examples
  • /lookup-standard how deep should 5 Whys analysis go stopping criteria
  • /lookup-standard validation tests for root cause analysis AIAG-VDA
  • /lookup-standard difference between symptom and root cause
  • /lookup-standard 5M Man Machine Material Method Measurement root causes
  • /lookup-standard process capability Cpk root cause manufacturing
Response Format:
undefined
在5 Whys分析的任何阶段,均可查询知识库中与RCCA相关的标准信息。
语法
/lookup-standard [自然语言查询内容]
示例:
  • /lookup-standard common root causes for sensor failures automotive systems
  • /lookup-standard systematic failures ISO 26262 definition examples
  • /lookup-standard how deep should 5 Whys analysis go stopping criteria
  • /lookup-standard validation tests for root cause analysis AIAG-VDA
  • /lookup-standard difference between symptom and root cause
  • /lookup-standard 5M Man Machine Material Method Measurement root causes
  • /lookup-standard process capability Cpk root cause manufacturing
响应格式:
undefined

Standards Lookup: [query]

标准查询:[查询内容]

Result 1 (92% relevant)

结果1(相关性92%)

Source: AIAG-VDA FMEA Handbook (2019), Section 4.3.2
[Content excerpt with relevant context]
来源: AIAG-VDA FMEA手册(2019),第4.3.2节
[相关上下文内容摘录]

Result 2 (88% relevant)

结果2(相关性88%)

Source: ISO 26262-9:2018, Section 8.4.3
[Content excerpt with relevant context]

Showing 3 of 7 results. Say "show more" for additional results.

**When to Use:**
- Validating proposed root causes against industry-documented patterns
- Understanding systematic vs. random failure definitions
- Checking best practices for 5 Whys depth and stopping criteria
- Finding example root cause analyses from standards
- Investigating unfamiliar failure mechanisms
- Strengthening root cause analysis with standards evidence (regulatory context)

**No Results Response:**
来源: ISO 26262-9:2018,第8.4.3节
[相关上下文内容摘录]

共7条结果,当前显示3条。输入“show more”查看更多结果。

**适用场景:**
- 对照行业已记录模式验证提议的根因
- 理解系统性与随机性故障的定义
- 查阅5 Whys分析的深度及停止标准的最佳实践
- 从标准中查找根因分析示例
- 调查不熟悉的故障机制
- 用标准证据强化根因分析(合规背景)

**无结果响应:**

Standards Lookup: [query]

标准查询:[查询内容]

No direct matches found for "[query]".
Did you mean:
  • "root cause pattern process control"
  • "common failure modes manufacturing"
  • "5M root cause categories"
Try refining with specific standard names (AIAG-VDA, ISO 26262, MIL-STD) or broader terms.

**Availability:**
Requires knowledge-mcp connection. If unavailable:
> Standards database not available. Use embedded reference data in `references/root-cause-patterns.md`.
未找到与“[查询内容]”直接匹配的结果。
您是否想查询:
  • "root cause pattern process control"
  • "common failure modes manufacturing"
  • "5M root cause categories"
建议使用具体标准名称(AIAG-VDA、ISO 26262、MIL-STD)或更宽泛的术语优化查询。

**可用性:**
需要连接knowledge-mcp。若不可用:
> 标准数据库不可用,请使用`references/root-cause-patterns.md`中的嵌入式参考数据。