agentleFS
moses607moses607/skillforge/skills/incident-postmortem/SKILL.md

incident-postmortem

Skill0 starsChanged 4 months agoMITView on GitHub

Produce a blameless incident postmortem from an outage description, timeline, or chat log. Use whenever the user mentions an outage, incident, downtime, "we had a P1/SEV", a production failure, a service degradation, or asks to write up what went wrong and how to prevent it. Trigger even for small incidents — the structure matters more than the size.

18 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 15 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:

    Write postmortems that make the system safer, not that assign blame.

    line 8
  2. Distinctive:

    ALWAYS use this exact template:

    line 16
  3. Distinctive:

    Every action item must be assignable and verifiable.

    line 60
  4. Distinctive:

    Prefer prevent > detect > mitigate actions, but include detection improvements if detection was slow.

    line 61
  5. Very specific:

    If the input lacks a timeline, reconstruct what you can and mark gaps as [unknown — needs input] rather than inventing times.

    line 65

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

Write postmortems that make the system safer, not that assign blame. The output is a document, not a trial. Focus relentlessly on why the system allowed this, never on who typed the command.

Core principle: blameless

Replace every "X should have known / X forgot / X was careless" with a systemic framing: "the system permitted a deploy without a canary", "no alert fired on the metric that mattered". People acted reasonably given the information they had. If your draft names a person as a cause, rewrite it as a missing guardrail.

Required document structure

ALWAYS use this exact template:

# Postmortem: <short incident name>

**Status:** Draft / Reviewed / Final
**Severity:** SEV1 / SEV2 / SEV3
**Duration:** <detected> → <resolved> (<total minutes> of impact)
**Author(s):** ...

## Summary
<3-4 sentences a VP could read: what broke, who was affected, how bad, resolved how.>

## Impact
- Users affected: <count/%/segments>
- Revenue / SLA / data impact: <quantified if possible>

## Timeline (all times UTC)
- HH:MM — <event, e.g. "deploy of v2.3 begins">
- HH:MM — <first symptom>
- HH:MM — <detection: alert fired / customer reported>
- HH:MM — <mitigation started>
- HH:MM — <resolved>

## Root cause
<The chain of conditions. Use 5 Whys — keep asking "why did that happen"
until you reach a systemic gap, not a person.>

## What went well
<Detection speed, rollback that worked, good comms — reinforce these.>

## What went wrong / where we got lucky
<Gaps that made it worse or that we only survived by chance.>

## Action items
| Action | Type | Owner | Due | Priority |
|--------|------|-------|-----|----------|
| ...    | prevent / detect / mitigate | | | P0/P1/P2 |

Rules for good root-cause analysis

  • 5 Whys, honestly. "Why did the DB fall over?" → "connection pool exhausted" → "why?" → "no upper bound on concurrent requests" → "why?" → "load test never covered this path". The last why is the real fix.
  • Distinguish trigger (what set it off) from cause (why the system was fragile). Both belong in the writeup; fixes target the cause.
  • Every action item must be assignable and verifiable. "Be more careful" is not an action item. "Add a hard cap of N on the pool + alert at 80%" is.
  • Prefer prevent > detect > mitigate actions, but include detection improvements if detection was slow.

Rule

If the input lacks a timeline, reconstruct what you can and mark gaps as [unknown — needs input] rather than inventing times.

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.

Reviews can't be read right now.

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.