Skip to content
Back to skills

Find Root Cause

ASecurity

Trace the root cause of a problem — not just the symptom, but WHY it happens and WHERE the fix should go. Uses the Config Generation Chain pattern.

  • 132 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 3, 2026
devopsgodockergitci/cd

Security analysis

A100/100

Scanned December 3, 2026

npx -y skills add Soul-Brews-Studio/arra-oracle-skills-cli --skill find-root-cause --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Find Root Cause?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Find Root Cause
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/soul-brews-studio-find-root-cause/badge)](https://www.skillsdirectory.com/skills/soul-brews-studio-find-root-cause)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: find-root-cause
description: Trace the root cause of a problem — not just the symptom, but WHY it happens and WHERE the fix should go. Uses the Config Generation Chain pattern.
group: code
tier: standard
---

# /find-root-cause

Trace a problem from symptom → root cause. Don't stop at "restart fixes it" — find WHY and WHERE the permanent fix lives.

## Usage

```
/find-root-cause                    # Describe the problem, I'll trace it
/find-root-cause "telegraf errors"  # Start with a specific symptom
```

## The Chain

Every problem has a chain. Trace it:

```
Symptom → Immediate cause → Config/Code source → Generator/Build → Root template/data
```

### Example: Pipeline Errors

```
Symptom:        Telegraf write errors in logs
Immediate:      Dead InfluxDB (10.0.0.5) in container config
Config source:  07-output/telegraf.d/5m/*.yml.conf (mounted volume)
Generator:      01-core/scripts/020_gen_telegraf_unified.sh
Root:           01-core/telegraf_config_map.yml → db2.enabled: true
```

Fix at symptom = temporary. Fix at root = permanent.

## Instructions

### Step 1: Identify the Symptom

Ask: What's broken? Get the error message, log output, or observable behavior.

### Step 2: Trace Backwards

For each level, ask: "Where does this come from?"

| Level | Question | Tool |
|-------|----------|------|
| Runtime | What process/container shows the error? | `docker logs`, `journalctl`, app logs |
| Config | What config file controls this behavior? | `docker inspect`, mount points, env vars |
| Source | Where is that config generated/stored? | `grep -r`, git history, build scripts |
| Generator | What script/workflow produces it? | CI/CD, Makefile, build pipeline |
| Root | What data/template feeds the generator? | Source YAML, env files, DB records |

### Step 3: Verify Each Level

At each level, confirm:
- Is this the actual cause, or just a relay?
- If I fix HERE, will it survive a redeploy/restart/rebuild?
- Is there a level deeper?

### Step 4: Report

```markdown
## Root Cause Analysis

**Symptom**: [what's broken]
**Chain**:
1. [Runtime] → [what you see]
2. [Config] → [where it's configured]
3. [Source] → [where config comes from]
4. [Root] → [the actual source of truth]

**Fix at root**: [what to change]
**Why not fix at symptom**: [why it would come back]
**Verification**: [how to confirm the fix]
```

### Step 5: Fix

Fix at the deepest level possible. Then verify the fix propagates up the chain.

## Philosophy

> "Restart fixes the symptom. Understanding fixes the problem."

A runbook that says "restart" is a band-aid. A root cause analysis that says "disable db2 in source template" is a cure.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in devops →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.