
Why
- 892 installs
- 1.3k repo stars
- Updated July 26, 2026
- neolabhq/context-engineering-kit
why is a root cause analysis skill that runs iterative Five Whys drills from symptoms to fundamentals for developers who need systemic fixes instead of superficial patches.
About
why is a skill from neolabhq/context-engineering-kit that applies Five Whys root cause analysis to engineering and product issues. Invoked as `/why [issue_description]`, the skill states the problem, asks repeated why questions with configurable depth defaulting to 5 iterations, and moves from surface symptoms to fundamental causes. It targets bugs, failed deployments, user complaints, and stalled growth where quick fixes hide systemic problems. Developers and on-call engineers reach for why during postmortems, recurring incidents, or persistent quality issues requiring structured causal chains.
- Iterative Five Whys root cause analysis that drills from symptoms to fundamentals
- 7-step structured process including backward validation and branching exploration
- Generates actionable solutions that target root causes rather than symptoms
- Works on production bugs, CI/CD failures, support issues, and strategic problems
- Outputs validated root cause plus concrete fix recommendations
Why by the numbers
- 892 all-time installs (skills.sh)
- +52 installs in the week ending Jul 28, 2026 (Skillselion tracking)
- Ranked #531 of 3,301 Productivity & Planning skills by installs in the Skillselion catalog
- Security screen: LOW risk (skills.sh audit)
- Data as of Jul 28, 2026 (Skillselion catalog sync)
npx skills add https://github.com/neolabhq/context-engineering-kit --skill whyAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 892 |
|---|---|
| repo stars | ★ 1.3k |
| Security audit | 3 / 3 scanners passed |
| Last updated | July 26, 2026 |
| Repository | neolabhq/context-engineering-kit ↗ |
How do you find the root cause of a recurring bug?
Systematically uncover the real reasons behind bugs, failed deployments, user complaints, or stalled growth instead of applying superficial patches.
Who is it for?
Developers and SREs investigating recurring bugs, failed deploys, or user-impacting issues who want structured RCA.
Skip if: Greenfield feature research, UI theming tasks, or one-off typos with an obvious single-line fix.
When should I use this skill?
The user reports a recurring bug, failed deployment, complaint pattern, or asks why an issue keeps happening.
What you get
Five Whys causal chain, stated root cause, and systemic fix recommendations instead of symptom patches.
- Five Whys causal chain
- root cause summary
By the numbers
- Default analysis depth of 5 why iterations
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
Problem: Users see 500 error on checkout
Why 1: Payment service throws exception
Why 2: Request timeout after 30 seconds
Why 3: Database query takes 45 seconds
Why 4: Missing index on transactions table
Why 5: Index creation wasn't in migration scripts
Root Cause: Migration review process doesn't check query performance
Solution: Add query performance checks to migration PR templateExample 2: CI/CD Pipeline Failures
Problem: E2E tests fail intermittently
Why 1: Race condition in async test setup
Why 2: Test doesn't wait for database seed completion
Why 3: Seed function doesn't return promise
Why 4: TypeScript didn't catch missing return type
Why 5: strict mode not enabled in test config
Root Cause: Inconsistent TypeScript config between src and tests
Solution: Unify TypeScript config, enable strict mode everywhereExample 3: Multi-Branch Analysis
Problem: Feature deployment takes 2 hours
Branch A (Build):
Why 1: Docker build takes 90 minutes
Why 2: No layer caching
Why 3: Dependencies reinstalled every time
Why 4: Cache invalidated by timestamp in Dockerfile
Root Cause A: Dockerfile uses current timestamp for versioning
Branch B (Tests):
Why 1: Test suite takes 30 minutes
Why 2: Integration tests run sequentially
Why 3: Test runner config has maxWorkers: 1
Why 4: Previous developer disabled parallelism due to flaky tests
Root Cause B: Flaky tests masked by disabling parallelism
Solutions:
A) Remove timestamp from Dockerfile, use git SHA
B) Fix flaky tests, re-enable parallel test executionNotes
- Don't stop at symptoms; keep digging for systemic issues
- Multiple root causes may exist - explore different branches
- Document each "why" for future reference
- Consider both technical and process-related causes
- The magic isn't in exactly 5 whys - stop when you reach the true root cause
- Stop when you hit systemic/process issues, not just technical details
- Multiple root causes are common—explore branches separately
- If "human error" appears, keep digging: why was error possible?
- Document every "why" for future reference
- Root cause usually involves: missing validation, missing docs, unclear process, or missing automation
- Test solutions: implement → verify symptom resolved → monitor for recurrence
Related skills
FAQ
How do you invoke the why skill?
why is invoked with `/why [issue_description]`; it states the problem, asks why repeatedly, and defaults to 5 iterations unless depth is adjusted for shallower or deeper analysis.
What problems does why analyze?
why applies Five Whys to bugs, failed deployments, user complaints, and stalled growth, drilling past symptoms to fundamental causes rather than recommending superficial patches.
Is Why safe to install?
skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.