Write blameless incident postmortems with timeline reconstruction, root cause analysis, action items, and preventive measures
npx skills add https://github.com/w95/awesome-claude-corporate-skills --skill incident-postmortem
Create blameless incident postmortems that transform operational disruptions into learning opportunities. These documents focus on system failures and process gaps, not individual blame, enabling continuous improvement and preventing recurrence.
Create a detailed chronology of events:
Time (UTC) | Who | What | Evidence | Context
-----------|-----|------|----------|----------
2024-02-15 14:32 | Jenkins | Deploy v2.1.3 (buggy) | Logs | Automated Friday deploy
14:35 | Customer | Website errors | CloudFront | 500 errors reported
14:37 | On-call | PagerDuty alert | Alert | Error rate exceeded threshold
14:42 | Eng team | Investigation starts | Slack #incidents | Identified deploy cause
14:55 | Lead | Rollback initiated | Logs | Reverted to v2.1.2
15:02 | On-call | Error rate normal | Metrics | Customers back to normal
15:30 | Team | Root cause meeting | Notes | Identified root cause
Timeline Template:
Go beyond the obvious cause to find systemic issues:
Incident: Website down for 28 minutes
Why 1: Why did website go down?
Answer: Deployment v2.1.3 contained a bug causing infinite loop in auth service
Why 2: Why did the bug reach production?
Answer: Code review missed the issue; test suite didn't catch it
Why 3: Why didn't test suite catch the infinite loop?
Answer: Load/stress tests only run occasionally; not part of standard CI pipeline
Why 4: Why aren't load tests mandatory in CI?
Answer: Historically slow; team prioritized speed over reliability
Why 5: Why does team optimize for deploy speed over testing?
Answer: Pressure to ship features fast; no documented standard for testing rigor
ROOT CAUSE: Process gap - no mandatory load testing in CI; pressure to ship
Avoid:
Focus on:
Most incidents involve multiple failures aligning:
Incident: Late-night 30-minute outage
Contributing Factors:
1. Code change made Friday afternoon (rush to deploy before weekend)
2. No automated rollback capability (manual process)
3. On-call engineer had weak knowledge of new code (hired 3 weeks ago)
4. No load test coverage for auth service changes (technical debt)
5. Monitoring alert threshold set too high (missed early warning)
6. Deployment not staged; went straight to production (process gap)
7. No change advisory board approval (governance gap)
Any ONE of these alone wouldn't have caused incident. Combined: 28-minute outage.
Proximate Cause (immediate cause):
Root Cause (systemic failure):
Focus postmortem on root causes, not proximate causes.
Structure: [Priority] | [What] | [Why] | [Owner] | [Due Date] | [Status]
CRITICAL | Deploy hotfix for infinite loop | Prevent recurrence | Sarah | 2024-02-15 | DONE
HIGH | Document code change impact | Knowledge transfer | John | 2024-02-16 | IN PROGRESS
MEDIUM | Post-incident communication to customers | Transparency | PM | 2024-02-15 | DONE
HIGH | Implement automatic canary deployment | Catch issues pre-production | DevOps | 2024-03-01 | PENDING
HIGH | Add auth load tests to CI pipeline | Catch performance issues early | QA | 2024-03-01 | PENDING
MEDIUM | Onboard new on-call engineer on recent changes | Knowledge gap closure | Tech Lead | 2024-02-28 | IN PROGRESS
MEDIUM | Implement automated rollback capability | Faster recovery time | Arch | 2024-04-15 | PENDING
LOW | Review change advisory board process | Governance improvement | Ops | 2024-05-01 | PENDING
LOW | Schedule quarterly load testing for critical services | Proactive risk management | Perf | 2024-06-01 | PENDING
SMART Action Items:
Prevention Strategy: How do we prevent this type of incident?
INCIDENT POSTMORTEM
Incident ID: INC-2024-047
Date: 2024-02-15
Duration: 28 minutes (14:35 UTC - 15:03 UTC)
Impact: Website unavailable; 0.5M page requests failed
Severity: P1 (Critical)
INCIDENT SUMMARY
[1 paragraph overview of what happened and impact]
TIMELINE
[Chronological events table]
ROOT CAUSE ANALYSIS
Primary Root Cause: [High-level finding]
5 Whys Analysis:
[Why chain]
Contributing Factors:
[List of systemic issues]
IMPACT ANALYSIS
DETECTION & RESPONSE
WHAT WENT WELL
*Recognize excellent work; reinforce good behaviors*
WHAT COULD BE BETTER
ACTION ITEMS
[Immediate, short-term, long-term actions with owners and dates]
PREVENTIVE MEASURES
[How we prevent this incident class in future]
APPENDICES
Blameless Meeting Principles:
Participants:
Meeting Duration: 30-60 minutes maximum
When to Hold: Within 48 hours of incident resolution (while details are fresh)
Incident Class Tracking:
If same class happens twice: escalate prevention measures
If same incident happens three times: organizational escalation (management review)
Use this skill to: Transform incidents into learning opportunities, improve system resilience, and build a psychologically safe incident response culture.
Integration with protocols.io API for managing scientific protocols. This skill should be used when working with protocols.io to search, create, update, or publish protocols; manage protocol steps and materials; handle discussions and comments; organize workspaces; upload and manage files; or integrate protocols.io functionality into workflows. Applicable for protocol discovery, collaborative protocol development, experiment tracking, lab protocol management, and scientific documentation.
Analyzes job descriptions and generates tailored resumes that highlight relevant experience, skills, and achievements to maximize interview chances
Generate Excalidraw diagrams from natural language descriptions. Use when asked to "create a diagram", "make a flowchart", "visualize a process", "draw a system architecture", "create a mind map", or "generate an Excalidraw file". Supports flowcharts, relationship diagrams, mind maps, and system architecture diagrams. Outputs .excalidraw JSON files that can be opened directly in Excalidraw.
Build and distribute Expo development clients locally or via TestFlight
Use when you have a written implementation plan to execute in a separate session with review checkpoints
Data structure for annotated matrices in single-cell analysis. Use when working with .h5ad files or integrating with the scverse ecosystem. This is the data format skill—for analysis workflows use scanpy; for probabilistic models use scvi-tools; for population-scale queries use cellxgene-census.
Benchling R&D platform integration. Access registry (DNA, proteins), inventory, ELN entries, workflows via API, build Benchling Apps, query Data Warehouse, for lab data management automation.
Comprehensive molecular biology toolkit. Use for sequence manipulation, file parsing (FASTA/GenBank/PDB), phylogenetics, and programmatic NCBI/PubMed access (Bio.Entrez). Best for batch processing, custom bioinformatics pipelines, BLAST automation. For quick lookups use gget; for multi-service integration use bioservices.
Take w95/incident-postmortem from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.