premortem
Skill453 starsChanged 4 months agoApache-2.0View on GitHub
Find how a rollout plan could fail before committing to it. Use when: asked what could go wrong or to poke holes in a plan.
42 other projects use a version of this.
Adopted by
Most recently taken up by
- ronniepinnell/caspertheir own version, first seen Nov 8, 2026
- Adelie-Squad/solosquadtheir own version, first seen Nov 8, 2026
- whyashthakker/estacktheir own version, first seen Nov 8, 2026
- gustaferiksson/skillstheir own version, first seen Nov 7, 2026
- Rafaelrr5/agent-cortextheir own version, first seen Nov 1, 2026
- griffinhilly/claude-code-synthesistheir own version, first seen Nov 1, 2026
Used with
Projects with it also use community-led-growth, ph-community-outreach and 10 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.
nicepkgSkillcommunity-led-growth
Expert in community-led growth (CLG) - leveraging user communities to drive acquisition, retention, and expansion. Covers building developer communities, user groups, ambassador programs, and turning customers into advocates. Knows the difference between community as a feature vs community as a growth engine, and how to measure community ROI. Use when "community-led, CLG, ambassador program, champion program, user community, developer community, word of mouth, user group, " mentioned.
Also in 5 projects that use this
nicepkgSkillph-community-outreach
Engage Reddit, Indie Hackers, Hacker News and other communities for Product Hunt launches. Use this skill to identify relevant communities, craft appropriate posts, and drive cross-platform engagement without appearing spammy.
Also in 5 projects that use this
xfstudioSkillmicro-saas-launcher
Expert in launching small, focused SaaS products fast - the indie hacker approach to building profitable software. Covers idea validation, MVP development, pricing, launch strategies, and growing to sustainable revenue. Ship in weeks, not months. Use when: micro saas, indie hacker, small saas, side project, saas mvp.
Also in 5 projects that use this
mastepanoskiSkillux-audit-rethink
Comprehensive UX audit using IxDF's 7 factors, 5 usability characteristics, and 5 interaction dimensions. Holistic evaluation with redesign proposals based on user-centered design principles.
Also in 5 projects that use this
ncklrsSkillseo-content-strategist
Expert SEO content strategy for SaaS and B2B sites. Use when doing keyword research, planning content clusters, creating pillar pages, optimizing on-page SEO, fixing technical SEO issues, building links, refreshing content, implementing programmatic SEO, mapping search intent, optimizing for SERP features, or measuring content performance. Use for SEO audits, content gap analysis, and organic growth strategy.
Also in 5 projects that use this
parcadeiSkillagent-context-isolation
Agent Context Isolation
Also in 3 projects that use this
- +6 more from nicepkg
Other versions42 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 42
- parcadei/Continuous-Claude★ 3.9ksame name
- parcadei/Continuous-Claude-v2★ 3.9ksame name
- parcadei/Continuous-Claude-v3★ 3.9ksame name
- MaxMiksa/Auto-Company★ 3.2ksame name
- MaxMiksa/Autonomous-Company★ 3.2ksame name
- entropyvortex/meta-llm-charter★ 248same name
- nicepkg/auto-company★ 188same name
- joetawil7/first-pass★ 128same name
- neurofoo/agent-skills★ 111same name
- songjiun10-collab/Senior-thinking-skills★ 87same name
32 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
- postmortemSkill
- 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
4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 38 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 38
Run the checks in this order and report findings in the same order: a finding from the first or second check outranks any single technical …
- Distinctive: line 44
Test the plan's evidence shape before any technical risk: for every unit of work, who verifies it, and is the verifying context distinct …
- Distinctive: line 106
Run the three checks against cited repository facts.
- Very specific: line 157
When the caller requests a durable review, return premortem-plan-review.v1 and check it with bash "<skill-dir>/scripts/validate-output.sh" …
“Common” is measured: kept by at least 6 in 10 of the 38 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
Premortem
Premortem is an optional plan-challenge strategy. It asks one fresh context to identify concrete ways the resolved bead or caller intent could fail before implementation. It is not part of the required RPI sequence and does not authorize readiness. Plan's shared challenge method owns optional exchange, dispatch and stopping rules; when no fresh context can be started, step 2's labelled self-judged fallback replaces its no-stand-in rule here. Premortem owns the three checks below. Neighbours: general advice is Review, acceptance of a finished change is Validate, and several independent views are Council.
Run the checks in this order and report findings in the same order: a finding from the first or second check outranks any single technical risk the third check constructs.
The first check: who verifies, and are they fresh?
Test the plan's evidence shape before any technical risk: for every unit of work, who verifies it, and is the verifying context distinct from the one that authored it? CI and existing deterministic checks the author did not write count as distinct verifiers, and for an ordinary unit they are enough (Validate). Two shapes are findings: a unit graded only by checks its author wrote, as in a closure step "the implementer runs its own tests and closes"; and a unit Validate lists as costly with no fresh author-distinct read. Report each shape once, listing its units. Self-graded green is the classic false-done, and it ranks first because it silently converts every other failure into a shipped one.
The second check: which steps are one-way doors?
Walk the steps and mark each two-way (the plan can back out of it) or one-way (it cannot). For every one-way step name the exact undo cost, the point of no return, and who holds the handle when it is crossed: the caller, or an agent deciding inside a batch. A two-way failure costs a retry; a one-way failure costs the thing itself. Watch for nineteen reversible steps followed by an irreversible one, where the reflex trained by the first nineteen answers the twentieth.
The named failure mode is reversibility asserted, not traced: a rollback section that says "fully reversible" while one step revokes a credential, force-pushes or publishes. A material irreversible action outside existing caller authority is a finding; Plan's Who decides owns undo cost and authorization, and prior authorization stays valid, so do not demand repeated approval at the crossing or call every uncertain detail irreversible. Stop condition: every step carries a mark, and every one-way mark carries its undo cost.
The third check: construct the failure
Draw candidate failures from what the plan takes for granted, not from a generic risk list. Typical premises: a tool or service behaving as the plan describes, the work holding at volumes far above or below what it expects where volume matters, steps finishing in the stated order and time, and acceptance, edge behavior, scope and dependencies being complete. Aim first at the decision other steps rest on, and at any one-way step whose deciding premise is inferred rather than cited. Name the fact that would show each premise false; when it can be looked up now, look it up instead of reporting the premise as a risk.
For every candidate failure, attempt a concrete defeat: write the input, command sequence or repository state that would make the plan fail, and run or cite the check that shows whether the plan survives it. When execution is not available, the constructed input or sequence plus a cited fact (file and line, documented behavior, an observed output) counts as the attempt. A failure you could not construct is reported as attempted-and-blocked with the obstacle named, which is itself evidence for the plan. The named failure mode is armchair pessimism: imagined risks with no construction, which reads as diligence while testing nothing. A finding with neither a construction nor a blocking fact is deleted, not softened.
Workflow
- Resolve the existing intent source and inspect its acceptance, non-goals, evidence requirements and declared write scope.
- Judge from a context that did not write the plan, following the shared challenge method for identity, model selection, authorization and bounds. A plan the caller wrote can be judged here, with the caller as author. If this context wrote the plan and no fresh context can be started, run the checks anyway, state that the independence leg is missing, and return inline findings; never describe them as independent.
- Run the three checks against cited repository facts. For integration or extension plans where anchoring on the working design is the risk, add the derivation-diff challenge.
- Return one complete, bounded set of concrete findings with checked and not-checked scope, then stop: the caller decides whether to revise the plan or invoke RPI.
It's working if
Observable in the output:
- each unit names its verifier, and each self-verification shape is one finding listing its units;
- each step is marked, and each one-way mark names its undo cost and point of no return;
- each finding cites a defeat attempt or the fact that blocked it;
- the set is bounded: a review that flags every step has reported nothing.
Boundary
Emit advisory findings, no verdict of any version, readiness, admission or permission. Do not implement, validate the candidate, retry, repair, schedule, claim, change acceptance, operate Git, close work, release or deliver. Council or Idea Genie duel mode may be caller-supplied evidence, but Premortem requires neither and cannot turn consensus into approval. Any plan edit creates a new subject for a later caller-initiated Premortem.
Output
Return findings inline by default:
Findings (in check order, then most consequential first within each check)
1. <step> - <how it fails> - <construction, or the fact that blocked it> - <consequence>
Verifiers: <unit>: <who verifies>
Steps: <step>: two-way | one-way - <undo cost> - <point of no return> - <who holds the handle>
Checked: <what was examined>. Not checked: <what was not>.
Independence: <judge context, distinct from author> or "missing: <reason>"<skill-dir> is the directory that contains this SKILL.md. Claude Code shows it
as "Base directory for this skill"; Codex lists this skill's SKILL.md path; in
an AgentOps source checkout it is skills/premortem. Replace <skill-dir> with
that absolute path before running a command. The working directory stays the
user's repository. If the host did not show where this skill is installed, use
the directory of the SKILL.md you read. If you cannot determine it, do not guess
a path or run a same-named script from the current repository; say the bundled
script is unavailable and check the review's fields by hand against its
schema.
When the caller requests a durable review, return premortem-plan-review.v1
and check it with bash "<skill-dir>/scripts/validate-output.sh" <review.json>. Its
intent_digest is the 64-hex SHA-256 of the exact intent text as supplied:
shasum -a 256 plan.md | cut -d' ' -f1 for a file, or
printf '%s' "$TEXT" | shasum -a 256 | cut -d' ' -f1 for pasted text.
author_context_id names who wrote the plan (the caller, or that session's ID)
and judge_context_id names this context. The form has no fields for verifiers
or step marks, so it is lossy: record each inline Verifiers: and Steps: line
verbatim in checked, and put each finding's construction or blocking fact in
its evidence. The validator rejects identical author and judge IDs but
checks only that the strings differ, not that an independent judge ran, so a
review without one stays inline. An empty finding set means only that this
optional challenge found no concrete defect; it is never a lifecycle gate.
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.

