post-mortem-author
БесплатноБез исполняемых скриптовНе проверенUse for any question or task about incident post-mortems or incident reviews, including how to write a blameless one or reviews that keep turning into blame…
от testland★ 18 звёзд на GitHubОб этом скилле
post-mortem-author
Overview
"A postmortem is 'a written record of an incident, its impact, the actions taken to mitigate or resolve it, the root cause(s), and the follow-up actions to prevent the incident from recurring.'"
"Blameless postmortems are a tenet of SRE culture." (google-sre-postmortem)
"Writing a postmortem is not punishment - it is a learning opportunity for the entire company." (google-sre-postmortem)
The blameless framing is load-bearing. Per google-sre-postmortem, the document must "focus on identifying the contributing causes of the incident without indicting any individual or team for bad or inappropriate behavior" - assuming "everyone involved in an incident had good intentions and did the right thing with the information they had."
When to use
Per google-sre-postmortem, common triggers include:
"user-visible downtime, data loss, on-call interventions, extended resolution times, and monitoring failures."
Author a post-mortem after every such incident - not just sev-1. Lower-severity incidents accumulate context that prevents the sev-1.
Step 1 - Author the document
Copy the full section skeleton from references/post-mortem-document-template.md and fill every section. The required sections, in order:
- Header - status, severity, authors, dates, reviewers.
- Summary - 2-3 sentences: what, who, how long, what was done.
- Impact - users affected, revenue (deferred vs lost), SLO debt, reputational.
- Timeline - chronological events with UTC timestamps and a source per row.
- Root cause - what happened in detail, with the system as the subject, never a person.
- Contributing factors - every condition that allowed the incident; list all, since incidents rarely have one cause.
- What went well - the positives; per google-sre-postmortem, post-mortems should call these out too.
- Action items - the load-bearing section (Step 3).
- Lessons learned and Postmortem trigger - what is known now, and which trigger criteria the incident met.
The worked example below fills this skeleton for a real SEV-2.
Step 2 - Blameless review
Per google-sre-postmortem: "Postmortems are not punishment."
Reviewers should:
- Reject blame language. "Bob deployed without testing" → "The pre-deploy testing didn't cover the null-metadata case."
- Focus on systems, not individuals. "Why did Bob fix this fast?" → "What enabled fast diagnosis? (Sentry stack trace + the team's incident-response training.)"
- Surface contributing factors openly. Multiple factors usually contribute; document all.
Step 3 - Action item discipline
Action items must have:
- Owner (one named person; not "the team").
- Due date (concrete; not "next sprint when we have time").
- Priority (P0/P1/P2/P3; ties to the action's importance).
- Success criterion (measurable; "X done" not "we'll think about X").
The action items are the post-mortem's value. Without them, the document is paperwork.
Step 4 - Approval + closure
The post-mortem isn't "done" until:
- Reviewers (eng manager, SRE lead, Product) sign off.
- Action items are added to the team's tracker (Jira / Linear / GitHub issues).
- P1/P2 action items have a target completion before the next release.
The post-mortem is "closed" when all action items ship - typically 2-4 weeks. A 6-month-old open post-mortem is a process failure.
Step 5 - Storage
docs/postmortems/
├── INC-1234-stripe-webhook-2026-05-04.md
├── INC-1235-cache-invalidation-2026-05-12.md
├── INC-summary-2026-Q2.md ← rollup
└── README.md
Markdown + git. Quarterly rollup identifies patterns:
## Q2 2026 incident summary
**Total incidents:** 12
**SEV-1:** 1
**SEV-2:** 6
**SEV-3:** 5
**Patterns:**
- 4 of 12 (33%) were "test gap" - the failing condition wasn't
in the test suite. Action: invest in
test-coverage-targeter
+ property-based testing.
- 3 of 12 (25%) involved canary metrics; 2 of those proceeded
through canary gate. Action: review thresholds (per AI-2 from
INC-1234).
- ...
Worked example - INC-1234 Stripe webhook failure (SEV-2)
The skeleton from Step 1, filled for a real incident.
Summary. A v1.4.5 deploy introduced a null-metadata crash in the Stripe webhook handler; ~12,400 customers (4.3% of MAU) hit failed checkout completions for 23 minutes until rollback.
Impact. ~$140,000 in delayed (not lost) orders; 32% of the monthly availability budget burned; 47 support tickets.
Timeline (excerpt).
| Time (UTC) | Event | Source |
|---|---|---|
| 14:00 | Deploy of v1.4.5 to canary (5% traffic) | CD pipeline log |
| 14:23 | First Sentry alert: NullPointerException at WebhookHandler:42 | Sentry |
| 14:30 | Canary window en |
Установить post-mortem-author в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл post-mortem-author?
Use for any question or task about incident post-mortems or incident reviews, including how to write a blameless one or reviews that keep turning into blame: a sourced timeline, root cause (what and why, not who), impact on users, revenue and SLOs, action items with owners, dates and success criteria, and what went well.
Как установить скилл post-mortem-author?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл post-mortem-author запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic