postmortem
Skill447 starsChanged 5 months agoApache-2.0View on GitHub
Analyze outcomes or an interim cutoff. Use when: a postmortem is explicitly requested; consumes available judgment, never gates code acceptance or requires a lesson.
26 other projects use a version of this.
Adopted by
Most recently taken up by
- RachaelQuisel/skillsforyoutheir own version, first seen Sep 23, 2026
- SethGammon/Citadeltheir own version, first seen Sep 20, 2026
- zcf0508/skillstheir own version, first seen Sep 20, 2026
- EthanReedLabs/suldetheir own version, first seen Sep 13, 2026
- Dimon94/skillstheir own version, first seen Sep 10, 2026
- MichaelLeeHobbs/skillstheir own version, first seen Sep 3, 2026
Used with
Projects with it also use code-review.
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.
GoogleSkillcode-review
Adversarial systems, concurrency, memory-model, and architecture code review protocol. Use this skill whenever asked to review code, PRs, diffs, or branches in Filament.
Also in 3 projects that use this
Other versions26 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 26
- SethGammon/Citadel★ 922same name
- neurofoo/agent-skills★ 119same name
- Dimon94/skills★ 107same name
- EthanReedLabs/sulde★ 99same name
- TSS-Blue-AI-Lab/ai-lab-agent-skills★ 25same name
- Hongyu-yu/matsci-ai-skills★ 19same name
- Hassaan146/claude-skills★ 18same name
- clonable-eden/cekernel★ 17same name
- vshrinath/virtual-product-factory★ 16same name
- arch3rPro/dsh-skills★ 5same name
16 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 repository30 other files it gives its agents.
- AGENTS.mdAGENTS.md
- cli/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- agent-nativeSkill
- agy-nativeSkill
- codex-execSkill
- councilSkill
- craft-goalSkill
- docSkill
- domainSkill
- idea-genieSkill
- implementSkill
- interviewSkill
- memorySkill
- navigateSkill
- orchestrateSkill
- planSkill
- premortemSkill
- reality-checkSkill
- refactorSkill
- researchSkill
- reverse-engineerSkill
- reviewSkill
- rpiSkill
- securitySkill
- skill-builderSkill
- skill-evalSkill
- testSkill
- using-gcSkill
- validateSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 3 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 23 edited versions we read keep these.
3
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
- Distinctive: line 67
Keep missing evidence explicit before drawing conclusions.
- Distinctive: line 85
Treat causal statements as hypotheses until the mechanism is demonstrated.
- Distinctive: line 99
Every supported causal claim needs all three elements with citations.
- Very specific: line 104
Default to concise inline Markdown: question, pinned inputs, relevant timeline, hypotheses/evidence/counterfactuals, unknowns and bounded …
- Very specific: line 106
Only when requested, save YYYY-MM-DD-postmortem-<topic>.md in caller-selected protected external non-Git storage.
“Common” is measured: kept by at least 6 in 10 of the 23 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 or change using its actual intent, outcome and judgment evidence. For an explicitly requested interim analysis, pin the cutoff and pending checks; its conclusions describe that interval and do not establish a final outcome.
Prompt
Postmortem this stopped change using its accepted intent, native session,
check results and reviewer messages. Which correction cycles were avoidable,
and which checks were necessary? No verdict file was saved. Answer inline.Critical Constraints
- Postmortem is retrospective causal analysis, not the general learning umbrella or a code-acceptance gate: acceptance proof and causal inference are different judgments. A request for code and a postmortem does not make the postmortem an input to code judgment. Wait for a known outcome unless interim analysis was requested; keep the caller's overall request incomplete until its requested analysis exists.
- Existing verdicts and native judgments remain unchanged. It does not re-run acceptance validation
or fabricate missing proof to enable a retrospective. An existing
verdict.v2is 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 explicit question, accepted intent, subject identity, actual outcome and available judgment. Cite native work/session references, commits, checks and reviewer messages as applicable; cite an existing verdict by exact id. Keep missing evidence explicit before drawing conclusions.
- Reconstruct only the relevant evidence-backed timeline. Keep delivered behavior, failed/stopped work and process output distinct; hidden author reasoning is not fact. Missing judgment is not a PASS or a FAIL.
- Separate delivered facts from causal hypotheses. Test contributing conditions against cited evidence, at least one plausible alternative and a counterfactual. Distinguish necessary validation and compatibility work from avoidable rework; repeated review alone proves no waste.
- For time/token claims, state source, interval, units, included/excluded actors and uncertainty. Separate elapsed time, overlapping work and accounting scopes; never equate totals with waste, savings or money without supporting evidence.
- Optionally seek independent support or challenge for contested causal claims within caller authority. Return supported/rejected claims, unknowns and at most three supported changes with limits or small suggested experiments. Stop; suggestions do not authorize implementation.
Correlation-to-cause discrimination
Treat causal statements as hypotheses until the mechanism is demonstrated. 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 the 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 recovery and the change may share an unobserved cause. Keep such claims as correlations with untested alternatives and a suggested discriminating experiment. Every supported causal claim needs all three elements with citations; anything less stays a correlation or unknown.
Output Specification
- Default to concise inline Markdown: question, pinned inputs, relevant timeline, hypotheses/evidence/counterfactuals, unknowns and bounded suggestions. No mandatory report or worksheet.
- Only when requested, save
YYYY-MM-DD-postmortem-<topic>.mdin caller-selected protected external non-Git storage. Missing routing does not authorize a repository fallback; preserve existing requested evidence under owner policy. bash skills/postmortem/scripts/validate.shchecks package structure and contract markers. It does not inspect report truth, causal support or acceptance.- The caller owns bookkeeping, planning and delivery. Optional Memory owns any separately authorized curation, support and destination-disclosure review; retrospective evidence cannot promote itself.
Quality Checklist
- The causal question and actual inputs are pinned; gaps are explicit.
- Supported and rejected claims cite discriminating evidence.
- Alternatives, counterfactuals, and unknowns remain visible.
- The report stops short of proof, planning, tracker, and delivery authority.
Behavior examples are in postmortem.feature.
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.

