aj-geddes avatar

Root Cause Analysis

This walks you through systematic problem solving when things break in production. It's built around the 5 Whys technique and includes a structured RCA process with templates for incident reports. You get concrete examples like tracing a 503 error back through database connection pools to missing indexes to inadequate load testing environments. The skill covers when to do an RCA (production incidents, recurring problems, performance issues) and includes follow-up guides for prevention. Honestly most valuable for teams that keep fighting the same fires instead of fixing the underlying issues. The templates help you actually document what went wrong instead of just scrambling to restore service and moving on.

skills.sh installs
916
GitHub stars
379
last updated
Aug 21, 2026

Install

$ npx -y skills add aj-geddes/useful-ai-prompts --skill root-cause-analysis --agent claude-code

Installs into .claude/skills of the current project.

Files

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

Sponsors

Details

Repository
github.com/aj-geddes/useful-ai-prompts
Category
AI & Agent Building
First seen
Jun 3, 2026

More from aj-geddes/useful-ai-prompts

All 258
1k-dense-ai avatariso-13485-certificationk-dense-ai/scientific-agent-skillsPrepare and structurally review ISO 13485 QMS scope, controlled documentation, and local evidence manifests. Use for ISO 13485 certification-readiness documenta915skills.sh installs
2remix-run avatarreact-router-data-moderemix-run/agent-skillsreact router data mode914skills.sh installs
3pulumi avatarpulumi-cdk-to-pulumipulumi/agent-skillsLoad this skill when a user wants to migrate, convert, port, translate, or move an AWS CDK application (including CDK stacks, constructs, or CloudFormation-synt912skills.sh installs
4ailabs-393 avatarpdfailabs-393/ai-labs-claude-skillsComprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents, and handling forms. When Claude needs to 905skills.sh installs
5ailabs-393 avatartest-specialistailabs-393/ai-labs-claude-skillsThis skill should be used when writing test cases, fixing bugs, analyzing code for potential issues, or improving test coverage for JavaScript/TypeScript applic904skills.sh installs
6pulumi avatarcloudformation-to-pulumipulumi/agent-skillsConvert, migrate, or import AWS CloudFormation stacks or templates into Pulumi programs. Load this skill whenever a user wants to move from CloudFormation to Pu903skills.sh installs