agentleFS
Kuan-AI-comKuan-AI-com/agent-skills/skills/incident-postmortem/SKILL.md

incident-postmortem

Skill0 starsChanged 6 days agoMITView on GitHub

Write a blameless postmortem or incident report from logs, alerts, chat transcripts, tickets and notes. Use when the user says "write the postmortem", "incident report", "RCA", "what happened during the outage", or pastes an incident timeline or Slack thread.

20 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use systematic-debugging.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • OpenAISkill

    systematic-debugging

    Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 4 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 17 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use one time zone throughout (UTC unless the team uses another) and convert every timestamp to it.

    line 14
  2. Distinctive:

    start of customer impact

    line 20
  3. Very specific:

    Never invent or round a time you do not have.

    line 27
  4. Distinctive:

    What went well: keep it; it shows what to protect.

    line 40
  5. Distinctive:

    If the evidence does not prove a cause, write "most likely" and what would confirm it.

    line 42

“Common” is measured: kept by at least 6 in 10 of the 17 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Incident postmortem

The goal is learning, not blame. Describe what systems and processes allowed the failure, never "X made a mistake".

1. Collect and separate facts

  • Gather every source provided: alerts, logs, deploy history, chat, tickets, status page updates.
  • Mark each statement as confirmed (seen in logs, metrics or a timestamped message) or reported (someone said so). Keep that distinction in the document.
  • Use one time zone throughout (UTC unless the team uses another) and convert every timestamp to it.

2. Build the timeline

Key moments, each with time, event and source:

  • trigger (the change or event that started it)
  • start of customer impact
  • detection (and how: alert, customer, employee)
  • escalation and responders joining
  • mitigation steps, including the ones that did not work
  • impact ends
  • full resolution

Never invent or round a time you do not have. Write [time unknown] and add it to the open questions.

3. Impact

  • Who was affected, what they could not do, for how long.
  • Measured numbers (failed requests, affected users, orders, revenue) only from data provided. Estimates must be labelled as estimates, with the method.
  • Detection time (start to detection) and resolution time (start to end).

4. Causes

  • Root cause: the underlying condition that, if it had not existed, would have prevented the incident. Ask "why" until you reach something a team can change (a missing check, a design gap, an unclear process), not a person.
  • Trigger: what set it off. Often different from the root cause.
  • Contributing factors: what made it worse or slower to fix (missing alert, confusing dashboard, runbook out of date, on-call could not access X).
  • What went well: keep it; it shows what to protect.

If the evidence does not prove a cause, write "most likely" and what would confirm it.

5. Action items

Each one: specific action, owner (a role or [owner]), priority, due date or [date], and which cause it addresses. Prefer actions that prevent or detect the whole class of failure over one-off patches. Five strong items beat fifteen vague ones.

Output

  1. Title, date, severity, status, author [name].
  2. Summary (3-4 sentences a non-engineer can read).
  3. Impact.
  4. Timeline (table).
  5. Root cause, trigger, contributing factors.
  6. What went well / what went badly / where we got lucky.
  7. Action items (table).
  8. Open questions and missing data.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.