/sre-skills:blameless-postmortem-and-root-cause-analysisfrom sre-skills
Guides running a blameless postmortem after an incident using a consistent template, 5-whys analysis, and tracking action items through to completion.
Ships in sre-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
How an organization writes up its incidents determines whether the next one gets caught early or hidden until it's worse: a postmortem that names and blames an individual ("Jane forgot to update the config") teaches everyone watching that reporting a mistake, a near-miss, or an honest uncertainty is personally risky — so people quietly stop doing it, and the organization loses its best source of information about where the system is actually fragile. A blameless postmortem treats the incident as evidence about the system (its defenses, its defaults, its blind spots) rather than a verdict on a person, while still producing concrete, owned, tracked action items — "blameless" is not the same as "consequence-free" or "toothless." This skill covers the postmortem template, facilitation practices that keep the discussion blameless without becoming vague, contributing-factor analysis that resists collapsing a multi-cause incident into one scapegoat cause, and making sure action items actually get done instead of accumulating in a backlog nobody revisits.
Schedule the postmortem within 48-72 hours of stand-down — soon enough that details are fresh, but after acute firefighting has stopped so people can think clearly rather than react.
Fill out the template (see references/postmortem-template.md): Summary, Impact, Timeline (UTC timestamps), Root cause, Contributing factors, What went well, What went poorly, Where we got lucky, Action items (owner + ticket + due date), Lessons. Draft it from the scribe's live timeline rather than reconstructing from memory in the meeting.
Facilitate blamelessly, explicitly:
Run contributing-factor analysis, not single-root-cause analysis. Use 5-whys as a starting technique, but explicitly resist stopping at the first answer that sounds like "human error":
Why did checkout fail? → A bad config reached production.
Why did the bad config reach prod? → No validation step in the pipeline.
Why was there no validation step? → It was deprioritized after the
last incident's action item stalled.
Why did the action item stall? → No owner/due date was assigned.
Why was staging traffic too low to
catch this before prod? → Staging doesn't mirror production
request volume/shape.
Notice this produced four independent contributing factors (missing validation, a stalled prior action item, no owner/due-date discipline, unrepresentative staging) — not one. Stopping after the first "why" ("an engineer pushed a bad config") would have produced a single, person-shaped "root cause" and missed the systemic gaps that let it through and recur.
Categorize each action item by what it does: prevent recurrence (fix the proximate cause), detect faster (alerting/monitoring gap), reduce impact (blast-radius/rollback speed), or process improvement (the meta-level gaps, like the stalled action item above). Assign exactly one owner, a tracked ticket, and a due date to each — an action item with none of these three will not get done.
Publish broadly and review in a recurring forum. Post the finished postmortem somewhere the whole engineering org can find it (internal wiki/doc index), and bring it to a standing "incident review" meeting rather than letting it live only in the team that experienced it — patterns across teams are often invisible from inside a single team's postmortems.
Track action item completion as a program metric. Report the percentage of action items closed within their due date across all postmortems on a recurring cadence; escalate stale items instead of letting them silently age out. Chronic manual/undone action items are a strong signal for the toil-reduction-and-operational-automation prioritization framework — many action items are, in effect, automation candidates.
If the postmortem was triggered by error-budget exhaustion, feed the finished document back into the slo-sli-and-error-budget-design policy review — leadership sign-off to resume feature launches should reference the actual postmortem, not just the calendar.
Symptom: The postmortem draft reads "Jane forgot to update the feature flag before the migration," and afterward people are visibly more reluctant to volunteer details in incident channels. Fix: Rewrite in systems language before publishing — describe what about the process/tooling allowed the mistake to reach production undetected, and have the facilitator explicitly screen drafts for named blame before the review meeting.
Symptom: 5-whys stops after one iteration at "the engineer ran the wrong command," and three months later a near-identical incident happens from a different engineer running a different wrong command. Fix: Require identifying at least two to three independent contributing factors (missing confirmation prompt, no staging parity, no peer review on the command) rather than accepting the first human-shaped answer as sufficient.
Symptom: A quarterly review of past postmortems shows most action items are still open, several past their due date by months, with no visible follow-up. Fix: Every action item needs an owner, a real tracked ticket, and a due date at creation time (not "someone should look into this"), plus a recurring review that reports the closure rate and escalates stale items — don't let the postmortem document itself be the only place the action item lives.
Symptom: A well-written postmortem is finished, reviewed once by the immediate team, and never looked at again — six months later a different team hits the exact same failure mode. Fix: Publish to a shared, searchable location and bring it to a cross-team recurring incident-review forum, not just the originating team's internal channel.
Symptom: The postmortem meeting is scheduled two weeks after the incident, and the discussion spends most of its time arguing about what order things happened in. Fix: Schedule within 48-72 hours while memory is fresh, and draft the timeline from the scribe's live incident-channel log (captured during the incident itself) rather than reconstructing it from memory in the meeting.
Using references/postmortem-template.md
for the payments-api checkout outage from the incident-response
worked example:
payments-api v2.14.0 caused checkout
requests to fail for all customers for ~20 minutes; resolved via
rollback.What SKILL.md sets; muted values are Claude Code's defaults
6 skills in this plugin
/capacity-planning-and-load-testingGuides demand forecasting and load/stress/soak testing methodology (using tools such as k6, Locust, or JMeter) to find a system's real bottleneck — CPU, memory, a connection pool, or a downstream dependency — before production traffic finds it, and to set autoscaling/capacity triggers from actual test evidence rather than guesses. Use when a user asks to "capacity plan for an upcoming launch/event", "write a load test", "find out what breaks first under load", "our load tests pass but production still falls over", or "set our autoscaling thresholds correctly."
/chaos-engineering-and-resilience-testingGuides running chaos engineering experiments — defining a measurable steady-state hypothesis, controlling blast radius, and using fault-injection tools (Chaos Mesh, LitmusChaos, AWS Fault Injection Simulator) to proactively validate a system's resilience assumptions — plus running structured "game days" and graduating experiments from staging to controlled production runs. Use when a user asks to "run a chaos engineering experiment", "test what happens if we kill a pod/ lose an AZ", "run a game day", "validate our failover actually works", or "find resilience gaps before a real incident does."
/incident-response-and-on-call-managementGuides designing incident response structure and on-call operations — Incident Command System roles (Incident Commander, Communications Lead, Operations/Tech Lead, Scribe), severity/priority levels and the paging behavior each implies, on-call rotation design (primary/ secondary escalation, follow-the-sun handoffs), and on-call health (alert fatigue, fair page load distribution). Use when a user asks to "set up an incident command process", "define severity levels and who gets paged", "design an on-call rotation/escalation policy", "reduce alert fatigue for on-call", or "our on-call rotation is burning people out."
/slo-sli-and-error-budget-designGuides choosing good Service Level Indicators (request-based ratios vs. window-based aggregates), setting realistic Service Level Objectives backed by data instead of arbitrary "five nines" targets, writing an error-budget policy that defines what happens when the budget is spent (freezing non-essential launches), and designing multi-window, multi-burn-rate alerting so budget exhaustion pages on-call before users notice. Use when a user asks to "define an SLO/SLI for a service", "set an error budget", "decide what happens when we blow our error budget", "write a burn-rate alert", or "stop every minor blip from paging us."
/toil-reduction-and-operational-automationGuides identifying and reducing operational toil — manual, repetitive, automatable work with no enduring value — by measuring a team's toil budget against Google SRE's under-50%-of-time guideline, prioritizing what to automate first with a frequency/impact/effort framework, and climbing a runbook-to-automation maturity ladder deliberately rather than jumping straight to full autonomy. Use when a user asks to "reduce operational toil", "figure out what to automate first", "our on-call spends all their time on manual repetitive tasks", or "turn this runbook into automation."
npx claudepluginhub selvarajmurugesan90/ops-engineering-skills --plugin sre-skillsOther plugins' skills for the same job