What problem does it solve?
After an incident is resolved, writing the postmortem is tedious and often delayed until details are forgotten. This Skill automatically reconstructs the incident timeline and drafts a structured postmortem as a pull request while the evidence is still fresh, without ever publishing conclusions on its own.
Core Features & Use Cases
- Periodic incident sweep: Scans the incident channel for newly resolved incidents and skips any that already have a draft postmortem PR, handling each incident independently.
- Multi-source timeline correlation: Aligns the incident channel thread with GitHub merges/deploys and Datadog error-rate and latency spikes over the incident window to propose a causal chain.
- Structured draft PR: Writes a postmortem matching the repo's existing format (summary, timeline, proposed root cause, impact, candidate action items) and opens one labeled PR per incident.
- Use Case: An on-call team resolves a production outage in their incident channel; the next sweep detects the resolution, correlates a deploy that landed minutes before the first Datadog latency spike, and opens a draft postmortem PR for the team to review and finalize.
Quick Start
Ask the agent to draft a postmortem for the incident that was just marked resolved in the incident channel.