Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
aj-geddes avatar

Root Cause Analysis

  • 657 installs
  • 305 repo stars
  • Updated March 4, 2026
  • aj-geddes/useful-ai-prompts

root-cause-analysis is a Claude Code skill that produces structured incident RCAs with timelines, 5 Whys, prioritized fixes, and follow-up prevention for developers who need postmortems beyond quick hotfix notes.

About

root-cause-analysis is an incident postmortem skill from aj-geddes/useful-ai-prompts that walks developers through timeline reconstruction, log and metrics review, 5 Whys root-cause identification, contributing-factor analysis, and follow-up prevention checklists. The skill outputs action items with owners and deadlines, plus monitoring, testing, and procedural changes to stop recurrence. Use it when an outage or regression needs a documented RCA with shareable learnings rather than a Slack thread or one-line fix summary. The bundled checklist covers incident documentation, timeline establishment, log review, metrics analysis, and preventive measure tracking.

  • End-to-end RCA checklist from documentation through debrief and assigned action items
  • 5 Whys and contributing-factors framing with example incident timeline and impact block
  • Follow-up loop: owners, deadlines, retros, and effectiveness monitoring
  • Prevention bundle: tests, alerts, procedures, and training hooks
  • RCA report template with severity, duration, and revenue-style impact fields

Root Cause Analysis by the numbers

  • 657 all-time installs (skills.sh)
  • Ranked #67 of 596 Debugging skills by installs in the Skillselion catalog
  • Security screen: MEDIUM risk (skills.sh audit)
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill root-cause-analysis

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs657
repo stars305
Security audit3 / 3 scanners passed
Last updatedMarch 4, 2026
Repositoryaj-geddes/useful-ai-prompts

How do you write a structured incident RCA?

Install this skill when an incident needs a structured RCA with timeline, 5 Whys, prioritized fixes, and follow-up prevention—not a quick hotfix note.

Who is it for?

Engineers and SREs documenting production incidents who need a repeatable RCA format with owners and follow-ups.

Skip if: Developers who only need a quick local bug fix without incident documentation or team-wide follow-up.

When should I use this skill?

An incident needs structured RCA with timeline, 5 Whys, prioritized fixes, and follow-up prevention—not a quick hotfix note.

What you get

Incident timeline, 5 Whys analysis, prioritized action items, prevention checklist, and shared learnings document

  • RCA document
  • Action item list
  • Prevention checklist

Files

SKILL.mdMarkdownGitHub ↗

Root Cause Analysis

Table of Contents

Overview

Root cause analysis (RCA) identifies underlying reasons for failures, enabling permanent solutions rather than temporary fixes.

When to Use

  • Production incidents
  • Customer-impacting issues
  • Repeated problems
  • Unexpected failures
  • Performance degradation

Quick Start

Minimal working example:

Example: Website Down

Symptom: Website returned 503 Service Unavailable

Why 1: Why was website down?
  Answer: Database connection pool exhausted

Why 2: Why was connection pool exhausted?
  Answer: Queries taking too long, connections not released

Why 3: Why were queries slow?
  Answer: Missing index on frequently queried column

Why 4: Why was index missing?
  Answer: Performance testing didn't use production-like data volume

Why 5: Why wasn't production-like data used?
  Answer: Load testing environment doesn't mirror production

Root Cause: Load testing environment under-provisioned

Solution: Update load testing environment with production-like data

Prevention: Establish environment parity requirements

Reference Guides

Detailed implementations in the references/ directory:

GuideContents
The 5 Whys TechniqueThe 5 Whys Technique
Systematic RCA ProcessSystematic RCA Process
RCA Report TemplateRCA Report Template
Root Cause Analysis TechniquesRoot Cause Analysis Techniques
Follow-Up & PreventionFollow-Up & Prevention

Best Practices

✅ DO

  • Follow established patterns and conventions
  • Write clean, maintainable code
  • Add appropriate documentation
  • Test thoroughly before deploying

❌ DON'T

  • Skip testing or validation
  • Ignore error handling
  • Hard-code configuration values

Related skills

How it compares

Pick root-cause-analysis over generic debugging skills when the deliverable is a team-facing incident report, not code-level bug isolation.

FAQ

What does root-cause-analysis produce?

root-cause-analysis produces a structured incident RCA: timeline, log and metrics review, 5 Whys root cause, contributing factors, prioritized fixes with owners, and a prevention checklist covering tests, monitoring, and procedural changes.

When should teams use root-cause-analysis?

Teams should use root-cause-analysis after production incidents when they need documented postmortems with follow-up prevention—not for quick hotfix notes or trivial local bugs without operational impact.

Is Root Cause Analysis safe to install?

skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

Debuggingmonitoringsupportinfra

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.