AIPM
Theme

AIPM package

Writing Postmortems

@riekelt/writing-postmortems@1.0.0

Load when writing a postmortem, incident report, or root-cause analysis after an outage, a defect that reached users, a data issue, or a near miss, including…

Scanned · no issues · Dec 2, 2026

GitHub stars: ★ 43

LinkedInPost

Install Skill

Pins this version in aipm.package.json and aipm-lock.json.

aipm add @riekelt/writing-postmortems@1.0.0

Without project tracking

Writes the skill files only. Add --no-init to skip aipm.package.json and the lockfile.

aipm add @riekelt/writing-postmortems@1.0.0 --no-init

How to use

Install the skill above, then run this in your AI tool:

/writing-postmortems <your description>

About

**REQUIRED BACKGROUND:** the `technical-writing` skill (hard rules, truth rules, style).

Source

What gets added to your project

Preview every file this package writes on install before you run the command above.

Summary

Load when writing a postmortem, incident report, or root-cause analysis after an outage, a defect that reached users, a data issue, or a near miss, including one built from incident chat and logs. Builds on technical-writing: load both.

Skill instructions

Writing postmortems

REQUIRED BACKGROUND: the technical-writing skill (hard rules, truth rules, style).

Overview

Audience: the engineer who hits something similar in a year, not the people in the room. Core principle: facts from evidence, causes from mechanisms, lessons from both, and no names. Classification: historical; once reviewed it is immutable, and corrections are dated addenda.

When to invoke, and not

Invoke after an incident is resolved, or at a stable milestone of a long one. A defect that reached users and a near miss (a guard caught what review missed) earn the same write-up. Do NOT invoke during the live incident: the runbook governs that. Not for assigning accountability: a postmortem that needs a person's name to make sense is describing a process hole. Not for a status update to stakeholders, which is a report.

Skeleton

markdown
# [System]: [the failure, as its symptom, one line]

| | |
|---|---|
| **Incident date** | YYYY-MM-DD |
| **Duration** | detection to resolution |
| **Severity** | [per the org taxonomy, defined where used] |
| **Status** | Draft / Reviewed |

## Summary
[User-visible impact with numbers, the root cause in one sentence, current state.
The reader who stops here still knows what happened.]

## Impact
[Who and what, quantified: requests failed, records affected, money or time lost.
Estimates labeled as estimates; "no evidence of data loss" only if actually checked,
and say what was checked.]

## Timeline
[Timestamped entries, facts only, each traceable to evidence: an alert, a log line,
a commit, a message. Interpretation lives in the sections below, never here.]

## Root cause and contributing factors
[The mechanism, grounded in code and commits. Contributing factors as a list;
"every component was correct and the defect lived between them" is a valid root
cause. Name which layer of checking missed it and which caught it.]

## Wrong turns during the response
[The wrong first fix, the misleading signal followed, the theory that cost an hour.]

## Action items
[Each with an owner and an acceptance check, filed as tracker issues and linked.
"Investigate X" without an owner is banned here as everywhere.]

## Sign-off
[- YYYY-MM-DD <reviewer>: approved <scope>, one line per review event.]

Rules

  • Blameless means structural. Name the role, the gate, the dependency, the missing guard; never the person. Blaming a person stops at "be more careful"; blaming a structure produces an action item. This governs the narrative (timeline, causes, response); action-item ownership is assignment, not blame: a role in this document, an individual in the linked tracker issue.
  • The timeline is evidence, not narrative. Every entry traces to something checkable, timestamps from the systems rather than memory. Where memory is the only source, say so.
  • Wrong fixes are content. The fix that made sense and did not work belongs in the document with the reasoning that made it plausible; embarrassment is not a retention policy.
  • Severity comes from the org taxonomy, defined where used, not assumed. When no taxonomy exists, leave the field explicitly unassigned rather than inventing one.
  • Action items follow writing-issues: outcome, owner, acceptance check, filed and linked, never left as prose intentions in the postmortem. When filing is not possible from where you sit, mark each item [to file: <who files it>]; the postmortem stays Draft until the links exist.
  • Immutable once reviewed. New findings are dated addenda; a rewritten postmortem is a falsified record. The review itself goes in a sign-off line (see references/truth.md in the core skill).
  • Near misses use the same skeleton, with Impact describing what would have happened, labeled as the counterfactual it is.

The decision that often follows a postmortem (a new invariant, a policy change) is recorded via recording-decisions and linked, not embedded. Runbook updates the incident exposed go through writing-runbooks in the same change as the fix; documentation is part of done, not a follow-up ticket.

Loading package files…

Share this package

Add an Install with AIPM badge

Add this badge to a GitHub README so readers can open the package page and install the same version.

Install with AIPM
[![Install with AIPM](https://www.aipm-registry.com/install-with-aipm.svg)](https://www.aipm-registry.com/skills/riekelt/writing-postmortems/1.0.0?utm_source=github&utm_medium=readme&utm_campaign=package_badge)

Publisher

riekelt

This imported publisher has not claimed its AIPM account. A connected account confirms account control, but it does not guarantee that a package is safe.

AI assistant context

What this skill is for

@riekelt/writing-postmortems@1.0.0 is an AIPM skill package for All tools. Use it when a project needs the reusable AI behavior described as: Load when writing a postmortem, incident report, or root-cause analysis after an outage, a defect that reached users, a data issue, or a near miss, including one built from incident chat and logs. Builds on technical-writing: load both.

Install
aipm add @riekelt/writing-postmortems@1.0.0
Use after install
/writing-postmortems <your description>

Tool targets

Install command by target

Add --no-init to any of these when you want the skill files without aipm.package.json or aipm-lock.json.

cursor

Run this variant when you want to install the package into cursor.

aipm add @riekelt/writing-postmortems@1.0.0 --target cursor --ci

claude

Run this variant when you want to install the package into claude.

aipm add @riekelt/writing-postmortems@1.0.0 --target claude --ci

Discussion

Comments (0)

Loading comments…

Keep exploring

riekelt/writing-issues

Load when writing or refining tracker items: epics, stories, tasks, bug reports, spikes, or acceptance criteria, including breaking a request, discussion, or plan into tickets. Builds on technical-writing: load both.

Published by @riekelt

skillScanned · no issues★ 43Imported · UnverifiedAll toolsDec 2, 2026, 12:22 AM3.28 KBMIT

riekelt/documenting-contracts

Load when documenting an interface other systems depend on: HTTP or RPC endpoints, webhooks, event and message payloads, or file formats, for the callers who integrate with it. Not for internal code interfaces. Builds on technical-writin...

Published by @riekelt

skillScanned · no issues★ 43Imported · UnverifiedAll toolsDec 2, 2026, 12:22 AM3.35 KBMIT

riekelt/recording-decisions

Load when a decision already made needs a durable record: an ADR, a decision log entry, why one option beat the alternatives, or a reversal of an earlier decision. Not for a choice still under debate. Builds on technical-writing: load both.

Published by @riekelt

skillScanned · no issues★ 43Imported · UnverifiedAll toolsDec 2, 2026, 12:22 AM2.46 KBMIT

Package FAQ

Install and compatibility

How to install
Run aipm add @riekelt/writing-postmortems@1.0.0 in a project that has AIPM initialized.
Supported tools
@riekelt/writing-postmortems@1.0.0 supports All tools.

Before installing

AIPM skills can add files to your project. Review the package name, target, description, license, and publisher before installing. Use a clean branch when trying a new skill.