mcpField
P
postmortem

postmortem

github.com/neurofooCloud & DevOps123105 installsUpdated 41w ago
Repository

About postmortem

postmortem is a structured skill for teams analyzing incidents without assigning blame. It guides a review from impact and timeline through causes, lessons, and owned action items.

Key features

  1. 01Blameless incident analysis
  2. 02Executive summary and timeline
  3. 03Impact and root cause review
  4. 04Action items with owners
  5. 05Lessons learned section

Use cases

  1. 01Documenting a service incident
  2. 02Reviewing detection and mitigation delays
  3. 03Assigning follow-up prevention work

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/neurofoo/agent-skills --skill postmortem

After installing, type/postmortemin Claude Code to confirm it loaded.

Details

From the project README

Blameless Post-Mortem

Conduct a thorough, blameless analysis of an incident to understand what happened and prevent recurrence.

Instructions

Work through each section systematically. Focus on systems and processes, not individuals. The goal is learning, not blame.

Output Format

Executive Summary

Incident: [One-line description] Date/Time: [When it occurred] Duration: [How long] Severity: [Critical/High/Medium/Low]

Summary [2-3 sentence overview: what happened, impact, resolution]


Timeline

All times in [timezone].

TimeEventActor
HH:MM[What happened][Who/what did it]
HH:MM[Detection][How it was noticed]
HH:MM[Response action][Who responded]
HH:MM[Resolution][What fixed it]

Key Moments

  • Trigger: [What initiated the incident]
  • Detection: [How/when we knew something was wrong]
  • Mitigation: [When bleeding was stopped]
  • Resolution: [When fully resolved]

Impact

Customer Impact

  • Users affected: [number]
  • Duration of impact: [time]
  • Symptoms experienced: [what users saw]

Business Impact

  • Revenue impact: [if applicable]
  • SLA/SLO breach: [yes/no, details]

Root Cause Analysis

Root Cause [The fundamental reason this happened—not the trigger, but why the trigger caused an incident]

Trigger [The immediate cause—what set things in motion]

Contributing Factors

FactorHow It Contributed
[factor][explanation]

Why Wasn't This Caught?

  • Why didn't tests catch it?
  • Why didn't monitoring alert earlier?

What Went Well

What WorkedWhy It Helped
[thing][explanation]

What Went Poorly

What FailedImpact
[thing][impact]

Action Items

Immediate (This week)

ActionOwnerDue
[action][owner][date]

Short-term (This month)

ActionOwnerDue
[action][owner][date]

Lessons Learned

  1. [lesson]
  2. [lesson]
  3. [lesson]

Guidelines

  • Blameless: "The deploy script didn't validate" not "Alice deployed without checking"
  • Thorough timeline: Include everything, even embarrassing delays
  • Specific actions: "Add memory alerting" not "Improve monitoring"
  • Assigned owners: Unowned actions don't happen

$ARGUMENTS

Comments

Markdown supported