postmortem
FreeNo executable scriptsNot checkedUse when analyzing failures, outages, incidents, or negative outcomes, conducting blameless postmortems, documenting root causes with 5 Whys or fishbone…
by nicepkg★ 298 GitHub starsAbout this skill
Postmortem
Table of Contents
Purpose
Conduct blameless postmortems that transform failures into learning opportunities by documenting what happened, why it happened, impact quantification, root cause analysis, and actionable preventions with clear ownership.
When to Use
Use this skill when:
Incident Context
- Production outage, system failure, or service degradation occurred
- Security breach, data loss, or compliance violation happened
- Product launch failed, project missed deadline, or initiative underperformed
- Customer-impacting bug, quality issue, or support crisis arose
- Near-miss incident that could have caused serious harm (proactive postmortem)
Learning Goals
- Need to understand root cause (not just symptoms) to prevent recurrence
- Want to identify systemic issues vs. individual mistakes
- Must document timeline and impact for stakeholders or auditors
- Aim to improve processes, systems, or practices based on failure insights
- Building organizational learning culture (celebrate transparency, not blame)
Timing
- Immediately after incident resolution (while memory fresh, within 48 hours)
- Scheduled reviews for recurring issues or chronic problems
- Quarterly reviews of all incidents to identify patterns
- Pre-mortem style: Before major launch, imagine it failed and write postmortem
Do NOT use when:
- Incident still ongoing (focus on resolution first, postmortem second)
- Looking to assign blame or punish individuals (antithesis of blameless culture)
- Issue is trivial with no learning value (reserved for significant incidents)
What Is It?
Postmortem is a structured, blameless analysis of failures that answers:
- What happened? Timeline of events from detection to resolution
- What was the impact? Quantified harm (users affected, revenue lost, duration)
- Why did it happen? Root cause analysis using 5 Whys, fishbone, or fault trees
- How do we prevent recurrence? Actionable items with owners and deadlines
- What went well? Positive aspects of incident response
Key Principles:
- Blameless: Focus on systems/processes, not individuals. Humans err; systems should be resilient.
- Actionable: Corrective actions must be specific, owned, and tracked
- Transparent: Share widely to enable organizational learning
- Timely: Conduct while memory fresh (within 48 hours of resolution)
Quick Example:
Incident: Database outage, 2-hour downtime, 50K users affected
Timeline:
- 14:05 - Automated deployment started (config change)
- 14:07 - Database connection pool exhausted, errors spike
- 14:10 - Alerts fired, on-call paged
- 14:15 - Engineer investigates, identifies bad config
- 15:30 - Rollback initiated (delayed by unclear runbook)
- 16:05 - Service restored
Impact: 2-hour outage, 50K users unable to access, estimated $20K revenue loss
Root Cause (5 Whys):
- Why outage? Bad config deployed
- Why bad config? Connection pool size set to 10 (should be 100)
- Why wrong value? Config templated incorrectly
- Why template wrong? New team member unfamiliar with prod values
- Why no catch? No staging environment testing of configs
Corrective Actions:
- Add config validation to deployment pipeline (Owner: Alex, Due: Mar 15)
- Create staging env with prod-like load (Owner: Jordan, Due: Mar 30)
- Update runbook with rollback steps (Owner: Sam, Due: Mar 10)
- Onboarding checklist: Review prod configs (Owner: Morgan, Due: Mar 5)
What Went Well: Alerts fired quickly, team responded within 5 minutes, good communication
Workflow
Copy this checklist and track your progress:
Postmortem Progress:
- [ ] Step 1: Assemble timeline and quantify impact
- [ ] Step 2: Conduct root cause analysis
- [ ] Step 3: Define corrective and preventive actions
- [ ] Step 4: Document and share postmortem
- [ ] Step 5: Track action items to completion
Step 1: Assemble timeline and quantify impact
Gather facts: when detected, when started, key events, when resolved. Quantify impact: users affected, duration, revenue/SLA impact, customer complaints. For straightforward incidents use resources/template.md. For complex incidents with multiple causes or cascading failures, study resources/methodology.md for advanced timeline reconstruction techniques.
Step 2: Conduct root cause analysis
Ask "Why?" 5 times to get from symptom to root cause, or use fishbone diagram for complex incidents with multiple contributing factors. See Root Cause Analysis Techniques for guidance. Focus on system failures (process gaps, missing safeguards) not human errors.
**Step 3: Define correctiv
Install postmortem in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
FAQ
What does the postmortem skill do?
Use when analyzing failures, outages, incidents, or negative outcomes, conducting blameless postmortems, documenting root causes with 5 Whys or fishbone diagrams, identifying corrective actions with owners and timelines, learning from near-misses, establishing prevention strategies, or when user mentions postmortem, incident review, failure analysis, RCA, lessons learned, or after-action review.
How do I install the postmortem skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the postmortem skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
by Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
by Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
by Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
by Anthropic