Write a Blameless Postmortem
Purpose
Turn an incident into durable learning: an accurate account of what happened, why the system allowed it, and a small set of owned actions that make recurrence less likely or less harmful. Blameless means focusing on conditions and decisions in context, not on who made a mistake.
When to use
- An incident has been mitigated and the team needs the review document.
- An SLO was breached, error budget consumed, or a near miss deserves learning.
- A draft postmortem blames individuals or lacks actionable follow-ups and needs rework.
When not to use
- The incident is still ongoing. Use
incident-response.
- The need is status updates to customers or stakeholders during the incident. Use
incident-communication.
- A generic project retrospective, not an incident. Use
lessons-learned or retrospective-facilitation.
Inputs
Required:
- Incident material: timeline notes, chat or bridge log, alerts, or a written account of what happened and how it was resolved.
Optional, improves quality:
- Metrics and dashboards, deployment and change history, customer impact data (affected users, failed transactions), SLO and error budget data.
- Existing action items, severity definitions, organization postmortem template.
If there is no incident material, ask. Missing timestamps or numbers are marked [UNKNOWN], never estimated as fact.
Process
- Write a factual summary: what failed, for whom, how long, how it was mitigated; severity per the organization's scale.
- Quantify impact from data only: duration (start, detection, mitigation, resolution), affected users or requests, failed transactions, SLO and error budget consumed, data loss, contractual or regulatory implications. Mark unknowns.
- Build the timeline with timestamps and time zone: first trigger, first symptom, detection, escalation, key decisions, mitigation, recovery, all-clear. Tag each entry with its source.
- Compute and comment on response metrics: time to detect, time to engage, time to mitigate, time to resolve; identify where time was lost.
- Analyze causes beyond the trigger: ask why the change or condition caused harm, why it was not caught earlier (tests, review, canary), why detection took as long as it did, and why recovery was slow. Use a structured method (e.g., five whys per branch, or a contributing factor tree); expect several contributing factors, not a single root cause.
- Rewrite any blaming language into system terms ("the deploy tool allowed a config change without validation" instead of "X pushed a bad config"). Remove names from the narrative; refer to roles.
- Record what went well and where the team got lucky; luck is a hidden risk.
- Define corrective actions in categories: prevent, detect, mitigate, process; each specific, with owner role, priority and due date
[TBD] if not given, and a way to verify it is done. Prefer a few high-leverage actions over many small ones.
- List open questions and follow-up investigations; separate confirmed facts from inferences labeled
[ASSUMPTION].
- If the goal continues, suggest
runbook to document the mitigation, alert-design for detection gaps, or error-budget-policy if the SLO consequences need a decision.
Output format
# Postmortem: <incident title> (<date>)
Severity: <level> · Status: Draft/Reviewed · Authors: <roles> · Blameless: yes
## Summary
<3-5 sentences>
## Impact
| Measure | Value | Source |
|---|---|---|
| Duration (start → resolved) | | |
| Affected users / requests | | |
| SLO / error budget consumed | | |
## Timeline (<time zone>)
| Time | Event | Source |
|---|---|---|
## Response Metrics
| Time to detect | Time to engage | Time to mitigate | Time to resolve |
|---|---|---|---|
## Contributing Factors and Root Causes
- Trigger: ...
- Why it caused harm: ...
- Why it was not caught earlier: ...
- Why detection/recovery took this long: ...
## What Went Well / Where We Got Lucky
## Corrective Actions
| # | Action | Category | Owner role | Priority | Due | Verified by |
|---|---|---|---|---|---|---|
## Open Questions
Quality checklist
Common pitfalls
- Stopping at "human error". Ask what made the error possible and easy, and fix that condition.
- A long list of low-value actions that are never done. Pick a few that address the largest contributing factors.
- Rewriting the timeline with hindsight. Record what responders knew at each moment, which explains their decisions.
Example
Input: "Config change at 22:10 set payment gateway timeout to 1 s; errors rose; alert at 22:41; rollback at 23:05."
Weak: "Root cause: engineer set a wrong timeout. Action: be more careful with configs."
Strong excerpt:
- Trigger: a configuration change reduced the gateway timeout to 1 s.
- Why it caused harm: gateway p99 latency is above 1 s at peak
[ASSUMPTION: confirm from metrics], so a share of payments timed out.
- Why not caught: configuration changes bypass the canary stage used for code deploys.
- Why detection took 31 min: the alert fires on 10% error rate over 15 min; the error rate stayed around 6%.
| # | Action | Category | Owner role | Priority | Verified by |
|---|---|---|---|---|---|
| 1 | Route config changes through the same canary and automated rollback as code | Prevent | Platform lead | High | Test change rolled back automatically in staging |
| 2 | Add burn-rate alert on payment success SLO | Detect | SRE | High | Alert fires in replay of this incident |
1---2name: postmortem3description: "Writes a blameless postmortem from incident notes, chat logs, alerts and timelines: summary, customer and business impact, a timestamped timeline, detection and response analysis, contributing factors and root causes traced beyond the trigger, what went well, and prioritized corrective actions with owners and due dates. Use after an incident is resolved, when an SLO breach or near miss needs a formal review, or when a draft postmortem must be made blameless and actionable."4license: MIT5metadata:6 source: https://skillmd.com/skills/muratdincer/postmortem7 version: "1.0.0"8 language: en9 category: 07-devops-sre10 role: sre11 area: incident12 title: "Write a blameless postmortem"13 related: "incident-response, incident-communication, runbook, error-budget-policy, alert-design"14 prompt: "Here are the chat log and alert history of last night's payment outage. Write a blameless postmortem with timeline, root causes and action items."15---1617# Write a Blameless Postmortem1819## Purpose20Turn an incident into durable learning: an accurate account of what happened, why the system allowed it, and a small set of owned actions that make recurrence less likely or less harmful. Blameless means focusing on conditions and decisions in context, not on who made a mistake.2122## When to use23- An incident has been mitigated and the team needs the review document.24- An SLO was breached, error budget consumed, or a near miss deserves learning.25- A draft postmortem blames individuals or lacks actionable follow-ups and needs rework.2627## When not to use28- The incident is still ongoing. Use `incident-response`.29- The need is status updates to customers or stakeholders during the incident. Use `incident-communication`.30- A generic project retrospective, not an incident. Use `lessons-learned` or `retrospective-facilitation`.3132## Inputs33Required:34- Incident material: timeline notes, chat or bridge log, alerts, or a written account of what happened and how it was resolved.3536Optional, improves quality:37- Metrics and dashboards, deployment and change history, customer impact data (affected users, failed transactions), SLO and error budget data.38- Existing action items, severity definitions, organization postmortem template.3940If there is no incident material, ask. Missing timestamps or numbers are marked `[UNKNOWN]`, never estimated as fact.4142## Process431. Write a factual summary: what failed, for whom, how long, how it was mitigated; severity per the organization's scale.442. Quantify impact from data only: duration (start, detection, mitigation, resolution), affected users or requests, failed transactions, SLO and error budget consumed, data loss, contractual or regulatory implications. Mark unknowns.453. Build the timeline with timestamps and time zone: first trigger, first symptom, detection, escalation, key decisions, mitigation, recovery, all-clear. Tag each entry with its source.464. Compute and comment on response metrics: time to detect, time to engage, time to mitigate, time to resolve; identify where time was lost.475. Analyze causes beyond the trigger: ask why the change or condition caused harm, why it was not caught earlier (tests, review, canary), why detection took as long as it did, and why recovery was slow. Use a structured method (e.g., five whys per branch, or a contributing factor tree); expect several contributing factors, not a single root cause.486. Rewrite any blaming language into system terms ("the deploy tool allowed a config change without validation" instead of "X pushed a bad config"). Remove names from the narrative; refer to roles.497. Record what went well and where the team got lucky; luck is a hidden risk.508. Define corrective actions in categories: prevent, detect, mitigate, process; each specific, with owner role, priority and due date `[TBD]` if not given, and a way to verify it is done. Prefer a few high-leverage actions over many small ones.519. List open questions and follow-up investigations; separate confirmed facts from inferences labeled `[ASSUMPTION]`.5210. If the goal continues, suggest `runbook` to document the mitigation, `alert-design` for detection gaps, or `error-budget-policy` if the SLO consequences need a decision.5354## Output format55```markdown56# Postmortem: <incident title> (<date>)57Severity: <level> · Status: Draft/Reviewed · Authors: <roles> · Blameless: yes5859## Summary60<3-5 sentences>6162## Impact63| Measure | Value | Source |64|---|---|---|65| Duration (start → resolved) | | |66| Affected users / requests | | |67| SLO / error budget consumed | | |6869## Timeline (<time zone>)70| Time | Event | Source |71|---|---|---|7273## Response Metrics74| Time to detect | Time to engage | Time to mitigate | Time to resolve |75|---|---|---|---|7677## Contributing Factors and Root Causes78- Trigger: ...79- Why it caused harm: ...80- Why it was not caught earlier: ...81- Why detection/recovery took this long: ...8283## What Went Well / Where We Got Lucky84## Corrective Actions85| # | Action | Category | Owner role | Priority | Due | Verified by |86|---|---|---|---|---|---|---|8788## Open Questions89```9091## Quality checklist92- [ ] Every timestamp and impact number comes from the provided material or is marked `[UNKNOWN]`.93- [ ] The narrative names roles and systems, not individuals, and contains no blaming language.94- [ ] Causes go beyond the trigger and cover why it was not prevented, detected sooner or recovered faster.95- [ ] Each corrective action is specific, owned, prioritized and verifiable; none is "be more careful".96- [ ] Facts and inferences are separated; inferences are labeled `[ASSUMPTION]`.97- [ ] Personal or customer data in logs is masked.98- [ ] All checks pass; if any fails, revise the output and re-run this checklist before answering.99100## Common pitfalls101- Stopping at "human error". Ask what made the error possible and easy, and fix that condition.102- A long list of low-value actions that are never done. Pick a few that address the largest contributing factors.103- Rewriting the timeline with hindsight. Record what responders knew at each moment, which explains their decisions.104105## Example106Input: "Config change at 22:10 set payment gateway timeout to 1 s; errors rose; alert at 22:41; rollback at 23:05."107108Weak: "Root cause: engineer set a wrong timeout. Action: be more careful with configs."109110Strong excerpt:111- Trigger: a configuration change reduced the gateway timeout to 1 s.112- Why it caused harm: gateway p99 latency is above 1 s at peak `[ASSUMPTION: confirm from metrics]`, so a share of payments timed out.113- Why not caught: configuration changes bypass the canary stage used for code deploys.114- Why detection took 31 min: the alert fires on 10% error rate over 15 min; the error rate stayed around 6%.115| # | Action | Category | Owner role | Priority | Verified by |116|---|---|---|---|---|---|117| 1 | Route config changes through the same canary and automated rollback as code | Prevent | Platform lead | High | Test change rolled back automatically in staging |118| 2 | Add burn-rate alert on payment success SLO | Detect | SRE | High | Alert fires in replay of this incident |