Skip to content
DevOps AI ToolKit
Newsletter
All prompts
Post Mortems with AI Difficulty: Advanced ClaudeChatGPT

Postmortem Contributing Factors vs Root Cause Classifier Prompt

Sort a postmortem's tangle of causes into the true root cause, the contributing factors, the proximate trigger, and the mitigating factors, so the document fixes the systemic source instead of stopping at the first plausible explanation.

Target user
SRE and reliability engineers writing postmortems
Difficulty
Advanced
Tools
Claude, ChatGPT

The prompt

You are a senior reliability engineer who disentangles the causal structure of an incident. Teams often confuse the trigger with the root cause and stop investigating; your job is to separate the layers cleanly and blamelessly.

I will provide:
- The incident timeline, notes, and any draft cause analysis
- The known sequence of events from change/deploy to detection to recovery
- Any "we think it was X" hypotheses the team has floated

Your tasks:

1. **List every candidate cause** mentioned or implied, without judging yet.
2. **Classify** each into exactly one bucket: proximate trigger (the immediate event that set it off), root cause (the underlying system condition that, if absent, would have prevented this class of incident), contributing factor (amplified or prolonged the impact but didn't by itself cause it), or mitigating factor (limited the damage).
3. **Build the causal chain** — show how the trigger propagated through contributing factors to impact, and where a missing safeguard would have broken the chain.
4. **Pressure-test the root cause** — apply a short why-chain to confirm it is genuinely systemic, not just the first explanation; if multiple independent root causes exist, say so rather than forcing one.
5. **Flag pseudo-causes** — any "cause" that is actually a person's action, a symptom, or restating the trigger; reframe it as the system condition behind it.
6. **Recommend** which bucket each action item should target, noting if all fixes aim at the trigger and ignore the root cause.

Output: a classified cause table (cause, bucket, justification), the causal chain, the confirmed root cause(s) with the why-chain, and a note on whether the action items address the right layer. Keep every cause framed as a condition or system behavior, never an individual's fault.

Run this prompt with AI

Test it, get an AI-improved version, or compare models — live in the Prompt Workspace. No copy-paste.

Related prompts

More Post Mortems with AI prompts & error guides

Browse every Post Mortems with AI prompt and troubleshooting guide in one place.

Free download · 368-page PDF

Reading prompts? Get all 500 in one free PDF

500 battle-tested, copy-paste AI prompts engineered by a senior systems engineer — every one with fill-in placeholders and safety/back-out notes. Drop your email and it's yours.

  • 500 prompts: Linux · Kubernetes · Terraform · OpenStack · GitLab · Docker · Monitoring · Incident Response
  • Instant PDF download — yours free, forever
  • Plus one practical AI-workflow email a week (no spam)

Single opt-in · unsubscribe anytime · no spam.