← All skills

Engineering

Incident Postmortem

Turn an outage or bad deploy into a blameless write-up with a sourced timeline, real contributing factors, and owned action items.

Skill
incident-postmortem
Version
1.0.0
License
MIT
By
Christensen Equity · Austin Christensen
  • incidents
  • reliability
  • postmortem
  • rca
  • operations

Use this skill

Claude Code: install for your user

curl -fsSL --create-dirs -o ~/.claude/skills/incident-postmortem/SKILL.md https://www.austinchristensen.tech/skills/incident-postmortem/SKILL.md

Or download SKILL.md and drop it in .claude/skills/incident-postmortem/ in a project, upload it in Claude.ai under Settings → Capabilities → Skills, or view the source.

When the agent uses it

Write a blameless postmortem after an outage, data problem, security event, or bad deploy, with impact, a timestamped timeline, root cause and contributing factors, what went well, and action items that each have an owner and a due date. Use when the user says "write up the incident", "postmortem", "what happened with the outage", "RCA", or after an app health alert turned into real user impact. Builds the timeline from logs, deploys, commits, and chat rather than memory, and keeps the tone about systems, not people. Not for live firefighting (use app-health-check to diagnose) and not for customer-facing status updates unless asked.

Incident Postmortem

The goal is not to explain what went wrong once. It is to make the same failure less likely and less damaging next time. That only happens if the write-up is honest, specific, and ends in action items someone actually owns.

When to use

  • After any incident with user impact: downtime, data loss or corruption, a security exposure, broken payments, a bad deploy.
  • After a near miss worth learning from.
  • Ideally within a few days, while logs and memories are fresh.

Inputs

  • Whatever evidence exists: alerts, error tracker issues, deploy history, git log, database logs, support tickets, chat threads.
  • Who was involved and who was affected.
  • Any status page or customer messages already sent.

Workflow

  1. Collect evidence before writing. Deploys and commits around the window (git log --since=... --until=..., the host's deploy list), the first alert, error counts over time, and when each mitigation landed. Note your sources.
  2. Build the timeline in UTC (or one stated time zone). One line per event: time, what happened, and the source. Mark key moments: started, detected, acknowledged, mitigated, resolved.
  3. Quantify the impact. Duration, users or accounts affected, failed requests or orders, revenue at risk, data affected, and whether any data was lost or exposed. Write "unknown" where it is.
  4. Find the causes. Ask "why?" until you reach things that can be changed, and separate:
    • Trigger: the change or event that started it.
    • Root cause or causes: the conditions that let the trigger cause harm.
    • Contributing factors: missing tests, alerts that didn't fire, unclear runbooks, risky defaults, time pressure. There is rarely a single root cause. "Human error" is never a root cause; ask why the system let the error through.
  5. Assess detection and response. How long until someone knew? How long to mitigate? What helped, what slowed things down?
  6. Note what went well. Things to keep doing, such as a fast rollback or a clear alert.
  7. Write action items. Each one is specific, has one owner and a due date, and is tagged prevent, detect, or mitigate. Prefer a few that will happen over a long wish list. File them as tickets and link them.
  8. Review it with the people involved for accuracy before sharing.

Output

# Postmortem: <short title> (<date>)
Status: draft | final · Severity: <SEV level> · Author: <name>

## Summary
<3-4 sentences: what broke, for whom, for how long, and the fix.>

## Impact
- Duration: 14:05 to 14:52 UTC (47 min)
- Affected: ~1,200 users could not check out; 86 failed orders
- Data: none lost

## Timeline (UTC)
- 13:58 Deploy of commit a1b2c3d (deploy log)
- 14:05 Checkout errors begin (error tracker)
- 14:19 Alert fires; on-call acknowledges
- 14:41 Rolled back to previous deploy
- 14:52 Error rate back to baseline

## Causes
Trigger: ... · Root causes: ... · Contributing factors: ...

## Detection and response
## What went well
## Action items
| Action | Type | Owner | Due | Ticket |
|---|---|---|---|---|
| Add integration test for checkout with promo codes | prevent | <name> | 2026-03-14 | #241 |
| Alert on checkout error rate > 2% for 5 min | detect | <name> | 2026-03-11 | #242 |

Guardrails

  • Blameless: describe actions and the system around them, not who was careless. Name people only for roles and ownership.
  • Every timeline entry and impact number needs a source, or it is marked as an estimate.
  • Don't include secrets, customer personal data, or exploit details in a document that will be shared widely; summarize and link to restricted evidence.
  • Don't publish externally or message customers without the user's approval.
  • An action item without an owner and a date is a hope, not an action item.

Handoff

Track action-item due dates with promise-ledger. Turn a recurring manual fix into a runbook with sop-writer. If a migration was the trigger, apply safe-db-migration next time.