postmortem
Skill453 starsChanged 4 months agoApache-2.0View on GitHub
Explain why a change, incident or session went as it did, separating proven causes from coincidence. Use when: asked for a postmortem, retro or root-cause write-up.
44 other projects use a version of this.
Adopted by
Most recently taken up by
- mehboobali98/rmine-skillstheir own version, first seen Nov 6, 2026
- SethGammon/Citadeltheir own version, first seen Nov 4, 2026
- flonat/flonat-researchtheir own version, first seen Nov 3, 2026
- jp-solumhealth/jpstacktheir own version, first seen Nov 1, 2026
- MakiDevelop/claude-skillstheir own version, first seen Nov 1, 2026
- Dimon94/dveritytheir own version, first seen Oct 28, 2026
Used with
Projects with it also use hypothesis-driven-debugging, status-report and 7 more.
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.
Sturla22Skillhypothesis-driven-debugging
Debug by ranking concrete hypotheses and running discriminating checks. Use when a bug is hard to localize, many plausible failure points exist, logs are noisy or misleading, a symptom appears intermittently, or trial-and-error edits haven't worked.
Also in 3 projects that use this
AnthropicSkillstatus-report
Generate a status report with KPIs, risks, and action items. Use when writing a weekly or monthly update for leadership, summarizing project health with green/yellow/red status, surfacing risks and decisions that need stakeholder attention, or turning a pile of project tracker activity into a readable narrative.
Also in 3 projects that use this
seongjaeryuSkillorganize
Organize knowledge into Sets
Also in 3 projects that use this
AnthropicSkillincident-response
Run an incident response workflow — triage, communicate, and write postmortem. Trigger with "we have an incident", "production is down", an alert that needs severity assessment, a status update mid-incident, or when writing a blameless postmortem after resolution.
Also in 4 projects that use this
OpenAISkillthreat-model
Use when Codex is already in the threat-modeling phase of a security scan, the user explicitly invokes $threat-model, or the user explicitly asks to create, update, or persist a repository threat model. Do not use as the primary trigger for full PR, commit, branch, patch, or repository scans.
Also in 3 projects that use this
iovisorSkillevolve
Evolve uBPF through a gated spec-first workflow that propagates approved changes through requirements, design, validation, implementation, and RFC alignment artifacts.
Also in 3 projects that use this
Other versions44 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 44
- dotnet/fsharp★ 4.3ksame name
- SethGammon/Citadel★ 927same name
- flonat/flonat-research★ 150same name
- neurofoo/agent-skills★ 111same name
- Dimon94/dverity★ 107same name
- Dimon94/skills★ 107same name
- EthanReedLabs/sulde★ 99same name
- Hongyu-yu/matsci-ai-skills★ 19same name
- Hassaan146/claude-skills★ 18same name
- clonable-eden/cekernel★ 17same name
34 more not listed
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 repository32 other files it gives its agents.
- AGENTS.mdAGENTS.md
- cli/AGENTS.mdAGENTS.md
- agent-nativeSkill
- agy-nativeSkill
- architectureSkill
- claude-execSkill
- codex-execSkill
- councilSkill
- craft-goalSkill
- docSkill
- domainSkill
- ergonomicsSkill
- idea-genieSkill
- implementSkill
- interviewSkill
- memorySkill
- navigateSkill
- orchestrateSkill
- planSkill
- premortemSkill
- refactorSkill
- researchSkill
- reverse-engineerSkill
- reviewSkill
- rpiSkill
- securitySkill
- skill-builderSkill
- skill-evalSkill
- testSkill
- triageSkill
- using-gcSkill
- validateSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 5 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 40 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 33
Treat every causal statement as a hypothesis, including the one the caller arrives with.
- Distinctive: line 67
If the outcome is not yet known and no interim analysis was asked for, say so and ask whether to analyze up to now.
- Distinctive: line 93
Put each causal claim through the first check above.
- Distinctive: line 96
If the inputs include an earlier postmortem of the same subject, account for its recommendations before issuing new ones: applied, partly …
- Distinctive: line 112
Default to concise inline Markdown, no mandatory report or worksheet:
“Common” is measured: kept by at least 6 in 10 of the 40 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
Postmortem
Answer an explicit retrospective causal question about a completed or stopped goal, session, change or incident from its actual intent, outcome and judgment evidence. Neighbours: how a plan not yet run could fail is Premortem; whether a finished change meets acceptance is Validate.
First check: correlation or cause?
Treat every causal statement as a hypothesis, including the one the caller arrives with. Promoting a claim from correlation to cause requires all three:
- a stated mechanism: the specific path by which the condition produced the outcome, in terms a reader could check against the subject;
- discriminating evidence: an observation that the mechanism predicts and at least one plausible alternative does not;
- a counterfactual test: what should have differed if the claim were false, with cited evidence showing it did differ.
Post-hoc fix attribution, "we changed X and the failure stopped, therefore X was the cause", satisfies none of these alone: the symptom may be intermittent, or the recovery and the change may share an unobserved cause. Keep such claims as correlations, name the alternatives still standing, and suggest the discriminating experiment; a recommendation built on an unproven cause is framed as that experiment, not as a supported change. Rejecting a claim needs discriminating evidence too, or a prediction of the claim that the evidence contradicts. Anything less stays a correlation or an unknown.
Prompt
Postmortem last Thursday's release: the deploy needed four attempts and two
rollbacks before it stuck. Using the deploy log, the CI runs and the incident
channel notes, which failures were avoidable and what caused each one?
Answer inline.Critical Constraints
- Postmortem is retrospective causal analysis, not the general learning umbrella or a code-acceptance gate: code judgment never waits on it, and Plan's code plus a retrospective rule keeps the two separate when both are requested.
- If the outcome is not yet known and no interim analysis was asked for, say so and ask whether to analyze up to now. An interim analysis pins the cutoff and pending checks; its conclusions cover that interval, not a final outcome.
- It does not re-run acceptance validation, change existing verdicts or
fabricate missing proof. An existing Validate verdict (
verdict.v2) is optional evidence; its absence does not exclude a stopped or unvalidated subject. - Because the caller owns subsequent action, do not rewrite proof, operate tracker state, change the remaining plan, reopen work or promote a rule.
- Empty or inconclusive analysis is valid; recommend no change when warranted. Manufacture neither certainty nor a lesson.
Workflow
- Pin the question, accepted intent, subject identity, actual outcome and available judgment with exact ids (commits, checks, messages, an existing verdict); keep missing evidence explicit. For an incident, intent is the expected service behaviour or SLO, judgment is the alerts and checks, and step 2 looks for the deploy, config change, upstream event or missing signal before the departure.
- Rebuild only the timeline the claims depend on, keeping delivered behavior, failed or stopped work and process output distinct. For a correction or stop, locate the first observable departure from the accepted behavior and the instruction, tool result or missing input immediately before it. Compare a successful case under similar conditions when available; otherwise name that missing comparison. A pause required by the caller is expected behavior. Hidden author reasoning is not fact; missing judgment is not a PASS or a FAIL.
- Put each causal claim through the first check above. Distinguish necessary validation and compatibility work from avoidable rework; repeated review alone proves no waste. If the inputs include an earlier postmortem of the same subject, account for its recommendations before issuing new ones: applied, partly applied, not applied, or unknown, with evidence from the supplied work since then. Preserve whether a change was authorized, held or never approved; missing evidence of application is not failed adoption. Report recurrence of the targeted failure only when observed. For repeated unapplied advice, name known obstacles or an unresolved question instead of simply repeating it. Nonapplication alone proves neither cause, blame nor that the advice helps.
- For time or token claims, state source, interval, units, included and excluded actors, and uncertainty. Separate elapsed time, overlapping work and accounting scopes; never equate totals with waste, savings or money without supporting evidence.
- Return the output below and stop; suggestions do not authorize implementation.
Output Specification
Default to concise inline Markdown, no mandatory report or worksheet:
Question: <the causal question> Inputs: <intent, outcome and evidence, with exact ids>; missing: <gaps> Timeline: <only the events the claims depend on> Claims: - <claim>: supported | correlation | rejected | unknown mechanism / discriminating evidence / counterfactual: <each, cited, or "none"> alternatives still standing: <rivals the evidence cannot rule out> Accounting (if claimed): <source, interval, units, actors, uncertainty> Unknowns: <what would settle them> Earlier advice (if supplied): <recommendation> - applied | partly applied | not applied | unknown, <evidence> Changes (at most three, or "no change"): <change> - <its limit, or the experiment that tests it>- Aim each change at what the next run will meet, usually the instruction,
tool result or missing input found in step 2, not at re-fixing code that is
already repaired. The kind of avoidable miss picks the lever:
- Mechanical slip (wrong path, skipped command, forbidden call): a lint rule, test, hook or config guard. Read the repository's check commands, hooks and CI first; an existing check that did not run or could not fail is the change, not a duplicate. When no seam in the code can hold such a check, name Architecture as the follow-up, with that defect as its named pain.
- Judgment miss: one proposed standard, runbook step or instruction line; writing it is separately authorized Memory work.
- Fact found slowly: one pointer where the search began. Fact out of reach: a way to expose it next time, such as a captured log or an alert; changing access needs caller authority.
- Save
YYYY-MM-DD-postmortem-<topic>.mdonly when asked, where the caller names, in a private directory outside any Git repository. With no location named, answer inline and write no file. Never overwrite an earlier report. - Curation, support and destination-disclosure review of any lesson are separately authorized Memory work; retrospective evidence cannot promote itself.
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.

