agentleFS
janelleciprianojanellecipriano/pm-skills/skills/postmortem/SKILL.md

postmortem

Skill1 starsChanged 5 months agoMITView on GitHub

Run a blameless postmortem / incident review — timeline, impact, root cause analysis, and corrective actions. Use when the user says "postmortem", "incident review", "RCA", "root cause analysis", "what happened with the outage", or wants to turn an incident into a structured, blameless writeup with preventive actions.

44 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use hypothesis-driven-debugging, organize and 9 more.

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.
  • Sturla22Skill

    hypothesis-driven-debugging

    Debug by ranking concrete hypotheses and running discriminating checks. Use when a bug is hard to localize, many plausible failure points exist, logs are noisy or misleading, a symptom appears intermittently, or trial-and-error edits haven't worked.

    Also in 3 projects that use this

  • seongjaeryuSkill

    organize

    Organize knowledge into Sets

    Also in 3 projects that use this

  • SaluteYBSkill

    skill-eval

    Evaluate, tune, and regression-check AgentSkills. Use when creating a new skill or improving an existing one and you need structured should-trigger, should-not-trigger, boundary-case, and execution-quality examples. Also use when auditing overlapping skills and sharpening trigger descriptions before release.

    Also in 3 projects that use this

  • neurofooSkill

    premortem

    Pre-mortem analysis that imagines a plan has failed, then works backward to identify causes and preventions. Use before launches, major decisions, or risky initiatives to surface hidden risks.

    Also in 3 projects that use this

  • AnthropicSkill

    incident-response

    Run an incident response workflow — triage, communicate, and write postmortem. Trigger with "we have an incident", "production is down", an alert that needs severity assessment, a status update mid-incident, or when writing a blameless postmortem after resolution.

    Also in 4 projects that use this

  • OpenAISkill

    threat-model

    Use when Codex is already in the threat-modeling phase of a security scan, the user explicitly invokes $threat-model, or the user explicitly asks to create, update, or persist a repository threat model. Do not use as the primary trigger for full PR, commit, branch, patch, or repository scans.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 40 edited versions we read keep these.

  • 3

    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:

    After an outage, regression, data issue, security event, or significant miss.

    line 12
  2. Distinctive:

    Root cause, not first cause: Use the 5 Whys / contributing-factors analysis to get past the proximate trigger.

    line 19
  3. Very specific:

    Write a summary: what happened, impact (users/duration/scope), severity.

    line 28
  4. Distinctive:

    Keep tone neutral and factual throughout.

    line 55

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

Postmortem (Blameless Incident Review)

Turn an incident into learning and prevention — focused on systems and process, never on blaming individuals.

When to use

  • After an outage, regression, data issue, security event, or significant miss.

For sprint/project reflection (not incidents) use retrospective.

Principles

  • Blameless. Assume everyone acted reasonably with the information they had. Fix systems, not people. Replace "X made a mistake" with "the system allowed X to happen."
  • Facts first. Build the timeline from evidence (logs, alerts, messages) before drawing conclusions.
  • Root cause, not first cause. Use the 5 Whys / contributing-factors analysis to get past the proximate trigger.
  • Actions must prevent recurrence, be owned, and be dated.

Inputs to gather

  • What happened, when detected, when resolved; severity and who/what was impacted.
  • The timeline of events and the response.
  • Logs/notes if available.

Process

  1. Write a summary: what happened, impact (users/duration/scope), severity.
  2. Build a timeline (UTC or stated TZ): detection → diagnosis → mitigation → resolution. Note time-to-detect and time-to-resolve.
  3. Analyze root cause(s) and contributing factors (5 Whys).
  4. Note what went well and what made it worse (detection gaps, slow rollback, unclear ownership).
  5. Define corrective actions: preventive + detective, each with owner, due date, priority.
  6. Capture lessons learned.

Output format

# Postmortem — {{incident}} · {{date}}
**Severity:** {{SEV}} · **Impact:** {{users/scope/duration}} · **Status:** Resolved

## Summary
{{2–4 sentences}}

## Timeline
| Time | Event |

## Root cause & contributing factors
{{5 Whys / analysis}}

## What went well / what went poorly
- ...

## Action items
| Action | Type (prevent/detect) | Owner | Due | Priority |

Keep tone neutral and factual throughout.

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.