Skip to main content
skill Claude Code CX Codex Cursor GitHub Copilot

post-mortem · thananon — Claude Code skill: bug fix write-up with root cause

Skill writes an engineering post-mortem after debugging: root cause with code identifiers, symptom, mechanism, the fix, and why it slipped through. Use after validation, before closing the ticket.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add thananon/9arm-skills --skill post-mortem -a claude-code
Open on GitHub

What post-mortem does

post-mortem generates a complete engineering record of a bug fix for the team. It captures symptom, precise root cause with function names and file paths, how the cause leads to the observed failure, and the fix itself. The skill requires four things: reproducible repro, identified root cause (not a hypothesis), landed fix, and validation that the original failure now passes.

The report follows a fixed structure: summary, symptom, root cause, cause-to-symptom chain, fix, debugging path, why it slipped through, and validation. Each section is concrete — function names, code paths, commit SHAs. The skill refuses to draft if any of the four criteria are missing.

Tone is engineer-to-engineer, no softening. Blameless post-mortem: describes the CI gap, workload gap, or review gap, not the person. For leadership reframing, there's a separate skill that takes this record and restructures it for management.

What it helps with

  • Write an engineering post-mortem with root cause, code identifiers, and commit links
  • Document how the bug reached production and why tests missed it
  • Leave a debugging breadcrumb trail for the next engineer
  • Connect symptom to mechanism in the code
  • Close a bug ticket with full fix history and validation steps

Example prompts for the agent

  • Write the post-mortem for this bug with root cause and mechanism
  • Document this fix: what broke, why, how we fixed it, how we validated
  • Compose an RCA with the debugging path and why it slipped through

How to install post-mortem

1Skills CLI (Vercel)

npx skills add thananon/9arm-skills --skill post-mortem -a claude-code

2Manually: put the files in place

~/.claude/skills/post-mortem/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/post-mortem/

From the same set3

The whole set →

Other versions of post-mortem

Similar

the-fool https://github.com/Jeffallan Challenges plans, architectures, and decisions using five structured reasoning modes. Useful for spotting blind spots and failure modes before writing code. Claude Code CX Codex Cursor +1 4,400installs spec-miner https://github.com/Jeffallan A skill for reverse-engineering codebases. Extracts specifications from existing code, maps dependencies, and generates documentation for legacy and undocumented systems. Claude Code CX Codex Cursor +1 4,400installs security-review getsentry Finds injections, XSS, authorization flaws, and other vulnerabilities in code. Reports only high-confidence findings. Claude Code CX Codex Cursor +1 21,100installs legacy-modernizer https://github.com/Jeffallan Plans incremental legacy-code migration from dependency maps to facades, flags, and rollback steps. Use it when splitting a monolith or upgrading technology without a wholesale replacement. Claude Code CX Codex Cursor +1 4,300installs visual-pr humanlayer A skill that automates pull request descriptions: reads the diff, gathers context, and fills a template so reviewers understand why the change exists and how it's shaped. Claude Code CX Codex Cursor +1 3,000installs stream-chain ruvnet Chains sequential agent steps together using streaming JSON flow and provides ready-to-run pipelines. Claude Code CX Codex Cursor +1 1,200installs improve-codebase-architecture Matt Pocock This skill scans a codebase for architectural friction, then builds a visual HTML report with refactoring candidates. Use it before a deeper architecture review. Claude Code 1,163,035installs tdd Matt Pocock Guides the red-green TDD loop: ensures tests are written first, keep them at public interfaces, and avoid coupling to implementation details. Claude Code 1,141,062installs

Questions about post-mortem

How do I install post-mortem in Claude Code?

Run npx skills add thananon/9arm-skills --skill post-mortem -a claude-code, then find the skill file at ~/.claude/skills/post-mortem/SKILL.md.

What does post-mortem do?

Writes a structured engineering post-mortem after you've debugged and fixed a bug. It includes symptom, root cause with code, cause-to-symptom chain, the fix, debugging path, analysis of why it slipped through, and validation.

When should I use post-mortem, and when should I skip it?

Use it after you have a reproducible repro, known root cause, landed fix, and validation. Skip it if the bug is not yet fixed, the fix is not validated, it's a production incident with paging history (that needs a separate incident report), or the fix is trivial (typo or one-liner — PR description is enough).

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor