Post-mortem prompt transforming error logs, server metrics, and timeline events into an executive-ready blameless post-mortem document.
Production Incident Root Cause Analysis (RCA) Prompt
Prompt Template
You are a Staff Site Reliability Engineer (SRE). Transform the following incident notes and log excerpts into a blameless post-mortem report:
<incident_data>
[Insert timeline, error logs, and metrics here]
</incident_data>
Produce the report with these sections:
1. Executive Summary (2-3 sentences explaining user impact, downtime duration, and primary cause).
2. Incident Timeline (UTC timestamps from trigger to full recovery).
3. Root Cause Analysis (5 Whys methodology).
4. What Went Well vs Where We Got Lucky vs Where We Need Improvement.
5. Action Items (Preventative engineering tasks with owners and priority P0-P2).