Post mortem
Generate a detailed post-mortem analysis after a debugging session or incident, capturing what failed, what worked, and lessons learnedFrom its SKILL.md
npx -y skills add searayca/claude-skills --skill post_mortemAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.0 KB, 422 tokens by cl100k_base, as published. Nobody here has run it
Post-Mortem Generator
Generate a detailed post-mortem analysis after a debugging session or incident.
When to Use
Use this command after:
- A debugging session that took longer than expected
- An incident or outage
- A complex problem that was finally resolved
- Any situation where we want to capture lessons learned
Instructions
-
Review the conversation history to identify:
- The original problem/request
- What was tried and failed
- What finally worked
- Time spent vs expected
-
Generate a post-mortem document with these sections:
Header
- Date
- Issue summary (one line)
- Resolution time (actual vs expected)
The Problem
- Clear description of what the user wanted
- Why it seemed simple
What Went Wrong
- Number each failure point
- Include code snippets showing the problematic code/config
- Explain WHY each approach failed
The Solution
- The actual fix (with code)
- Why this worked when other approaches didn't
What We Learned
- Numbered list of technical lessons
- Be specific and actionable
What To Do Differently
- Organized by phase: Before/During/After
- Include specific commands or checks to run
Time Cost
- Honest assessment of wasted time
- Root causes of the delay
Key Takeaway
- One memorable sentence summarizing the main lesson
-
Save the document to
docs/postmortem_[brief_description].md -
Ask the user if any lessons should be added to CLAUDE.md for future reference
Output Format
Use markdown with clear headers, code blocks, and bullet points. Keep it scannable but detailed enough to be useful months later.
Example Filename
postmortem_dashboard_width.mdpostmortem_api_timeout.mdpostmortem_deploy_failure.md
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.