postmortem-writing
Write effective blameless postmortems
Writing effective postmortems helps teams learn from incidents and prevent recurrence. This skill provides templates, frameworks, and guidance for conducting blameless postmortems that drive organizational learning.
Download the skill ZIP
Upload in Claude
Go to Settings → Capabilities → Skills → Upload skill
Toggle on and start using
Test it
Using "postmortem-writing". Write a postmortem for a database connection exhaustion incident that affected our payment service for 47 minutes.
Expected outcome:
- ## Postmortem: Payment Service Database Connection Exhaustion
- **Date**: 2024-01-15 | **Duration**: 47 minutes | **Severity**: SEV2
- **Impact**: 12,000 customers unable to complete purchases, $45,000 revenue loss
- ## Root Cause: v2.3.4 deployment bypassed connection pool, causing direct connections per request
- ## 5 Whys: Database exhausted → New connections per request → Code bypassed pool → Developer unfamiliar with patterns → No documentation
- ## Action Items: Add integration tests (P0), lower alert threshold (P0), document patterns (P1)
Using "postmortem-writing". Apply the 5 Whys to this incident: Our API latency spiked to 5 seconds due to a cache miss storm after we flushed the entire cache for a config update.
Expected outcome:
- ## 5 Whys Analysis: Cache Miss Storm
- **Problem**: API latency spiked to 5s after full cache flush
- Why #1: Why did latency spike? → Cache was empty, all requests hit the database
- Why #2: Why was cache empty? → Full cache flush was triggered for config update
- Why #3: Why was full flush used? → Partial invalidation was not implemented
- Why #4: Why no partial invalidation? → Feature was deprioritized in previous sprint
- Root Cause: Missing partial cache invalidation capability
- Systemic Improvement: Implement targeted cache invalidation (ENG-999)
Security Audit
SafeThis is a documentation-only skill containing markdown guides and templates for writing postmortems. No executable code, file access, network calls, or system capabilities are present. All 46 static findings are false positives - the scanner incorrectly flagged SHA-256 hashes, markdown code fences, timestamps, and documentation phrases as security issues.
Risk Factors
🌐 Network access (5)
Quality Score
What You Can Build
Document production incidents
Create structured postmortems for SEV1 and SEV2 incidents to capture learnings and drive system improvements.
Lead incident reviews
Facilitate blameless postmortem meetings that focus on systemic improvements rather than individual blame.
Track action items
Generate prioritized action items with clear owners and due dates to ensure incident follow-through.
Try These Prompts
Write a quick postmortem for a [brief incident description] that lasted [duration]. Include what happened, timeline, root cause, immediate fix, and one lesson learned.
Create a comprehensive postmortem for [incident name]. Include executive summary, detailed timeline with UTC times, root cause analysis using 5 Whys, impact assessment, what worked, what could improve, and prioritized action items with owners.
Apply the 5 Whys analysis to [incident description]. Start with the problem statement and drill down to identify at least 3 root causes. For each root cause, suggest a systemic improvement.
Review this incident summary [paste summary] and generate 5 action items. Prioritize them P0 to P2. Include a brief description, suggested owner role, and realistic due date for each item.
Best Practices
- Start writing the postmortem within 24-48 hours while details are fresh
- Include specific times, metrics, and evidence rather than vague descriptions
- Focus on systemic improvements rather than individual actions or mistakes
Avoid
- Naming individuals as causes instead of examining system conditions
- Skipping small incidents that could reveal patterns across the organization
- Creating action items without owners, due dates, or tracking mechanisms
Frequently Asked Questions
What severity incidents need postmortems?
How long should a postmortem take to write?
Can this skill integrate with our incident management tools?
Is the data shared with external services?
How is this different from ChatGPT or other AI tools?
What makes a postmortem blameless?
Developer Details
Author
wshobsonLicense
MIT
Repository
https://github.com/wshobson/agents/tree/main/plugins/incident-response/skills/postmortem-writingRef
main
File structure
📄 SKILL.md