Logo vun 5why Root Cause

5why Root Cause

Communautéit
RBraga01
5why-root-cause

Drill into root cause with a 5-Why why chain, why analysis, or structured root cause investigation. Builds a Why chain from symptom to systemic root cause, validates each step with evidence, and detects circular reasoning. Use for 8D D4, CAPA, FMEA cause analysis, or any quality investigation requiring confirmed root cause identification.

Iwwersiicht

EditeurRBraga01
RepositoryQuality-Engineering-Skills
Skill-Numm5why-root-cause
Stären
45
Forks
19
Matgeliwwert Fichieren
1
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 1 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    Vum RBraga01 op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill 5why Root Cause an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/RBraga01/Quality-Engineering-Skills/tree/master/skills/problem-solving/5why-root-cause
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/RBraga01/Quality-Engineering-Skills.git /tmp/Quality-Engineering-Skills
mkdir -p .claude/skills
cp -r /tmp/Quality-Engineering-Skills/skills/problem-solving/5why-root-cause .claude/skills/5why-root-cause
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert 5why Root Cause an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet 5why Root Cause automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass 5why Root Cause net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

5-Why Root Cause Analysis

Goal

Identify and validate a systemic root cause through a structured, evidence-based Why chain that can be directly linked to a corrective action.

Required Execution Checklist

  • Problem defined with measurable data (value vs. specification)
  • Linear Why chain built — one cause path at a time, no branching
  • Each Why supported by objective evidence (not opinion or "probably")
  • Logical consistency verified — reversal check passed
  • Systemic root cause identified (not "human error" or symptom)
  • Root cause validated: reproducibility test + elimination test
  • Output enables definition of corrective action (PCA or CAPA)

When to use

Use 5-Why for any quality problem with a single, linear cause chain. Works best for process failures, equipment failures, and procedural non-compliances. For complex problems with multiple contributing causes, use Fishbone first to identify candidate root causes, then use 5-Why to drill into each.

If multiple potential cause paths exist — do not combine them into one chain. Run separate 5-Why chains for each path and determine which is confirmed by evidence.

Prerequisites

  • Problem is clearly defined (use Is/Is-Not to scope if needed)
  • The investigation team has access to the process, machine, or system where the defect occurred
  • Physical evidence or production records are available

Use within 8D — Occurrence and Escape

When used for 8D D4, two separate Why chains are required:

ChainStarting questionWhat it finds
Occurrence chain"Why did the defect happen?"Root Cause of Occurrence (RCO) — the process or design failure that created the defect
Escape chain"Why was the defect not detected before reaching the customer?"Root Cause of Escape (RCE) — the detection system failure

Run each chain independently. Do not mix occurrence and escape causes in the same chain — they have different corrective actions. The occurrence chain addresses prevention; the escape chain addresses detection.


Workflow

Step 1 — State the symptom precisely

Start with a factual, measurable problem statement. Not "the part was bad" but "dimension X measured 23.5mm; specification is 25.0 ± 0.5mm on part number Y, batch 2026-05-12."

The first Why answers: "Why did [specific symptom] occur?"


Step 2 — Build the Why chain

For each Why, follow these rules:

Rule 1: Each answer must be supported by evidence

  • Acceptable evidence: measurement data, production records, machine logs, direct observation, physical samples
  • Not acceptable: "probably," "maybe," "someone said"

Rule 2: Each answer must logically lead to the next Why

  • Test reversibility: "Because [Why N], therefore [Why N+1]"
  • If the sentence doesn't make logical sense, the chain is broken

Rule 3: Keep the chain focused

  • One Why chain = one cause path
  • If you reach a fork (two possible causes), investigate both separately

Rule 4: Stop at a systemic root cause

  • You have reached root cause when: fixing it would prevent the defect from ever recurring
  • Typical systemic root causes: missing procedure, inadequate training system, process design gap, absence of poka-yoke, measurement system failure

Step 3 — Validate the chain

Work backwards through the completed chain:

"Because [Why 5], therefore [Why 4]. Because [Why 4], therefore [Why 3]..."

If any step does not logically follow, revise that step.


Step 4 — Validate the root cause

The root cause is correct if:

  • Reproducibility test: can you deliberately create the defect by triggering the root cause? Yes → validated
  • Elimination test: if you fix the root cause, does the defect disappear? (trial run or logical test)

If neither test is possible, the root cause is not confirmed — it is a hypothesis. Do not close the investigation on a hypothesis. Either obtain evidence to confirm it, or investigate alternative cause paths.


Example

Problem: Connector pin bent at incoming inspection, 12/200 parts (6%).

#WhyEvidenceValidated?
1Why are pins bent?Pins deformed during insertion into housingMicroscopy confirmed deformation pattern
2Why during insertion?Insertion force exceeded pin yield strengthForce measurement: 48N, pin rated to 35N
3Why was force 48N?Operator used incorrect insertion tool (hand press vs. pneumatic jig)Tool log: jig under maintenance since 05-10
4Why was incorrect tool used?No instruction specifying which tool to use when jig is unavailableWork instruction reviewed — no contingency
5Why no contingency?Tool maintenance downtime not considered in work instruction designProcess FMEA missing this scenario

Root cause: Work instruction design does not cover tool substitution contingency; FMEA does not identify tool maintenance as a failure scenario.

Reversal check: "Because FMEA doesn't cover tool maintenance → therefore no contingency instruction → therefore wrong tool used → therefore excess force → therefore pins bent." ✓ Logical.


Common mistakes — reject these

"Human error" as a final answer → Ask: why was the error possible? What in the system allowed it?

"Operator didn't follow the procedure" → Ask: why didn't they follow it? Was it unclear? Not trained? Impossible to follow?

"Machine was out of calibration" → Ask: why? What is the calibration interval? Was it missed? Why?

Circular reasoning → "The part was defective because it didn't meet spec, because it was defective." → reframe the first Why as the physical mechanism.

Stopping at a symptom, not a cause → "The defect occurred because the part was wrong" — that IS the defect, not a cause.

Branching the chain prematurely → Each Why step should have one answer. If you have two, run two separate 5-Why chains.

Output content

A validated 5-Why must include:

  1. Problem statement (measured, quantified)
  2. Each Why with: the answer, the supporting evidence, and validated (Yes/No)
  3. Root cause statement
  4. Reversal check (one sentence confirming logical flow)
  5. Validation method (how the root cause was confirmed)
  6. Corrective action direction — what type of action addresses this root cause (used as direct input to 8D D5 or CAPA)

Output Format

At the start of each use, ask the user:

"How would you like to receive the output? A — Structured Markdown (formatted tables and sections, ready to copy) B — Plain tables (simplified structure for Excel or Word) C — Narrative report (flowing text for a formal document or email)

Default: A."

Adapt all output sections to the chosen format. If the platform or session context already defines a format preference, skip this question.

Reference files

Changelog

VersionDateAuthorChange
1.02026-06-01@RBraga01Initial release
1.12026-06-03@RBraga01Added dual-chain requirement (occurrence + escape), evidence status tracking

Matgeliwwert Fichieren

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill 5why Root Cause?

Drill into root cause with a 5-Why why chain, why analysis, or structured root cause investigation. Builds a Why chain from symptom to systemic root cause, validates each step with evidence, and detects circular reasoning. Use for 8D D4, CAPA, FMEA cause analysis, or any quality investigation requiring confirmed root cause identification.

Firwat 5why Root Cause op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. 5why Root Cause besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech 5why Root Cause an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/RBraga01/Quality-Engineering-Skills/tree/master/skills/problem-solving/5why-root-cause an. TypingMind liest d'Datei SKILL.md, bündelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen 5why Root Cause benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat 5why Root Cause benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir 5why Root Cause domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill 5why Root Cause gratis?

Jo. De Skill gëtt vum RBraga01 ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇