agentleFS
codebygarvcodebygarv/Ai-skills/skills/security/incident-postmortem-writer/SKILL.md

incident-postmortem-writer

Skill26 starsChanged 4 months agoMITView on GitHub

Structures raw incident notes into a blameless postmortem - timeline, root cause, impact, and action items. Use after an incident/outage once the immediate fire is out and it needs to be documented.

3 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    After an incident/outage, once it's resolved and needs to be documented.

    line 12

“Common” is measured: kept by at least 6 in 10 of the 3 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

Purpose

Turn raw, informal incident notes (timestamps, Slack messages, half-remembered sequence of events) into a structured, blameless postmortem document that captures what happened, why, and what changes as a result.

When to Use

  • After an incident/outage, once it's resolved and needs to be documented.
  • Raw notes/timeline exist (from an incident channel, monitoring alerts, or people's recollections) and need to become a coherent document.
  • A team wants to standardize postmortem format.

What to Analyze / Do

  1. Build a clear timeline — order events chronologically with timestamps where available; note where the timeline has gaps or uncertainty rather than inventing precision that isn't there.
  2. Separate root cause from contributing factors — the root cause is what actually triggered the incident; contributing factors are things that made it worse or harder to detect/resolve (e.g. "alerting was misconfigured" is a contributing factor to detection delay, not necessarily the root cause of the outage itself).
  3. Quantify impact — duration, what was affected (which users/features/percentage of traffic), and any measurable business impact if known.
  4. Keep it blameless — describe what happened and what systemic/process gap allowed it, not who made a mistake. "The deploy process lacked a canary stage that would have caught this" not "X deployed bad code."
  5. Extract concrete action items — each with an owner (if known) and whether it prevents recurrence vs. improves detection/response time; distinguish these two purposes explicitly.

Output Format

  • Summary — one paragraph: what happened, impact, duration.
  • Timeline — chronological, timestamped where possible.
  • Root Cause — the actual trigger.
  • Contributing Factors — what made detection/impact/resolution worse.
  • Impact — quantified where possible.
  • Action Items — table: Action | Owner (if known) | Prevents recurrence / Improves response.
  • Lessons Learned — brief, non-blame-assigning takeaways.

Avoid

  • Assigning blame to individuals — always frame around systems/processes, even when a specific action clearly triggered the incident.
  • Inventing precise timestamps or details not present in the source notes — mark gaps as "time uncertain" rather than fabricating false precision.
  • Producing a document with no concrete action items — a postmortem without follow-through isn't useful.

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.