Agent skill

swing-mortem

Prospective failure analysis using Gary Klein's pre-mortem technique. Assumes complete failure, works backward to identify risks, leading indicators, and circuit breakers. Counters optimism bias by forcing systematic exploration of failure modes before they materialize. Use for project plans, architecture decisions, technology adoption, business strategy, or feature launches. Triggers on "리스크", "위험", "실패하면", "swing-mortem", "뭐가 잘못될 수 있어", "risk", "what could go wrong", "걱정되는 점", "failure modes", "리스크 분석", "위험 분석".

majiayu000534★ · 1 repos on radarProfile →
claude-codecan modify filesMIT
Install
npx skills add majiayu000/claude-skill-registry --skill swing-mortem-thestack-ai-swing-skills --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 20 KB
Bundled scripts: none
Allowed tools: ReadGrepGlobBashAgent
Path: skills/analysis/swing-mortem-thestack-ai-swing-skills/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

Review
written from the skill's own SKILL.md · Aug 5, 2026

What it does

The skill conducts prospective failure analysis (pre-mortem) to surface concrete, future failure scenarios across five categories (Technical, Organizational, External, Temporal, Assumption). It enforces exact, specific narratives with measurable triggers and outcomes, grounded in Gary Klein's pre-mortem technique. It requires enumerating five distinct scenarios (one per category), each with a concrete narrative, plausible justification, and a measurable consequence. It mandates a formal failure frame, a risk matrix selecting the top 3 risks by priority, leading indicators for those risks, circuit breakers with concrete triggers and fallbacks, and a single-sentence pre-mortem summary. The process is executed in six phases (Set the Failure Frame, Failure Scenario Generation, Likelihood x Impact Matrix, Leading Indicators, Circuit Breakers, Pre-Mortem Summary) and outputs a final formatted document with these sections.

How it works

  • Establish the Failure Frame (Subject, Timeframe, and a complete failure statement).
  • Generate exactly 5 failure scenarios, one per category (Technical, Organizational, External, Temporal, Assumption). Each scenario includes: What happened (2-4 sentences), Why it was plausible (1-2 sentences), and Concrete consequence (specific, measurable impact).
  • Create a Risk Matrix rating Likelihood and Impact for each scenario, then compute Priority and select the top 3 by priority (ties broken by higher Likelihood).
  • For each of the top 3 risks, define 2-3 Leading Indicators with explicit measures, thresholds, locations to observe, and lead time.
  • For each top risk, define a Circuit Breaker with a concrete Trigger (threshold), a Fallback (specific alternative), Cost of delay, and Decision owner.
  • Produce a Pre-Mortem Summary BLUF that synthesizes the highest risk, its leading indicator, and the escape hatch, plus cost implications and monitoring timeline.

When to use it

Use when you want a structured, adversarial forward-looking risk review for plans, architecture decisions, technology adoption, business strategy, or feature launches. Triggers to initiate the analysis include phrases such as "리스크", "위험", "실패하면", "swing-mortem", "뭐가 잘못될 수 있어", "risk", "what could go wrong", "걱정되는 점", "failure modes", "리스크 분석", or "위험 분석".

What it can touch

  • Tools: Read, Grep, Glob, Bash, Agent
  • Focus: It requires constructing narratives and measurable thresholds; it does not perform code edits or runtime actions unless those tools are invoked to fetch or inspect artifacts.

Caveats

  • Requires precise, concrete scenarios with quantified details (no generic risks).
  • Each category must contain exactly one scenario; no skipping categories.
  • The swing-mortem summary is mandatory and must synthesize risk, leading indicator, and escape hatch in one paragraph.
  • Assumes complete failure in framing; the analysis aims to surface explicit, testable thresholds and fallbacks.
From the SKILL.md

# Pre-Mortem Prospective failure analysis that defeats optimism bias by assuming failure first, then working backward to surface risks, early warnings, and escape hatches. **Based on Gary Klein's pre-mortem technique:** Instead of asking "will this work?" (which triggers optimism bias), this skill forces the question: "It's 6 months from now and this has completely failed. What went wrong?" **Key distinction from swing-review:** - `swing-review` examines the **CURRENT** state — "what's wrong NOW?" - `swing-mortem` examines the **FUTURE** — "what will go wrong LATER?" - Adversarial review finds existing flaws. Pre-mortem anticipates flaws that don't exist yet. ## Rules (Absolute) 1. **Never produce generic risks.** Every failure scenario must name specific technologies, quantities, timelines, or conditions. "The database might not scale" is banned. "PostgreSQL connection pool exhaustion at >2,000 concurrent users due to long-running analytical queries holding connections for 30s+" is acceptable. 2. **Exactly 5 scenarios across 5 categories.** One Technical, one Organizational, one External, one Temporal, one Assumption. No category may be skipped, no category may have more than one

What's inside
Steps it walks through
  1. Rules (Absolute)
  2. Process
  3. Phase 1: Set the Failure Frame
  4. Phase 2: Failure Scenario Generation
  5. Phase 3: Likelihood x Impact Matrix
  6. Phase 4: Leading Indicators
  7. Phase 5: Circuit Breakers
  8. Phase 6: Pre-Mortem Summary (BLUF)
  9. Output Format
  10. Quality Calibration
  11. BAD Pre-Mortem (Don't Do This)
  12. GOOD Pre-Mortem (Do This)
  13. When to Use
  14. When NOT to Use
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the swing-mortem skill do?

Prospective failure analysis using Gary Klein's pre-mortem technique. Assumes complete failure, works backward to identify risks, leading indicators, and circuit breakers. Counters optimism bias by forcing systematic exploration of failure modes before they materialize. Use for project plans, architecture decisions, technology adoption, business strategy, or feature launches. Triggers on "리스크", "위험", "실패하면", "swing-mortem", "뭐가 잘못될 수 있어", "risk", "what could go wrong", "걱정되는 점", "failure modes", "리스크 분석", "위험 분석".

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill swing-mortem-thestack-ai-swing-skills --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going