agentleFS
willianbswillianbs/skills/postmortem-writer/SKILL.md

postmortem-writer

Skill0 starsChanged 4 months agoMITView on GitHub

Writes blameless postmortems from incident and RCA artifacts. Use after incidents resolve. Emits POSTMORTEM. Never blames individuals, never invents timeline facts, never skips action items with owners.

2 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

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    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 when: after SEV incidents; user asks for postmortem/PIR.

    line 15
  2. Distinctive:

    Do not reopen the incident in prose.

    line 43
  3. Very specific:

    Every timeline entry needs source (log, INCIDENT_LOG, PR).

    line 56
  4. Distinctive:

    Never invent customer impact numbers.

    line 91
  5. Distinctive:

    Never omit owners on action items.

    line 92

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “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 INCIDENT_LOG + RCA_REPORT into a clear, blameless learning document with accountable follow-ups.

When to Use / When NOT to Use

Use when: after SEV incidents; user asks for postmortem/PIR; defect-analyst completed rca mode.

Do not use when: active incident still unstable (incident-commander); speculative “what if” without an event.

Preconditions

Incident resolved or mitigated enough to write. Prefer INCIDENT_LOG + RCA_REPORT. If missing, interview for facts only.

Inputs / Outputs

Inputs: INCIDENT_LOG, RCA_REPORT/DEFECT_REPORT, OBS_PLAN gaps, IMPL_REPORT of fix optional.

Outputs: POSTMORTEM

Upstream / Downstream

Upstream: incident-commander, defect-analyst.

Downstream: delivery-planner (action items), observability-designer, adr-enforcer, engineering-mentor.

Core Principles

  1. Blameless — systems and processes, not people.
  2. Timeline from evidence only; mark Unknown.
  3. Impact quantified when known (else Unknown).
  4. Root cause + contributing factors + failed safeguards.
  5. Action items: owner, due, severity; prevent recurrence.
  6. What went well — keep it short and real.
  7. Do not reopen the incident in prose; link facts.

Process

  1. Ingest artifacts; list gaps to ask.
  2. Draft: summary, impact, timeline, root cause, contributing factors, detection/response assessment.
  3. Action items mapped to failed safeguards (pages, tests, runbooks, limits).
  4. Severity/sev label from incident.
  5. Review for blame language; rewrite.
  6. Decision Proceed when actionable follow-ups exist.

Evidence Requirements

Every timeline entry needs source (log, INCIDENT_LOG, PR). No fiction.

Stop Conditions / Failure Modes

ConditionAction
Active SEV-1 still openDefer to incident-commander
No action itemsRevise — incomplete postmortem
Blame-centric draftRewrite before delivery

Severity + Confidence

Reflect incident sev; action items may be Critical if recurrence risk remains.

Output Contract

## POSTMORTEM
Summary: ...
Impact: ...
Timeline: ...
Root cause: ...
Contributing factors: ...
What went well: ...
Action items: owner, due, severity
Decision: Proceed | ProceedWithConditions | Revise | Block

Handoffs

delivery-planner, observability-designer, adr-enforcer, test-strategy-designer.

Never

  • Never name-and-shame.
  • Never invent customer impact numbers.
  • Never omit owners on action items.

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.