Skip to main content

Claude/ChatGPT Prompt to Convert Runbook Notes into a Postmortem

Generate a blameless incident postmortem from chat logs, runbook notes, and a timeline: impact, 5-whys root cause, and action items.

Vul de plaatshouders in

Edit the values, then copy your finished prompt.

Jouw Prompt
prompt.txt

                                

What this prompt does

This prompt makes the model a senior incident commander writing a blameless postmortem. You supply the [incident_id], the affected [systems], the [severity], and the raw chat log, runbook edits, and timeline in [raw_notes], and it returns a structured document: a two-sentence summary, impact, a detection-to-resolution timeline, a 5-whys root cause with contributing factors, what went well, and action items with owners and due dates.

The structure works because it stays neutral and grounds every claim in the notes. The 5-whys analysis pulls the real cause out from under the symptom everyone fixated on, while the contributing-factors line acknowledges incidents rarely have a single cause. The [raw_notes] variable is the evidence base — the prompt is instructed not to speculate beyond it — and requiring every action item to carry an owner and date is what stops fixes from quietly never shipping.

The blameless framing is not just tone for its own sake. Postmortems that hunt for someone to blame stop people surfacing the truth, which is exactly what prevents the next incident. By grounding the timeline and impact in [raw_notes] and refusing to speculate past them, the document stays defensible when reviewed later. The what-went-well section is easy to skip but worth keeping, since reinforcing the parts of the response that worked is as useful as fixing the parts that did not.

When to use it

  • An incident on [systems] is resolved and you need a postmortem written up.
  • You have raw chat logs and a timeline but no clean narrative yet.
  • You want a blameless analysis that names causes, not people.
  • You need a 5-whys root cause rather than a surface symptom fix.
  • You want action items with explicit owners and due dates.
  • You are standardizing postmortems across incidents of varying [severity].

Example output

Expect a structured postmortem: a two-sentence plain-language summary, an impact section (users affected, duration, and money if known), a detection-to-resolution timeline with timestamps drawn from [raw_notes], a 5-whys root-cause analysis plus contributing factors, a what-went-well section, and a list of action items each with an owner and due date followed by lessons learned. The tone is neutral, with no blame and no speculation beyond the notes.

Pro tips

  • Paste the full raw timeline into [raw_notes]; the postmortem can only be as accurate as the evidence you give it.
  • Set [severity] and [systems] correctly so impact and scope are framed right.
  • Let the 5-whys run past the obvious symptom; the real cause usually sits a couple of layers down.
  • Insist every action item has an owner and a date, since an unowned action item never ships.
  • Keep the tone blameless on purpose; postmortems that hunt for someone to blame stop preventing repeats.
  • If the notes are thin, the model should flag gaps rather than invent a narrative, so do not over-trust a sparse input.

Frequently Asked Questions

Will it avoid blaming individuals?
Yes. The prompt explicitly instructs a blameless, neutral tone that attributes nothing to individuals and grounds claims in the notes. Blameless postmortems are the ones that actually prevent repeat incidents, because people surface the truth instead of hiding it.
How does it find the root cause rather than the symptom?
It runs a 5-whys analysis that keeps asking why past the obvious symptom everyone fixated on, plus a contributing-factors section since incidents rarely have a single cause. This pulls the real cause out from under the surface trigger.
What do I need to provide for a good postmortem?
The `[raw_notes]` field needs the actual chat log, runbook edits, and timeline, since the prompt is instructed not to speculate beyond them. Along with `[incident_id]`, `[systems]`, and `[severity]`, that evidence is what the whole document is built from.
Does it make sure fixes actually get owned?
Yes. Every action item is required to carry an owner and a due date, on the principle that an unowned action item never ships. This turns the postmortem from a description of what happened into a plan that prevents recurrence.
Engr Mejba Ahmed

Need this built for real?

Engr Mejba Ahmed

AI Developer · Software Engineer

I'm Mejba — I design and ship production AI systems, automations, and full-stack apps. If you want this turned into a working solution for your team, let's talk.

Meer in ChatGPT Prompts for Developers

Engr Mejba Ahmed

Engr Mejba Ahmed

Claude Code Expert · Online

👋

Hey there!

Quick Actions

WhatsApp Instant reply

Chat on WhatsApp

+880 1723 741224 · Instant reply

Popular Questions

Engr Mejba Ahmed is connected
Engr Mejba Ahmed is typing...
Engr Mejba Ahmed avatar

✉ Want me to follow up? Drop your email

Engr Mejba Ahmed avatar

📞 Connect Directly

Choose how you'd like to reach me

WhatsApp

+880 1723 741224

Email

[email protected]

✓ Details sent! I'll get back to you shortly.

Powered by OpenAI

335+

Blog Posts

25

AI Courses

63

Projects

Services & Expertise

Pricing & Process

Learning & Resources

Connect & Support