Logo de 5why Root Cause

5why Root Cause

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

Visão geral

Publicado porRBraga01
RepositórioQuality-Engineering-Skills
Nome da habilidade5why-root-cause
Estrelas
45
Forks
19
Arquivos incluídos
1
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Arquivos incluídos: 1

    Scripts, templates e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente para leitura e nunca são executados.

  • Código aberto

    Publicada por RBraga01 no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA 5why Root Cause no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/RBraga01/Quality-Engineering-Skills/tree/master/skills/problem-solving/5why-root-cause
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse 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
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative 5why Root Cause em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega 5why Root Cause automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, 5why Root Cause não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo 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

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

Perguntas frequentes

O que a habilidade de IA 5why Root Cause faz?

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.

Por que usar 5why Root Cause no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade 5why Root Cause é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar 5why Root Cause no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/RBraga01/Quality-Engineering-Skills/tree/master/skills/problem-solving/5why-root-cause. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar 5why Root Cause?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com 5why Root Cause?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar 5why Root Cause com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA 5why Root Cause é gratuita?

Sim. A habilidade é publicada no GitHub por RBraga01 sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇