← Back to Skills
🔥

Incident Postmortem

Gather error timeline, logs, and resolution steps into a postmortem document

Operations 5 steps 5 tools 4 servers

Example Prompt

Create a postmortem for the payment service outage that happened last night

About

Automatically compiles a comprehensive incident postmortem by pulling error events from Sentry, retrieving container logs from Docker, and reasoning through the root cause timeline. The final postmortem document is written to the filesystem with a structured format including timeline, impact, root cause, and action items.

Workflow Steps

1

List recent critical issues from Sentry to identify the incident timeline

🚨 List Issues
2

Retrieve detailed event data for each critical issue to understand error context

🔍 Get Error Event
3

Pull container logs from the affected services during the incident window

📜 Container Logs
4

Reason through the collected evidence to determine root cause and contributing factors

🧠 Structured Reasoning
5

Write the structured postmortem document with timeline, impact, root cause, and action items

✏️ Write File

Tags

incident-responsepostmortemerror-trackingdevops