root-cause-analysis
/root-cause-analysis
Use when a bug has been reproduced or confirmed and needs its exact cause traced before a fix is proposed, or when the user says 'investigate issue'. Traces a bug to its exact cause in the codebase. Investigation only — reports the cause on the ticket; does not edit code.
- Author
- arozumenko ↗
- Repository
- sdlc-skills ↗
- Licence
- MIT
- Last repository change
- 26.10.2026
Assessment and security
- Files in this package
- 2
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 26.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Use when a bug has been reproduced or confirmed and needs its exact cause traced before a fix is proposed, or when the user says 'investigate issue'. Traces a bug to its exact cause in the codebase. Investigation only — reports the cause on the ticket; does not edit code.
Triggers from the description
Original author description
Use when a bug has been reproduced or confirmed and needs its exact cause traced before a fix is proposed, or when the user says 'investigate issue'. Traces a bug to its exact cause in the codebase. Investigation only — reports the cause on the ticket; does not edit code.
How it works
- Platform & systems
- When to use
- Methodology — 4 phases
- You do NOT
- Related skills
SKILL.md preview
---
name: root-cause-analysis
description: Use when a bug has been reproduced or confirmed and needs its exact cause traced before a fix is proposed, or when the user says 'investigate issue'. Traces a bug to its exact cause in the codebase. Investigation only — reports the cause on the ticket; does not edit code.
license: Apache-2.0
metadata:
authors:
- Artem Rozumenko <artem_rozumenko@epam.com>
version: "0.1.0"
---
# Root-Cause Analysis (RCA)
Trace a confirmed bug to its exact cause and produce a structured RCA
artifact. **Investigation only — you do NOT edit code, branch, or fix.**
## Platform & systems
The RCA report goes on the **tracker ticket** — the source of truth — using
the tracker scout recorded in `.agents/profile.md § Project systems`. The
`gh issue …` commands below are the **GitHub reference**; translate per
`.agents/workflow.md § Git host`. With no tracker, report directly to the user.
## When to use
Pairs with **`systematic-debugging`** — use its rigor (reproduce reliably,
condition-based waiting) to trace, then produce the structured report here.
## Methodology — 4 phases
### 1. Ticket acquisition
Read the ticket and all comments (reproduction steps, errors, stack traces,
environment, prior notes). Note that RCA has started on the ticket.
### 2. Codebase investigation — trace, don't guess
- **Locate the entry point**: grep the error message / function / route.
- **Trace the call chain**: entry (route/handler) → service (logic) → data
layer → failure point. Read each file in the chain.
- **Examine the failure point**: which assumption is violated? what input
triggers it? is the bug here or in a dependency?
- **Search for patterns**: how is the function called elsewhere; are there
similar patterns that work; `git blame` and recent `git log` on the file.
### 3. Root-cause determination
Classify the cause:
| Category | Description | Example |
|---|---|---|
| **Logic** | Wrong condition, missing branch, off-by-one | `if x > 0` should be `if x >= 0` |
| **Data** | Unexpected input, null handling, type mismatch | Missing null check on optional field |
| **Concurrency** | Race condition, missing lock, async issue | Two requests mutating the same resource |
| **Configuration** | Wrong default, missing env var | Timeout too low for large payloads |
| **Integration** | API contract / dependency version change | Third-party API changed its response shape |
| **Resource** | Memory, connection pool, file handles | DB connection pool exhausted |
State **confidence**: Confirmed (you can see the exact bug) / Highly likely /
Suspected.
### 4. Impact analysis & report
- **Usage**: what else calls the buggy code; what depends on the module.
- **Regression risk**: what could break if fixed; existing test coverage;
whether the code is shared across features.
- **Post the RCA report on the ticket**: executive summary, classification
(category / confidence / severity), root cause (location `file:line` +
function + cause + the offending code), execution path, impact analysis,
suggested remediation, and dependencies (what this blocks / relates to).
- **One line to user/PM**: root cause + location + confidence.
**RCA comment template:**
```
## Root Cause — <ticket-id>
**Summary:** <what & why, one paragraph>
**Classification:** <Logic|Data|Concurrency|Configuration|Integration|Resource> · confidence <Confirmed|Likely|Suspected> · severity <…>
**Root cause:** `path/to/file.ext:line` in `<function>` — <the offending logic>
**Execution path:** <entry → … → failure point>
**Impact:** <callers / regression risk / test coverage>
**Suggested remediation:** <fix direction, not the patch>
**Blocks / relates to:** <links>
```
## You do NOT
Edit source, create PRs/branches, run the app to fix it, make architecture
decisions, or close/reassign tickets. Hand the structured RCA to the developer
(or `bugfix-workflow`) for the fix.
## Related skills
- **`reproducing-issues`** precedes this — confirm the bug first.
- **`systematic-debugging`** for tracing rigor.
- **`bugfix-workflow`** consumes the RCA to implement and verify the fix.
Files in this package (2)
- README.md 1 KB
- SKILL.md 4 KB
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · arozumenko/sdlc-skills | 100 | MIT |
| qa-aman/claude-skills | 100 | MIT |
| robert-adunka/triz-skills | 100 | MIT |
| arjunprabhulal/devops-skills | 100 | MIT |
| static-var/keystone | 100 | MIT |
| rohitg00/skillkit | 100 | Apache-2.0 |
| microsoft/hve-core | 95 | MIT |
| VoDaiLocz/kilo-kit-mcp | 95 | Apache-2.0 |
| autohandai/code-cli | 90 | Apache-2.0 |
Database snapshot: 13.11.2026 · package version 01d5e4b15517 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 1 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100rca-investigator
Root Cause Analysis workflow. Use when a bug is confirmed and needs deep investigation: tracing code paths, analyzing dependencies, identifying the exact location and cause. Does NOT fix code — investigation and documentation only. - 100bug-investigation-notes
Keeps structured notes during a bug hunt: symptoms, repro steps, hypotheses with evidence, experiments, root cause, fix, and a regression test. Use when a developer is debugging, chasing a flaky test or production issue, wants to write up a bug they fixed, a postmortem, or a… - 100om-root-cause
Use when a confirmed tracker defect needs read-only diagnosis before implementation, e.g. 'find the cause of issue 123'. Used by om-auto-fix-issue after triage. Locate the bug and minimal change surface, then return a summary, files to change, approach, and risks for om-fix. - 100triage
Investigate a bug, find its root cause, and write a portable triage record to .dev-team-reports/triage/<slug>.md with a TDD fix plan. Use when the user reports a bug and wants it triaged, says "triage this", "investigate and write it up", or wants a hands-off bug investigation… - 100triage-issue
Investigate a reported bug to root cause, then emit a TDD-shaped fix plan as an issue artifact. Trigger when the user reports a bug, says "triage", asks for issue investigation, or wants a fix plan before code changes. - 95triage-bug
Use when a Jira Bug issue needs investigation to identify root cause and produce a fix task. Covers bug triage, codebase investigation, root cause analysis, reproducer test guidance, and linked Task creation for implement-task consumption.