# pre-mortem

pre-mortem — a skill for Claude Code that structures prospective hindsight exercises to anticipate launch disasters. Triggers during release planning, large migrations, or major architectural overhauls.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 124 installs · ★ 1183 repo stars
- Author: borghei
- License: LicenseRef-MIT-Commons-Clause · policy=link-only · description only; the file stays with the author
- Source: https://github.com/borghei/Claude-Skills/tree/HEAD/project-management/discovery/pre-mortem/SKILL.md
- Updated: 2026-11-08
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/borghei-pre-mortem

## What it does

Runs across Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, and OpenCode. It asks the team to picture the project failing two weeks after launch, then reconstructs the exact missteps that caused the breakdown.

Reported issues get grouped into verified hazards (tigers), anxiety-driven assumptions (paper tigers), and suppressed team concerns (elephants). The included `risk_categorizer.py` script validates the generated JSON catalog. Running this validation utility requires a local Python 3 setup.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add borghei/Claude-Skills --skill pre-mortem -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/pre-mortem/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/pre-mortem/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add borghei/Claude-Skills --skill pre-mortem -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/pre-mortem/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add borghei/Claude-Skills --skill pre-mortem -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/pre-mortem/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install borghei/Claude-Skills project-management/discovery/pre-mortem
```

2. **Manually: put the files in place**
- File: `.github/skills/pre-mortem/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add borghei/Claude-Skills --skill pre-mortem -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/borghei/Claude-Skills --path project-management/discovery/pre-mortem
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/pre-mortem/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add borghei/Claude-Skills --skill pre-mortem -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/borghei/Claude-Skills/tree/HEAD/project-management/discovery/pre-mortem/SKILL.md

## When to use it
- identify unvoiced failure points before committing build resources
- filter out speculative panics from evidenced launch blockers
- assign concrete owners and decision dates to project-stopping items
- validate risk inventory files using `risk_categorizer.py`

## Example prompts
- Run a pre-mortem imagining our auth overhaul failed two weeks after launch
- Help sort these launch concerns into tigers, paper tigers, and elephants
- Check our pre-mortem entries using `risk_categorizer.py` to catch missing owners

## Similar
- [thinking-pre-mortem](https://affpapa.org/en/nevibecode/skills/thinking-pre-mortem.md) — skill · 804 installs
- [senior-pm](https://affpapa.org/en/nevibecode/skills/senior-pm.md) — skill · 792 installs
- [gao-schedule](https://affpapa.org/en/nevibecode/skills/gao-schedule.md) — skill · ★ 93 repo stars
- [project-timeline-simulator](https://affpapa.org/en/nevibecode/commands/buildwithclaude-community-project-timeline-simulator.md) — command · ★ 3785 repo stars
- [pre-trade-discipline-gate](https://affpapa.org/en/nevibecode/skills/pre-trade-discipline-gate.md) — skill · 3200 installs
- [recipe-post-mortem-setup](https://affpapa.org/en/nevibecode/skills/recipe-post-mortem-setup.md) — skill · 30900 installs

## Other versions with the same name
- [pre-mortem · phuryn](https://affpapa.org/en/nevibecode/skills/pre-mortem.md) — 10600 installs
- [pre-mortem · ysskrishna](https://affpapa.org/en/nevibecode/skills/ysskrishna-pre-mortem.md) — ★ 25 repo stars

From the same set: [borghei/claude-skills](https://affpapa.org/en/nevibecode/by/borghei/claude-skills.md) — 120 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
