pre-mortem

Generate failure scenarios and assess risk for project changes.

60|2|Updated Jan 21, 2026
One-click install
npx skills add https://github.com/ElliotJLT/Claude-Skill-Potions --skill pre-mortem-elliotjlt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pre-mortem
Source: https://github.com/ElliotJLT/Claude-Skill-Potions/tree/main/skills/pre-mortem
Command: npx skills add https://github.com/ElliotJLT/Claude-Skill-Potions --skill pre-mortem-elliotjlt

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps engineering teams prevent costly mistakes by forcing a structured exploration of potential failure scenarios before coding begins.

Core Features & Use Cases

  • Systematic risk enumeration: prompts the team to generate 3-5 failure scenarios with mitigations and adjusted plans.
  • Risk prioritization: sorts high-risk items to guide implementation order.
  • Reusable discipline: can be applied to feature work, migrations, refactors, API integrations, or infrastructure changes.

Quick Start

Run the risk analysis workflow for your upcoming task:

  • python scripts/analyse_risk.py --task "<task description>" --path .

Frequently Asked Questions about pre-mortem

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I identify potential failures before starting a project?

Pre-mortem analysis prompts teams to systematically imagine failure scenarios before coding begins. Run a structured risk analysis workflow to generate 3–5 failure modes, assess their likelihood and impact, and define mitigations. This shifts risk discovery from reactive debugging to proactive planning.

When should I use pre-mortem for software projects?

Pre-mortem applies to significant changes: feature development, migrations, refactors, API integrations, and infrastructure changes. Use it when the cost of failure is high, dependencies are complex, or multiple teams coordinate. It's most valuable before implementation starts.

What's the difference between pre-mortem and standard risk assessment?

Pre-mortem uses retrospective imagination: teams assume the project failed and work backward to identify causes. This surfaces blind spots standard checklists miss. It combines risk identification with mandatory mitigation planning and priority ordering for implementation.

How do I prioritize risks after running a pre-mortem?

Pre-mortem workflow sorts identified risks by severity and likelihood to guide implementation order. High-risk items surface first, letting teams tackle mitigation early. This prevents costly rework and focuses effort on the scenarios most likely to derail the project.

Can I use pre-mortem for small feature work?

Pre-mortem scales from small to large scope. Even modest features benefit from imagining 2–3 failure modes and quick mitigations. Smaller tasks need faster analysis but follow the same structured discipline of failure enumeration and plan adjustment.