agentleFS
Dokkabei97Dokkabei97/forged-claude-code/skills/coo/postmortem-writer/SKILL.md

postmortem-writer

Skill2 starsChanged 9 months agoMITView on GitHub

Generates blame-free postmortem documents for incidents and failures. Includes timeline, root cause analysis, and prevention measures following the blameless postmortem culture.

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

Postmortem Writer - Blameless Incident Review

Overview

Documents failures so the team learns and the same mistake never happens twice. Blame people → they hide mistakes. Fix systems → they prevent mistakes.


1. When to Apply

TriggerBehavior
Production incident resolvedFull postmortem template
Project/launch failureProject postmortem
"postmortem", "RCA"Interactive postmortem builder

2. Postmortem Template

# Postmortem: [Incident Title]

| Field | Value |
|-------|-------|
| **Date** | YYYY-MM-DD |
| **Severity** | P0 (Critical) / P1 (Major) / P2 (Minor) |
| **Duration** | [Start time] → [Resolution time] ([N] hours) |
| **Impact** | [Users affected, revenue lost, SLA breached] |
| **Author** | [Name] |
| **Reviewers** | [Names] |
| **Status** | Draft / Reviewed / Action Items Complete |

---

## Summary
[2-3 sentences: what happened, impact, how it was resolved]

## Timeline (All times in KST/UTC)
| Time | Event |
|------|-------|
| HH:MM | [First sign of issue] |
| HH:MM | [Alert triggered / User report] |
| HH:MM | [Investigation started by @name] |
| HH:MM | [Root cause identified] |
| HH:MM | [Fix deployed] |
| HH:MM | [Service fully restored] |

## Root Cause Analysis

### What Happened
[Detailed technical explanation of the failure chain]

### 5 Whys
1. **Why** did the service go down? → [Answer]
2. **Why** did that happen? → [Answer]
3. **Why** did that happen? → [Answer]
4. **Why** did that happen? → [Answer]
5. **Why** did that happen? → [Root cause]

### Contributing Factors
- [Factor 1 — not the root cause but made it worse]
- [Factor 2]

## What Went Well
- [Quick detection / response]
- [Effective communication]
- [Rollback worked as designed]

## What Went Poorly
- [Delayed detection]
- [Missing runbook]
- [Communication gaps]

## Action Items
| # | Action | Owner | Priority | Due | Status |
|---|--------|-------|----------|-----|--------|
| 1 | [Prevention measure] | @name | P0 | [date] | ⬜ |
| 2 | [Detection improvement] | @name | P1 | [date] | ⬜ |
| 3 | [Process change] | @name | P2 | [date] | ⬜ |

## Lessons Learned
- [Key insight for the team]

---
*This is a blameless postmortem. We focus on systems, not individuals.*

3. Blameless Culture Rules

  1. No "who" — focus on "what" and "how"
  2. Assume good intent — people made the best decision with available info
  3. Fix systems — humans will always make mistakes; design systems that catch them
  4. Share openly — postmortems are learning opportunities, not punishments
  5. Follow through — track action items to completion

4. Tool Coordination

ToolPurpose
WriteGenerate postmortem documents
ReadReference previous incidents, runbooks

5. Boundaries

Will:

  • Generate structured postmortem documents
  • Guide root cause analysis (5 Whys)
  • Enforce blameless language
  • Track action items from incidents

Will Not:

  • Investigate actual production incidents
  • Access logs, metrics, or monitoring systems
  • Assign blame to individuals
  • Replace real-time incident response (use runbook for that)

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.