Skip to content
Skills Library
AI & agents · Analysis

Rca

/Rca

Root-cause a bug or failure, then propose the rule or context module that would have prevented it — every bug improves the checked-in AI layer. Produces an RCA report plus a concrete edit to CLAUDE.md or .claude/context/. USE WHEN sdlc rca, root cause analysis, why did this break, post-mortem, bug to rule, improve the ai layer, prevent this next time, system review.

Licence
MIT
Last repository change
21.08.2026

Assessment and security

95/ 100Class: good
Format20 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
3
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 21.08.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Root-cause a bug or failure, then propose the rule or context module that would have prevented it — every bug improves the checked-in AI layer. Produces an RCA report plus a concrete edit to CLAUDE.md or .claude/context/. USE WHEN sdlc rca, root cause analysis, why did this break, post-mortem, bug to rule, improve the ai layer, prevent this next time, system review.

Original author description

Root-cause a bug or failure, then propose the rule or context module that would have prevented it — every bug improves the checked-in AI layer. Produces an RCA report plus a concrete edit to CLAUDE.md or .claude/context/. USE WHEN sdlc rca, root cause analysis, why did this break, post-mortem, bug to rule, improve the ai layer, prevent this next time, system review.

How it works

  1. Customization
  2. Prerequisites
  3. Workflow Routing
  4. Template
  5. Output
  6. Examples
Original SKILL.md headings · 38 lines, 186 words
SKILL.md preview
---
name: Rca
description: Root-cause a bug or failure, then propose the rule or context module that would have prevented it — every bug improves the checked-in AI layer. Produces an RCA report plus a concrete edit to CLAUDE.md or .claude/context/. USE WHEN sdlc rca, root cause analysis, why did this break, post-mortem, bug to rule, improve the ai layer, prevent this next time, system review.
---

# Rca

When the agent (or the code) produces something off, don't just fix it and move on — ask what in the AI layer let it happen. The output is a root-cause analysis *and* a proposed change to the rules/context so the system compounds instead of repeating mistakes. Improvements ship as PRs, the same review process as code.

## Customization

Before executing, check `~/.claude/LIFEOS/USER/CUSTOMIZATIONS/SKILLS/Rca/PREFERENCES.md`. If present, load and apply it; otherwise use defaults.

## Prerequisites

1. **buddy** + **LifeOS** installed (`test -f ~/.claude/LIFEOS/VERSION`).
2. An AI layer to improve: `CLAUDE.md` and/or `.claude/context/` (run `/sdlc:init` if absent).

## Workflow Routing

| Workflow | Trigger | File |
|----------|---------|------|
| **RootCauseToRule** | Any `/sdlc:rca` invocation | `Workflows/RootCauseToRule.md` |

## Template

`Templates/RcaReport.md` — the RCA report shape.

## Output

- `docs/rca/<slug>.md` — the analysis
- A proposed edit (diff) to `CLAUDE.md` or a `.claude/context/` module — presented for review, not auto-applied

## Examples

```
User: "/sdlc:rca the migration ran twice and duplicated rows"
→ Traces the root cause (idempotency assumption not enforced)
→ Writes docs/rca/duplicate-migration.md
→ Proposes a CLAUDE.md hard rule + a .claude/context/migrations.md note, for review
```
Files in this package (3)
  • SKILL.md 2 KB
  • Templates/RcaReport.md 1 KB
  • Workflows/RootCauseToRule.md 2 KB

Versions

RepositoryScoreLicence
This page · rsts-dev/claude-buddy-marketplace95MIT
grimoire-rs/grimoire100Apache-2.0
SpIvanM/golden-skills100MIT
noordeen123/culprit100MIT
assafkip/kipi-system90MIT

Database snapshot: 13.11.2026 · package version 53a667cb2ee9 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 2 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100hk-rca
    Walk a bug through Reproduce, Locate, Hypothesis, Failing Test, Fix, Verify Live, Document, and state the root cause in chat. A bug that will not reproduce takes Step 1's hard-bug branch: build a pass/fail loop, minimise, bisect, instrument. Triggers on: 'something is broken',…
  • 95incident
    Guide incident response, root cause analysis, and post-mortem documentation. Use when: production incident, outage response, post-mortem writing, RCA. Not for: designing retries and checkpoints before failure — use /durable; setting alert thresholds and Error Budget policy — use…
  • 100rca-report
    Use when investigating and documenting a production incident, outage, data corruption event, or post-mortem — guides evidence collection during the investigation AND produces a rich, reproducible Root Cause Analysis report. Trigger on phrases like "write an RCA", "post-mortem…
  • 90root-cause-analysis
    Writes a canonical RCA artifact for an incident or failure. Use when the workflow is root-cause-analysis and the team needs one durable record of problem, evidence, root cause and solution.
  • 100root-cause-analysis
    Root Cause Analysis (RCA) for engineering problems — systematic step-by-step framework identifying scientific principles, analyzing physical parameters, and deriving actionable insights. Use this skill when the user wants to find the root cause of a technical failure, perform…
  • 100hk-rca
    Interactive Root Cause Analysis enforcer. Guides you through the 7-step RCA protocol: Reproduce, Locate, Hypothesis, Failing Test, Fix, Verify Live, Document. Use when debugging a bug, investigating a failure, or when something unexpected happened. This skill gates each step —…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.