rca-report
БесплатноБез исполняемых скриптовНе проверенUse when documenting a resolved or contained production incident, outage, near-miss, silent pipeline/service failure, data corruption event, or post-mortem…
от bmad-labs★ 20 звёзд на GitHubОб этом скилле
RCA Report
Produce post-mortems that are reproducible, layered, and operationally useful — not just narrative. A good RCA lets a future engineer (or future you) understand the incident, verify the fix held, and avoid repeating it. This skill covers both the investigation flow (what to gather while the incident is fresh) and the report itself.
Output location
First check whether the project already keeps incident write-ups somewhere (e.g. docs/incidents/, docs/postmortems/, postmortems/, incidents/, docs/rca/) and save there, following any naming convention you find. Otherwise save to the current working directory.
Default filename: <topic>-rca-<YYYY-MM-DD>.md, where:
<topic>is a short kebab-case identifier of the failing system (e.g.cdc-pipeline,auth-service,kafka-consumer-lag)<YYYY-MM-DD>is the incident date (when it occurred), not necessarily today
Example: cdc-pipeline-rca-2026-05-05.md, auth-500s-rca-2026-04-12.md
The two-phase workflow
Phase 1 — Investigation (gather evidence)
Before writing anything, walk through references/investigation-checklist.md with the user. The goal is to lock in concrete, reproducible facts — timestamps, version numbers, exact LSNs/IDs/error strings, command outputs — while the system state is still observable. Memory degrades fast; logs rotate; replication slots advance. Capture now, write later.
Do not skip this phase even if the user says "I already fixed it" — fixed-state evidence (for example, in a database CDC incident: the healthy confirmed_flush_lsn advancing and a test row flowing through Kafka; in a web-service incident: the 5xx rate back to baseline and a canary request returning 200) is what proves the resolution actually held. That proof is what separates a real RCA from a story.
If the user already has notes/transcripts/scrollback from the live incident, mine those first before asking questions. Don't make them re-type what's already in the conversation.
Phase 2 — Write the report
Use templates/rca-report.md as the structural skeleton. Fill it section by section using the evidence from Phase 1. Then validate against references/quality-rubric.md before declaring done.
What makes an RCA actually good
A strong RCA has all of the following. The examples below come from two sample incidents (a database CDC pipeline and an auth web service) — use whatever the equivalent is in your domain.
A timeline with UTC timestamps for every observable event — "the connector was wedged for ~18h" is narrative; "2026-05-04 09:54:16 Postgres terminated replication connection" or "2026-04-12 14:03:51 auth-service deploy v2.14.0 reached 100%" is evidence. Always prefer the precise version.
An infrastructure table that fully identifies the system — versions, hostnames, zones, service/deployment names, and domain identifiers (e.g. connector, topic and slot names for a data pipeline; endpoints, load balancers and feature flags for a web service). Someone reading this six months later should be able to find the exact resources without ambiguity.
Quantified impact across user, system, data, and SLA dimensions — vague impact ("some customers were affected") is worthless for severity calibration. State user-visible effect, internal system degradation, data integrity status, and SLA / financial cost as concrete numbers. If a number is unknown, say so explicitly rather than skipping the dimension.
Layered root cause analysis — not just what broke, but:
- The primary cause (the trigger event)
- Why it appeared healthy (what masked the failure — this is usually the most valuable part)
- Secondary mechanisms (gates, retries, internal state that contributed)
State snapshots with actual values — the contrast between expected state and observed state is what makes the diagnosis click. Example from a replication incident:
confirmed_flush_lsn = 1/AD5B16C0 (pre-restore stale value)next topg_current_wal_lsn = 1/ADC4B740 (current)tells the whole story in two lines. Capture similar contrasts for whatever domain you're in (queue depth, error rate, version mismatch, schema drift — e.g.token cache TTL = 0s (new config)vs300s (previous release)).Workaround / temporary mitigation captured separately from the resolution — the fast, low-risk action that stopped the bleeding before the root cause was fully understood. Workarounds and resolutions answer different questions: workaround = what does on-call do at 3am next time this fires; resolution = what permanently closes the case. Document the workaround's effect, its risks, and the trigger condition for applying it.
Resolution with ordering rationale — not just "I ran these commands", but why this order. If step 4 must come after step 3 because of in-memory state, say so. The next person hitting this will try the obvious order first and fail; document why obvious-order does
Установить rca-report в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл rca-report?
Use when documenting a resolved or contained production incident, outage, near-miss, silent pipeline/service failure, data corruption event, or post-mortem — guides evidence collection while the post-fix state is still observable AND produces a rich, reproducible Root Cause Analysis report. Trigger on phrases like "write an RCA", "post-mortem for X", "document this incident", "what went wrong with...", "the pipeline broke yesterday and we fixed it, write it up", or when the user wants help structuring evidence for a write-up of a recently-resolved incident. Also use proactively when the user finishes resolving an incident in-session and the resolution context is fresh — offer to capture it as an RCA before details fade. If the incident is still live and the user needs help finding the cause or fixing it, use ultrathink-protocol instead and come back here once it is contained.
Как установить скилл rca-report?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл rca-report запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic