postmortem-writer
Writes blameless incident postmortems with a log-reconstructed timeline, multi-causal contributing factors, and owned, dated action items. Use when someone asks "write the postmortem for yesterday's outage", "run a blameless retro on this incident", "turn these incident notes into a postmortem doc", or after any SEV1 or SEV2 event. Do NOT use for customer-facing incident updates while the incident is live - use status-page-update instead; for transferring context at a shift change, use oncall-handoff; for classifying and running a live incident, use sev-triage.
- License 许可
- MIT
- 最近更新
- 2026-10-14
- Stars
- ★ 25
- Forks
- 3
01 前言 Front Matter
- name
- postmortem-writer
- metadata
- { "title": "Postmortem Writer" }
- description
- Writes blameless incident postmortems with a log-reconstructed timeline, multi-causal contributing factors, and owned, dated action items. Use when someone asks "write the postmortem for yesterday's outage", "run a blameless retro on this incident", "turn these incident notes into a postmortem doc", or after any SEV1 or SEV2 event. Do NOT use for customer-facing incident updates while the incident is live - use status-page-update instead; for transferring context at a shift change, use oncall-handoff; for classifying and running a live incident, use sev-triage.
03 SKILL.md 正文
Postmortem Writer
A postmortem turns an incident into organizational learning. Done blamelessly, it makes systems safer; done as a witch hunt, it trains people to hide the next incident, which is the most expensive outcome available. The document is only worth writing if it produces owned, dated action items that get tracked to closure - everything else is theater.
The blameless principle
Assume everyone acted reasonably given the information they had at the time. The goal is to fix systems and processes, never to assign fault to people. If a person could make the mistake, the system allowed it - fix the system. This is not softness; it is the only policy under which people report problems early.
Operating procedure
Step 1: Gather inputs
Collect before writing; label anything reconstructed from memory as unverified until confirmed against a log:
- Incident severity (SEV1-4), start and end times, and the incident channel or ticket.
- Raw artifacts: logs, alerts, dashboards, chat transcripts, deploy history, pager records. The timeline is reconstructed from these, not from memory alone.
- Impact data: users affected (how many, which segments), duration, and business impact (revenue, SLA breach, trust).
- Names of responders (as authors and reviewers, never as causes).
Timing discipline: draft within 48 hours while artifacts and memories are fresh; hold the review within 5 business days. SEV1 requires a full, exec-visible postmortem; SEV2 requires a full postmortem; SEV3-4 get a lightweight writeup with lessons captured.
Step 2: Reconstruct the timeline
- Use minute-level timestamps in one declared timezone.
- Include the four mandatory anchors: impact start, detection, mitigation, resolution. If any anchor is missing, the timeline is not done.
- Separate what happened (events) from what responders knew (detection and perception). The gap between impact start and detection is usually the single biggest improvement opportunity - call it out explicitly with its duration.
Step 3: Find contributing factors, not a root cause
Incidents are almost always multi-causal; a single "root cause" is a red flag. Run "5 whys" on each thread and stop at systemic answers, never personal ones.
Bad chain (stops at a person): "Why did the site go down? Bad config was deployed. Why? Alex made a typo. Done - Alex should be more careful."
Good chain (stops at process): "Why did the site go down? Bad config was deployed. Why did the typo reach production? Config changes are not validated pre-deploy. Why not? No schema check exists in the pipeline. Why? Config was assumed low-risk when the pipeline was built. Systemic fix: add config validation to CI."
If a "why" answer names a person, ask why the system let that action cause damage, and keep going.
Step 4: Record what went well and what went poorly
Reinforce detection, response, and tooling that helped. Name gaps in monitoring, runbooks, and ownership - without naming individuals as gaps.
Step 5: Write action items that stick
- Each action is specific, owned by one person, dated, and ticketed - or it will not happen.
- Classify each as prevent / detect faster / mitigate faster. A postmortem with only "prevent" items is under-invested in the next incident's response.
- Due dates within 30 days; anything larger gets split, with the first slice due inside 30 days.
- Prefer systemic fixes (guardrails, automated checks, safer defaults) over "be more careful" - humans do not become more careful on command.
- Track items to closure in the next review; an open postmortem with stale actions is theater.
Step 6: Review and close
Circulate the draft, hold the review meeting within 5 business days, move status from Draft to Reviewed, and Closed only when every action item is done or explicitly re-owned.
Template: postmortem skeleton
Copy and replace the [FILL] fields.
# Postmortem: [FILL: short incident title]
Date of incident: [FILL] Severity: [FILL: SEV1-4] Authors: [FILL]
Status: Draft | Reviewed | Closed
## Summary
[FILL: 2-4 sentences - what happened, impact, resolution. Readable by anyone.]
## Impact
- Users affected: [FILL: how many / which]
- Duration: [FILL: impact start -> detection -> mitigation -> resolution]
- Business impact: [FILL: revenue, SLA, trust]
## Timeline (all times in [FILL: TZ])
- [FILL: HH:MM] Impact start - [FILL: what began failing]
- [FILL: HH:MM] Detection - [FILL: how it was noticed; alert or human?]
- [FILL: HH:MM] [FILL: mitigation step]
- [FILL: HH:MM] Resolved - [FILL: what restored service]
Detection gap: [FILL: minutes between impact start and detection]
## Contributing factors
[FILL: the chain of conditions that allowed this - usually several. 5 whys per
thread, stopping at systemic answers, never at a person.]
## What went well
[FILL: detection, response, tooling that helped - reinforce these.]
## What went poorly
[FILL: gaps in monitoring, runbooks, ownership - no individual blame.]
## Action items
| Action | Type (prevent/detect/mitigate) | Owner | Due | Ticket |
|--------|-------------------------------|-------|-----|--------|
| [FILL] | [FILL] | [FILL]| [FILL: <=30d] | [FILL] |
## Lessons learned
[FILL: what the org now knows that it did not before.]
Deliverable
Produce a complete postmortem document: summary, quantified impact, minute-level timeline with all four anchors and the detection gap stated, multi-causal contributing factors ending at systemic answers, what went well and poorly, and an action-item table where every row has a type, owner, due date within 30 days, and ticket.
Do NOT
- Do not name and shame - it guarantees the next incident is hidden longer.
- Do not settle for a single "root cause" - incidents are multi-causal, and one cause means the analysis stopped early.
- Do not let "5 whys" terminate at a person - a chain ending in a name is an unfinished chain.
- Do not write action items without an owner and date - they evaporate.
- Do not skip the postmortem because "we're too busy" - the incident will run again on schedule.
- Do not reconstruct the timeline from memory alone - memory compresses and reorders; use logs, alerts, chat, and deploy history.
Quality bar
- Timeline has minute-level timestamps, one timezone, all four anchors, and the detection gap called out.
- No individual is named as a cause anywhere; every "why" chain ends at process or system.
- At least two contributing factors, or an explicit justification for one.
- Every action item is specific, owned, dated within 30 days, ticketed, and classified prevent/detect/mitigate.
- Draft existed within 48 hours; review held within 5 business days; severity matches the SEV1-4 guide.
04 同仓库更多 Skills
有氧运动计划
zone-2-cardio-plan
当有人要求制定稳态有氧训练计划、进行有氧基础训练或达到第二区间、安排轻松或耐力型的每周有氧训练、按心率区间训练,或提高静息心率、最大摄氧量或耐力时,可以使用此方案。该方案构建了一个包含训练计划结构、训练方式选择和进度安排的心率区间有氧训练模块。本方案仅提供一般健身指导,不构成医疗建议。请勿用于设计力量或举重训练计划(请使用力量训练计划)、高强度间歇训练 (HIIT) 或循环训练(请使用体能训练和 HIIT 计划),或灵活性/柔韧性训练(请使用灵活性训练计划)。
youtube-script-writer
Writes retention-engineered long-form YouTube scripts on a hook/body/payoff architecture - a first-30-seconds hook that survives the retention cliff, a beat-sheet body with mini-hooks and bridges, timed pattern interrupts, and a payoff that over-delivers - with B-roll and editing cues marked inline. Use when someone says "script my next video", "my retention graph dies at the start", "tighten this draft", or "outline a video on X". Do NOT use for the 3-second opener of TikTok, Reels, or Shorts - use video-hook-writer instead; do NOT use for spoken voiceover synced to on-screen tutorial actions - use narration-script instead; do NOT use for a sales demo built on a buyer's discovery notes - use demo-script instead; do NOT use to design the thumbnail and title - use thumbnail-concept instead.
win-back-campaign
Designs segmented win-back email sequences for dormant users - dormancy tiers, a three-beat sequence with a single proportional incentive, and a suppression rule - and measures success by re-activation, not opens. Use when someone says "our users went quiet", "design a win-back campaign", "how do I re-engage lapsed customers", "should we email people who haven't logged in for months", or lifecycle messaging has stopped landing with a lapsed segment. Do NOT use for recovering an unfinished checkout - use abandoned-cart-sequence instead. Do NOT use for diagnosing and fixing why active customers cancel - use churn-reduction instead. Do NOT use for building always-on onboarding or nurture flows - use email-drip-builder instead.
wikipedia-style
Writes neutral, verifiable, encyclopedic prose following Wikipedia's core content policies and manual of style - NPOV, inline citations, notability-backed claims, and a strict ban on promotional language. Use when someone asks "write this like a Wikipedia article", "draft a Wikipedia page for this company or person", "make this neutral and encyclopedic", or "why does my article draft keep getting rejected". Do NOT use for persuasive or opinion writing - use op-ed-writer instead; for thesis-driven academic papers, use academic-essay; for verifying claims in existing text, use fact-checker.
whitepapers
Structures and writes authoritative B2B whitepapers - a standalone executive summary, a data-sized problem statement, methodology, evidence-driven findings, recommendations, and a soft call to action - flagging every claim that needs a real citation. Use when a marketer asks "write a whitepaper on this topic", "turn our research into a lead-gen asset", "make this credible enough for executives", or a draft reads like a product pitch instead of analysis. Do NOT use for customer-story-driven proof - use case-study-builder instead; for policy audiences, use policy-brief.
white-space-analysis
Finds unmet market gaps by ranking jobs-to-be-done on importance versus satisfaction, overlaying them against current solutions and workarounds, and validating that each gap is real, winnable, and worth winning. Use when someone asks "where are the gaps in this market", "what's underserved here", "where should we play next", or is hunting for product, feature, or market-entry opportunities. Do NOT use for profiling competitors and building battle cards - use competitive-intelligence instead; for putting a dollar figure on an identified opportunity - use market-sizing instead; for extracting jobs-to-be-done from raw customer interviews - use jtbd-extractor instead.