---
name: write-blameless-postmortem-prompt
description: A prompt that drafts a blameless postmortem from an incident, with a timeline, impact, root cause and owned fixes, and no person named as the culprit. Use when the user wants a postmortem, an incident review write-up, a five-whys analysis, or outage notes turned into a learning doc.
license: MIT
metadata:
  category: writing-prompts
  tags: "incident,writing,docs"
  author: johnny-bravo
  version: "1.0"
  updated: "2026-11-07"
  status: published
  aliases: "blameless postmortem, incident review, five whys, outage write-up"
  source_url: "https://github.com/wshobson/agents/tree/7e2fb559cf4b824b27f1fec49fe88f7511066d26/plugins/incident-response/skills/postmortem-writing"
  source_license: MIT
  copyright: "Copyright (c) 2024 Seth Hobson"
  original_author: "Seth Hobson (wshobson/agents, postmortem-writing)"
  modified: "Adapted by TheSkillVault: converted into a fill-in prompt with a short section list and blameless rules; dropped the long sample incident and facilitation script; added redaction, adapt notes and done-when."
  imported_on: "2026-11-07"
---

# Write a blameless postmortem (prompt)

A postmortem is a short record of what broke, why the system allowed it, and what will change. It is not a search for someone to blame.

## When to use
- An outage, data problem or near miss just ended and the details are still fresh.
- You have chat logs or alert times and need one clear write-up.
- Action items from the last incident were vague and never got owners.

## Steps
1. Collect times, what users felt, and what was changed to recover. Leave out names of customers.
2. Paste that material into the prompt below.
3. Read the draft and fix any sentence that blames a person. Point it at the missing check, the missing test, or the missing alarm.
4. Give every action an owner and a date, then file those tasks in your tracker.

## Prompt
```text
Write a blameless postmortem from the notes below.

Rules:
- Describe what the system did. Do not name a person as the cause.
- If a human action mattered, name the missing guard (review, test, alarm, docs), not the human.
- Use only facts that are in the notes. If a fact is missing, write "unknown" instead of guessing.
- Redact customer personal data, passwords, tokens, addresses and account ids. Replace them with placeholders.

Output these sections, in order:
1. Summary. Three or four sentences: what broke, who was affected, how long, how it ended.
2. Impact. Users, duration, and whether data was lost. Say "none known" when the notes do not show loss.
3. Timeline. A table of time and event, in order. Use the timezone stated in the notes.
4. Causes. Proximate cause, then up to five whys. Stop when you reach a system gap, not a person.
5. What helped. Alarms or checks that worked.
6. Actions. Each line has a change, an owner, a due date, and a type: prevent, detect, or mitigate. Drop vague lines like "be more careful".
7. Open questions. Facts you still need.

NOTES:
{{TIMELINE, ALERTS, AND WHAT WE CHANGED}}
```

## How to adapt
- A small glitch can use only Summary, Timeline, Causes and Actions.
- A customer-facing note should be a second, shorter draft with no internal host names.

## Gotchas
- Do not paste secrets, session tokens or personal data into the chat. Redact first.
- A draft that says "Alex caused this" has failed. Rewrite that line around the missing check.
- Actions with no owner will not happen. Leave them out until someone accepts them.
- Write it within a day or two. Memory of the timeline fades quickly.

## Portability
Works with any chat AI. The same headings fit a wiki page, a Google Doc, or a ticket. If you use a status page, publish only the short customer draft.

## Done when
- The draft has a timeline, a cause that is a system gap, and actions with owners.
- No sentence blames a named person, and no secret or personal data remains.

## Example prompt
"Write a blameless postmortem. Checkout failed for 20 minutes after a config flag flipped. Alerts fired at 09:12 UTC. We rolled the flag back at 09:31. No data loss we know of."

---
Adapted from "postmortem-writing" in wshobson/agents (MIT, Copyright (c) 2024 Seth Hobson). See LICENSE.txt.
