Logo di 5why Root Cause

5why Root Cause

Community
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.

Panoramica

AutoreRBraga01
RepositoryQuality-Engineering-Skills
Nome della skill5why-root-cause
Stelle
45
Fork
19
File inclusi
1
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • 1 file inclusi

    Script, modelli di documento e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da RBraga01 su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA 5why Root Cause in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/RBraga01/Quality-Engineering-Skills/tree/master/skills/problem-solving/5why-root-cause
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Nuova skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella nella cartella delle skill di quell'agente.

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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva 5why Root Cause in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente 5why Root Cause non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi 5why Root Cause non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA 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.

Perché usare 5why Root Cause su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. 5why Root Cause è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo 5why Root Cause in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/RBraga01/Quality-Engineering-Skills/tree/master/skills/problem-solving/5why-root-cause. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare 5why Root Cause?

Qualsiasi modello che colleghi in TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con 5why Root Cause?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con 5why Root Cause: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA 5why Root Cause è gratuita?

Sì. È pubblicata su GitHub da RBraga01 con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, modelli o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Vedi tutti

Crea subito la tua area di lavoro IA

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇