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.
16k tokens
context cost
the whole folder, loaded on every use
4
files
instructions only
0
copies elsewhere
how many repositories repackaged it
275
stars on the repo
on the repository, not the skill itself
Install
one command, takes just this skill from the repository
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)
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 corrective and preventive actions
For each root cause, identify actions to prevent recurrence. Must be specific (not "improve testing"), owned (named person), and time-bound (deadline). Categorize as immediate fixes vs. long-term improvements. See Corrective Actions for framework.
Step 4: Document and share postmortem
Create postmortem document using template. Include timeline, impact, root cause, actions, what went well. Share widely (engineering, product, leadership) to enable learning. Present in team meeting for discussion. Archive in knowledge base.
Step 5: Track action items to completion
Assign owners, set deadlines, add to project tracker. Review progress in standups or weekly meetings. Close postmortem only when all actions complete. Self-assess quality using resources/evaluators/rubric_postmortem.json. Minimum standard: ≥3.5 average score.
Root cause: Fixable at organizational/system level
Example: Database outage → Why? Bad config → Why? Wrong value → Why? Template error → Why? New team member unfamiliar → Why? No config review in onboarding
❌ "Designer made mistake" → ✓ "Design review process didn't catch issue"
Focus: What system/process failed? Not who made error.
Root Cause Depth:
❌ Stopping at surface: "Bug caused outage" → ✓ Deep analysis: "Bug deployed because testing gap, no staging env, rushed release pressure"
❌ Single cause: "Database failure" → ✓ Multiple causes: "Database + no failover + alerting delay + unclear runbook"
Rule: Keep asking "Why?" until you reach actionable systemic improvements
Actionability:
❌ Vague: "Improve testing", "Better communication", "More careful" → ✓ Specific: "Add E2E test suite covering top 10 user flows by Apr 1 (Owner: Alex)"
❌ No owner: "Team should document" → ✓ Owned: "Sam documents incident response runbook by Mar 15"
❌ No deadline: "Eventually migrate" → ✓ Time-bound: "Complete migration by Q2 end"