post-mortem
Skill1 starsChanged 4 months agoMITView on GitHub
Explains why safeguards missed a production escape, incident, loss, or failed work cycle, or why its impact grew, and what prevents it happening again. Use when a production escape, incident, material loss, or failed work cycle has been contained, or when the user asks how this reached production or what prevents another failed handoff. Establish any technical cause and immediate containment first; a process-only failure needs its event evidence. Skip ordinary bugs and ongoing uncontained impact.
8 other projects use a version of this.
Adopted by
Most recently taken up by
- autsachi/codex-skillstheir own version, first seen Aug 11, 2026
- neronain/ClaudeSkills-Neronaintheir own version, first seen Aug 9, 2026
- Hassaan146/claude-skillstheir own version, first seen Jul 25, 2026
- mahiunfiltered/claude-code-skillstheir own version, first seen Jul 8, 2026
- MarcoZorn/agencykittheir own version, first seen Jul 7, 2026
- thananon/9arm-skillstheir own version, first seen Jun 14, 2026
Used with
Projects with it also use management-talk and scrutinize.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
thananonSkillmanagement-talk
Rewrite engineer-to-engineer content for engineering-org leadership (VPs, directors, PMs, release managers, execs in an engineering-savvy company) and shape it for the channel it is going to — JIRA comment, Slack post, async standup line, email, or meeting talking-points. Trigger when the user asks to write/rewrite for management / exec / VP / director / PM / release manager, asks for an "executive summary / leadership update / status update", says "make this less technical / less jargony", or asks for a slack / email / standup / meeting version of work originally written engineer-to-engineer.
Also in 3 projects that use this
jpsweeney97Skillscrutinize
Use when the user explicitly wants a harsher-than-normal critical review of a plan, design, draft, argument, decision, or code artifact. Trigger on requests like "scrutinize this", "be brutal", "tear this apart", "assume this is wrong", "reject until proven otherwise", or "review this with maximum scrutiny". Challenge the premise first, then run two passes that search for flaws, omissions, weak assumptions, second-order effects, edge cases, and hidden dependencies. Do not use for routine code review, collaborative editing, or balanced feedback when the user did not ask for an adversarial stance.
Also in 3 projects that use this
Other versions8 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 8
- thananon/9arm-skills★ 3.2ksame name
- Hassaan146/claude-skills★ 18same name
- MarcoZorn/agencykit★ 6same name
- andreluizweb/my-claude-skills★ 4same name
- neronain/ClaudeSkills-Neronain★ 3same name
- Hussain-Elfalah/Agentic-Skills★ 2same name
- mahiunfiltered/claude-code-skills★ 1same name
- autsachi/codex-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository40 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- writing-specsSkill
- clarifying-intentSkill
- dispatching-parallel-agentsSkill
- handoffSkill
- mapping-the-codebaseSkill
- prototypingSkill
- using-git-worktreesSkill
- using-sdlc-skillsSkill
- viewing-artifactsSkill
- writing-skillsSkill
- yagniSkill
- finishing-a-branchSkill
- release-readinessSkill
- architecture-decisionsSkill
- coding-standardsSkill
- data-modelSkill
- migration-strategySkill
- reviewing-plansSkill
- system-architectureSkill
- ui-ux-designSkill
- writing-plansSkill
- executing-plansSkill
- subagent-driven-developmentSkill
- test-driven-developmentSkill
- complexity-auditSkill
- containing-an-incidentSkill
- debuggingSkill
- diagnosing-a-sessionSkill
- refactor-architectureSkill
- define-goalsSkill
- feasibility-checkSkill
- scopingSkill
- receiving-code-reviewSkill
- requesting-code-reviewSkill
- security-auditsSkill
- verification-before-completionSkill
- verification-strategySkill
- visual-ui-verificationSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 0 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 53
Write each corrective action as proposed, mapped to a structural cause, every action-row field filled.
- Very specific: line 70
Ask through the harness's user-input action when one exists, else print this block.
“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Post-Mortem
Explain why the failure escaped or grew, then measure whether each corrective
control reduces recurrence, detection, or impact risk. Take the code-level
cause from debugging; do not re-derive it. Close on deployed and falsified
controls, never on reflection. For a process-only failure, use the observed
event and decision trail; do not invent a code defect to enter this skill.
When to use
- A failure reached users/production, escaped far downstream, caused real loss, or exposed a process failure worth correcting.
- Skip an ordinary reproduced bug. For technical incidents, establish the
technical cause and immediate containment first; unknown technical cause →
debugging. A process-only failure begins from its evidenced events.
Step 1: Control the record
- Open
assets/post-mortem-template.mdwhen starting the analysis. FillControl and evidence handlingfirst: readers, lifetime, redaction, expected reviewers and approver rules. - Fill
Summary and impactandTimelinefrom artifacts, not memory. Mark every timeobservedorestimated.
Step 2: Find the structural cause
- Fill
Root cause and contributing conditions: cite the technical cause fromdebuggingwhen applicable, or the process-failure evidence, then each condition that made introduction or impact more likely. Name conditions, never a person. Keep several conditions separate. - Fill
Escape-path audit: freeze the gate and surface inventory with its source digest, then fill every column for each entry, with an accountable disposition per omission. - Fill every bullet of
Risk-reduction claimper action. Never claim recurrence is impossible. - Challenge the draft. Fill
assets/escape-path-challenger.mdbefore dispatching it read-only perdispatching-parallel-agentsStep 2; a serious incident without one needs the omission theExpected reviewersfield requires. Disposition every finding;findingsblocks issue until the corrected draft is challenged again. - Issue the immutable analysis with its
External lifecycle ledgerto the user-set path or the template's path, under current storage authority, and record its identity per the template. In-repository record → a new candidate.
Step 3: Propose and get the actions accepted
- Write each corrective action as
proposed, mapped to a structural cause, every action-row field filled. Present:
Post-mortem {{identity}} — {{path}} Impact: {{one line}} Structural cause: {{one line}} Escaped gate: {{one line}} Actions: {{each with owner and date}} 1. Accept the actions 2. Request changes 3. Reject the analysis 4. Cancel Recommendation: {{the answer the evidence and ownership support}} — {{one sentence}}.Ask through the harness's user-input action when one exists, else print this block; end the turn;
clarifying-intentowns what closes it.- Move an action out of
proposedonly on a complete trusted receipt for the exact scope and dates. Record rejection, cancellation, or supersession with its residual risk and replacement.
Step 4: Prove and track the controls
- Falsify every corrective gate you implement. Fill
Targeted fail-then-pass proofwith raw evidence: fails on the captured incident or a representative bad case, passes on the good control, pre-fix version did not catch it. - Track each control to an identity-bound receipt from the surface that enforces it: CI, runtime, review, release, alerting, recovery. Never infer from a summary.
- REQUIRED SUB-SKILL: invoke
verification-strategyfor any change to the battery itself. Add no duplicate gate nobody owns. - At the predeclared date, compare baseline against target and check the
gate ran. Write
effective,ineffective, orinconclusive. Reopen on either of the last two unless the exact approver rule accepts closure with residual risk. - Append every action state, proof, rollout result, and effectiveness verdict to the ledger; never edit the issued analysis.
Action states
Record in the external ledger (append-only, outside the issued analysis)
proposed → {owner-accepted | rejected |
cancelled | superseded}, and for accepted:
implemented → falsified → deployed/enforced → effectiveness reviewed → effective → closed.
Let no prose, merge, or local green skip a state.
Gotchas
- An escape-path audit taken from today's gate list instead of the frozen inventory pinned to its source digest can end up describing the battery after the fix already landed — which makes every gate look fine and the audit worthless.
- A
Risk-reduction claimof "prevent" with no baseline, target, or horizon can never be markedeffectiveorineffectiveat the review date — onlyinconclusive, permanently.
Common mistakes
- “Human error” or “reviewer missed it” instead of the conditions and absent gate that allowed the action to escape.
- Publishing sensitive incident artifacts without access and retention controls.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

