Claude Skills
CollectionsCompareWorkflowsNominate
Sign inSign up
© 2026 Curated Agent Skills·Learn more about Agent Skills
Back to repository

pre-mortem

verified

Pre-mortem simulation for specs and designs. Simulates N iterations of implementation to identify failure modes before they happen. Triggers: "pre-mortem", "simulate spec", "stress test spec", "find spec gaps", "simulate implementation", "what could go wrong", "anticipate failures".

View on GitHub

Marketplace

agentops-marketplace

boshu2/agentops

Plugin

agentops

productivity

Repository

boshu2/agentops
7stars

skills/pre-mortem/SKILL.md

Last Verified

February 1, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/boshu2/agentops/blob/main/skills/pre-mortem/SKILL.md -a claude-code --skill pre-mortem

Installation paths:

Claude
.claude/skills/pre-mortem/
Powered by add-skill CLI

Instructions

# Pre-Mortem Skill

**YOU MUST EXECUTE THIS WORKFLOW. Do not just describe it.**

Simulate implementation failures BEFORE building to catch problems early.

## Execution Steps

Given `/pre-mortem <spec-or-plan>`:

### Step 1: Load the Spec/Plan

If a path is provided, read it:
```
Tool: Read
Parameters:
  file_path: <provided path>
```

If no path, check for recent plans:
```bash
ls -lt .agents/plans/ .agents/specs/ 2>/dev/null | head -5
```

### Step 2: Understand What We're Building

Read the spec/plan carefully. Identify:
- **Goal**: What are we trying to build?
- **Components**: What pieces need to be created?
- **Integrations**: What does this connect to?
- **Constraints**: What limitations exist?

### Step 3: Dispatch Failure Expert Swarm

**Launch parallel failure simulations from different perspectives.**

```
Tool: Task
Parameters:
  subagent_type: "agentops:integration-failure-expert"
  description: "Integration failure simulation"
  prompt: |
    Simulate integration failures for this spec/plan:
    <spec-content>

    Identify: API mismatches, protocol issues, system boundary problems.
    Return findings with severity ratings.
```

```
Tool: Task
Parameters:
  subagent_type: "agentops:ops-failure-expert"
  description: "Operations failure simulation"
  prompt: |
    Simulate production operations failures for this spec/plan:
    <spec-content>

    Identify: Deployment risks, scaling issues, monitoring gaps, incident response holes.
    Return findings with severity ratings.
```

```
Tool: Task
Parameters:
  subagent_type: "agentops:data-failure-expert"
  description: "Data failure simulation"
  prompt: |
    Simulate data failures for this spec/plan:
    <spec-content>

    Identify: Corruption risks, consistency issues, migration problems, state management gaps.
    Return findings with severity ratings.
```

```
Tool: Task
Parameters:
  subagent_type: "agentops:edge-case-hunter"
  description: "Edge case hunting"
  prompt: |
    Hunt for unhandled ed

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
4535 chars