/postmortem:postmortemfrom postmortem
Writes or reviews a blameless postmortem after an outage or significant degradation, with a gap-flagged UTC timeline, 5 Whys to a fixable system gap, impact, detection gap, and owned, dated actions. Use when an incident is resolved and needs its write-up, a quick postmortem, a draft review, or a runbook fix. Not for a live incident (use incident response or aws-cloudwatch).
Ships in postmortem. 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.
The goal is a shared account of how the system allowed the incident, ending in actions that change the system. Systems fail, so write about what the process lacked, not who erred.
Not for recording architecture decisions (the adr-writing skill, if installed), live incident response, or SLO and alert design (observability-instrumentation).
docs/postmortems/YYYY-MM-DD-<slug>.md. Draft within 48 to 72 hours of resolution while context is fresh.# Postmortem: <title>
Date, severity, duration (UTC range), incident lead, status
## Summary 2-3 sentences for someone who was not there
## Impact services, user effect, users affected, peak error rate vs baseline, data loss, SLO breach
## Timeline UTC table, with gap flags
## Detection how found, time to detect, what should have caught it
## Root cause systemic gap, with the 5 Whys chain if useful
## Contributing factors
## What went well
## Where we got lucky
## Actions # | action | owner | due | priority
Replace blame with the missing control:
| Instead of | Write |
|---|---|
| "Bob forgot to check the config" | "The deploy checklist did not validate config" |
| "Human error" | the process gap behind it |
| "Improve monitoring" | the alert, threshold, and service |
| "The team will follow up" | a person and a date |
Keep personal data out of the document: no customer names, emails, or account IDs in the impact or timeline; give counts and link to the access-controlled source instead.
references/templates.md. Read when the incident is minor (quick template), or when writing or fixing a runbook.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub adminhead/claude-plugins --plugin postmortem