Skip to content

Canonical engineering record of a fixed bug: root cause, mechanism, fix, validation, and how it slipped through.

CCM score
78 of 100
skills.sh installs
5K
GitHub stars
3.3K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the post-mortem structure: summary, symptom, root cause, fix, how found, why it slipped, validation, and follow-ups
  • Includes a blocking check that refuses drafting until the repro, root cause, fix, and validation are all confirmed
  • Enforces blameless, engineer-facing writing with code identifiers kept and hedging and advocacy removed
  • Designed for engineers closing a debugged ticket, and composes with management-talk for leadership-facing versions

Install

$ npx -y skills add thananon/9arm-skills --skill post-mortem -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Post-mortem

The canonical engineering record of a bug fix. Written after debugging lands a real fix, for other engineers (and future-you, who will have forgotten everything in 6 months). Code identifiers are welcome here — this is the artifact that lets the next person recover the mental model fast.

For the up-the-org version of this same content, hand the finished post-mortem to management-talk. They compose: post-mortem owns the engineering truth, management-talk reframes it for leadership.

When to invoke

  • "/post-mortem"
  • "write the post-mortem / postmortem / RCA / root-cause analysis"
  • "document this fix" / "write up the root cause" / "close out this bug with a writeup"
  • After a debug session has clearly landed a fix, proactively offer to draft one.

When NOT to use

Details

Repository
github.com/thananon/9arm-skills
Categories
Debugging, Technical Documentation
First seen
Jul 14, 2026

Questions

What does the post-mortem skill do?

The post-mortem skill writes the canonical engineering record of a fixed bug, covering root cause, mechanism, fix, validation, and how the bug slipped through. It is written for engineers and welcomes code identifiers so future readers can recover the mental model quickly.

When should I use the post-mortem skill instead of a plain PR description?

Use it after a debug session has landed a validated fix and before closing the ticket. The skill refuses to draft without a reliable repro, a known root cause, an identified fix, and validation, and it skips trivial fixes where the PR description is enough.

How do I install the post-mortem skill?

Run npx -y skills add thananon/9arm-skills --skill post-mortem -y in your project. The skill then lets the agent draft a structured bug writeup on request, triggered by /post-mortem or phrases like write up the root cause.

Where does the post-mortem skill rank in the Debugging category?

The skill is in the Debugging category and ranks in the top 100 on the Debugging category page. Other skills in the category include diagnosing-bugs, azure-messaging, safe-debug, systematic-debugging and sentry-cli.

More from thananon/9arm-skills

All 6

Similar to Post Mortem

More Debugging