/operations:postmortemfrom operations
Generates a structured, markdown-based postmortem with timeline, root cause analysis, 5 whys, impact assessment, lessons, and action items. Gathers context from git, docs, and incident metrics.
Ships in operations. Installing the plugin adds it to Claude Code.
Create a structured postmortem document for projects, launches, or incidents.
Before creating the postmortem, gather relevant information:
Use this context to:
# Postmortem: [Subject]
## Summary
**Date:** [When]
**Type:** [Project/Launch/Incident]
**Severity:** [Critical/Major/Minor] (for incidents)
**Duration:** [How long]
### One-Sentence Summary
[What happened in one sentence]
## Timeline
| Time | Event |
|------|-------|
| [Time] | [What happened] |
## What Happened
[Detailed narrative of events]
## Impact
| Area | Impact | Measurement |
|------|--------|-------------|
| [Area] | [Description] | [Quantified] |
## Root Cause Analysis
### Contributing Factors
1. **[Factor 1]:** [Description]
2. **[Factor 2]:** [Description]
3. **[Factor 3]:** [Description]
### Root Cause
[The underlying issue that enabled this]
### 5 Whys Analysis
1. Why: [First answer]
2. Why: [Deeper answer]
3. Why: [Deeper still]
4. Why: [Getting to root]
5. Why: [Root cause]
## What Went Well
- [Positive 1]
- [Positive 2]
- [Positive 3]
## What Went Wrong
- [Issue 1]
- [Issue 2]
- [Issue 3]
## Lessons Learned
| Lesson | Category | Apply To |
|--------|----------|----------|
| [Lesson] | [Process/Tech/People] | [Future application] |
## Action Items
| Action | Owner | Due | Priority |
|--------|-------|-----|----------|
| [Action] | [Who] | [When] | [H/M/L] |
## Prevention Measures
[How to prevent this from happening again]
## Open Questions
[Things we still don't know]
Generate based on user's context.
What the command file sets; muted values are Claude Code's defaults
postmortem, incident-report, retrospective, blameless-culture
7-day visitors to each command page
7 commands in this plugin
/ab-test-specGenerate A/B test specification/cohort-analysisGenerate cohort analysis framework/event-specGenerate specification for an in-game event/metrics-reportGenerate a structured game metrics report template or analyze provided metrics/retention-auditAnalyze retention and generate improvement recommendations/season-planGenerate a seasonal content plannpx claudepluginhub sponticelli/gamedev-claude-plugins --plugin operationsOther plugins' commands for the same job