Skip to content

Iterative Five Whys analysis that drills from visible symptoms to systemic root causes and fixes.

CCM score
54 of 100
skills.sh installs
1.3K
GitHub stars
1.9K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the full investigation loop: state the problem, ask why iteratively, validate root cause backward, and propose solutions
  • Includes a DEPTH variable (default 5) and a branch-exploration step for issues with multiple causes
  • Enforces a rule against stopping at symptoms or at "human error," pushing analysis toward missing validation, docs, process, or automation
  • Designed for production bugs, CI/CD failures, and slow deployments, with worked examples for each

Install

$ npx -y skills add neolabhq/context-engineering-kit --skill why -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Five Whys Analysis

Apply Five Whys root cause analysis to investigate issues by iteratively asking "why" to drill from symptoms to root causes.

Description

Iteratively ask "why" to move from surface symptoms to fundamental causes. Identifies systemic issues rather than quick fixes.

Usage

/why [issue_description]

Variables

  • ISSUE: Problem or symptom to analyze (default: prompt for input)
  • DEPTH: Number of "why" iterations (default: 5, adjust as needed)

Steps

  1. State the problem clearly
  2. Ask "Why did this happen?" and document the answer
  3. For that answer, ask "Why?" again
  4. Continue until reaching root cause (usually 5 iterations)
  5. Validate by working backwards: root cause → symptom
  6. Explore branches if multiple causes emerge
  7. Propose solutions addressing root causes, not symptoms

Examples

Example 1: Production Bug

Details

Repository
github.com/neolabhq/context-engineering-kit
Categories
Debugging, DevOps & Cloud
First seen
Jun 3, 2026

More from neolabhq/context-engineering-kit

All 62

Similar to Why

More Debugging