postmortem-writing
/postmortem-writing
Writes blameless postmortems with root cause analysis, incident timelines, contributing factors, and action items. Use when conducting incident reviews or when the user mentions postmortem, root cause analysis, or blameless review.
- Author
- tranhieutt ↗
- Repository
- software_development_department ↗
- Licence
- MIT
- Last repository change
- 15.05.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 15.05.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Writes blameless postmortems with root cause analysis, incident timelines, contributing factors, and action items. Use when conducting incident reviews or when the user mentions postmortem, root cause analysis, or blameless review.
Original author description
Writes blameless postmortems with root cause analysis, incident timelines, contributing factors, and action items. Use when conducting incident reviews or when the user mentions postmortem, root cause analysis, or blameless review.
How it works
- Blameless mindset: the non-obvious part
- Triggers (when to write one)
- Timeline: Day 0 → Day 7
- Standard template
- Quick template (SEV3, < 30 min)
- Meeting structure (60 min)
- Anti-patterns
- Output
SKILL.md preview
--- name: postmortem-writing type: workflow description: "Writes blameless postmortems with root cause analysis, incident timelines, contributing factors, and action items. Use when conducting incident reviews or when the user mentions postmortem, root cause analysis, or blameless review." when_to_use: "When conducting incident reviews, writing blameless postmortems, or documenting root cause analysis after production incidents" allowed-tools: Read, Glob, Grep, Bash argument-hint: "[incident description or ticket ID]" user-invocable: true effort: 3 --- # Postmortem Writing ## Blameless mindset: the non-obvious part > "Blame-focused: Who caused this? → Blameless: What conditions allowed this?" Engineers don't fail — systems create conditions where failures become inevitable. The goal is improving systems, not punishing people. ## Triggers (when to write one) - SEV1/SEV2 incidents - Customer-facing outage > 15 minutes - Data loss or security incident - Novel failure modes worth sharing ## Timeline: Day 0 → Day 7 ``` Day 0: Incident occurs Day 1-2: Draft postmortem (memory is freshest) Day 3-5: Postmortem meeting Day 5-7: Finalize + create tickets Week 2+: Action item completion ``` ## Standard template ```markdown # Postmortem: [Title] **Date**: YYYY-MM-DD | **Severity**: SEV2 | **Duration**: 47 min **Authors**: @alice, @bob | **Status**: Draft ## Executive Summary [2-3 sentences: what broke, impact, how resolved] **Impact**: [N customers, N minutes, revenue loss, no data loss] ## Timeline (UTC) | Time | Event | |-------|-------| | 14:23 | v2.3.4 deployed to production | | 14:31 | Alert: payment_error_rate > 5% | | 14:33 | On-call @alice acknowledges | | 14:45 | Root cause identified: DB connections | | 14:52 | Decision to rollback | | 15:10 | Rollback complete, error rate normalizing | | 15:18 | Service recovered | ## Root Cause Analysis ### What happened [Technical description of failure] ### 5 Whys - Why did service fail? → DB connections exhausted - Why exhausted? → Each request opened new connection - Why new connections? → Code bypassed connection pool - Why bypassed? → Developer unfamiliar with DB patterns - Why unfamiliar? → No documentation on connection management ### Contributing factors - Code review missed the infrastructure change - No integration tests for connection pool behavior - Staging traffic too low to expose the issue - Alert threshold too high (90%, should be 70%) ## What worked / what didn't | Worked | Didn't work | |---|---| | Alert fired within 8 min | Took 10 min to correlate with deployment | | Clear Grafana dashboard | No deployment-correlated alerting | | Fast rollback decision | No canary deployment | ## Action items | Priority | Action | Owner | Due | Ticket | |---|---|---|---|---| | P0 | Integration test for connection pool | @alice | 2024-01-22 | ENG-1234 | | P0 | Lower DB alert threshold to 70% | @bob | 2024-01-17 | OPS-567 | | P1 | Document connection management patterns | @alice | 2024-01-29 | DOC-89 | | P2 | Evaluate canary deployment | @charlie | 2024-02-15 | ENG-1235 | ``` ## Quick template (SEV3, < 30 min) ```markdown # Quick Postmortem: [Title] **Date**: YYYY-MM-DD | **Duration**: 12 min | **Severity**: SEV3 **What happened**: Cache flush caused thundering herd — all requests missed cache simultaneously. **Timeline**: 10:00 flush → 10:02 alerts → 10:05 identified → 10:08 warming enabled → 10:12 normal **Root cause**: Full flush used for minor config update. **Fixes**: Immediate: enabled warming. Long-term: partial invalidation (ENG-999). **Lesson**: Never full-flush production cache; use targeted invalidation. ``` ## Meeting structure (60 min) 1. **Opening** (5 min) — state blameless norms explicitly 2. **Timeline review** (15 min) — chronological walkthrough 3. **Analysis** (20 min) — what failed, why, what conditions allowed it 4. **Action items** (15 min) — brainstorm → prioritize → assign owners 5. **Close** (5 min) — confirm owners, schedule follow-up ## Anti-patterns | Anti-pattern | Why it fails | |---|---| | "Human error" as root cause | Always dig deeper — why did the system allow it? | | Shallow analysis (1 why) | Doesn't prevent recurrence | | No action items | Meeting was a waste of time | | Unrealistic actions | Never completed | | No follow-up tracking | Actions forgotten | ## Output Save to `docs/technical/postmortem-YYYY-MM-DD-[slug].md` Deliver: timeline + 1-sentence root cause + max 5 action items with owner and deadline
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · tranhieutt/software_development_department | 100 | MIT |
| rootcastleco/rei-skills | 100 | MIT |
| wshobson/agents | 100 | MIT |
| rmyndharis/antigravity-skills | 100 | MIT |
| agent-skills-hub/agent-skills-hub | 100 | MIT |
Database snapshot: 13.11.2026 · package version caf078b648ed (SHA-256 digest of the entire package)
Downloads in the last 30 days: 3 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100postmortem-writer
Creates comprehensive post-incident documents with timeline, root cause analysis, contributing factors, action items, and ownership. Follows SRE best practices for blameless postmortems. Use for "postmortem", "incident review", "RCA", or "post-incident". - 100blameless-postmortem-and-root-cause-analysis
Guides running a blameless postmortem after an incident — using a consistent template (timeline, impact, root cause, contributing factors, action items), facilitating without assigning individual blame, applying 5-whys/contributing-factor analysis without oversimplifying to one… - 100writing-postmortems
Use when writing a postmortem, incident report, or root-cause analysis after an outage, a defect that reached users, a data issue, or a near miss - or when turning an incident channel, alert log, or war-room thread into a durable document. Encodes the blameless framing, the… - 90incident-postmortem
Facilitates blameless incident postmortems by reconstructing a precise timeline, identifying root cause and contributing factors, and producing tracked, owned action items. Use this skill when an incident, outage, SEV, or production failure has been resolved and someone needs to… - 100pm-postmortem
Blameless incident and failure post-mortem generator using 5 Whys root cause analysis. Produces structured post-mortem documents with timeline, contributing factors, corrective actions, and lessons learned. Tracks MTTR and detection time metrics. Use when someone says… - 100postmortem-writer
Writes blameless incident postmortems with a log-reconstructed timeline, multi-causal contributing factors, and owned, dated action items. Use when someone asks "write the postmortem for yesterday's outage", "run a blameless retro on this incident", "turn these incident notes…