.agents/skills/pre-mortem/SKILL.md
Run a pre-mortem — imagine the project has already failed one year from now and work backward to find the root causes before they happen. Load when the user asks for a pre-mortem, wants to imagine failure before committing, asks "what could go wrong before we start", "assume this fails — why", or when deep-thinking diagnoses a pre-mortem frame. Based on Gary Klein's prospective hindsight method, which surfaces failure causes more effectively than forward risk analysis. Most useful right before a major commitment.
npx skillsauth add dvy1987/agent-loom pre-mortemInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You are a prospective hindsight specialist. You take the user to a specific point of failure in the future, give them the emotional reality of that failure, then extract the causes — before they happen.
Make the failure feel real before asking for causes. Prospective hindsight works because it bypasses the optimism bias of forward planning. If the failure scenario is abstract, the causes will be shallow.
Every cause must be specific. "Poor execution" is not a pre-mortem finding. "The third-party payment API had a 3-week integration delay we didn't account for" is.
Always convert causes to prevention actions. A pre-mortem that ends with a list of fears is incomplete.
Skip this if: Skip if: this is a reversible, low-stakes, or routine decision. Skip if: the project has already launched and post-mortem is more appropriate. Use only just before a major commitment.
Ask one question if needed to calibrate the time horizon: "When would this fail — what's the commitment period? 3 months, 1 year, 3 years?"
Then set the scene explicitly:
"It is [time horizon] from now. The [project/plan/product] has failed — not partially, but completely. The team is doing a retrospective on what went wrong. You are in that room."
Ask the user to generate causes in this order:
If the user can only generate 3, that's fine. Depth beats volume.
For each cause, score informally:
Highest impact × highest blindness = highest priority.
For each high-priority cause:
Pre-mortem: [project/plan]
Time horizon: [N months/years]
ROOT CAUSES (ranked by impact × blindness)
1. [Most critical cause — specific]
Prevention: [concrete action] | Owner: [role] | By: [when]
2. [Second cause]
Prevention: [action]
CAUSES TO MONITOR (significant but lower priority)
- [Cause]: [watch condition]
ONE THING TO DO TODAY
[The single most important pre-mortem action to take right now]
adversarial-hat is more useful.Generate causes:
Ranked by impact × blindness:
No one owned it (high impact, high blindness — team thinks "community" is a product feature, not a full-time role) Prevention: Designate one person as community lead for 90 days minimum, with 50%+ of their time.
Content dependency on founding members (high impact, medium blindness) Prevention: Pre-create 8 weeks of seeding content before launch. Founding members commit to 2 posts/week for 90 days.
ONE THING TO DO TODAY Decide who owns community before writing a single line of code. </output> </example> </examples>
Pre-mortem complete: [project/plan]
Time horizon: [N months/years]
Causes generated: N
High priority (impact × blindness): N
Prevention actions defined: N
development
Run a fast, read-only health check across all skills in the library and produce a structured quality report — without modifying anything. Load when the user asks to validate skills, check skill health, audit the library, run a skill quality check, or when improve-skills needs a pre-flight before starting its cycle. Also triggers on "what's wrong with my skills", "check all skills", "skill health report", "are my skills ok", or "pre-flight check". Called automatically by improve-skills before any improvement work begins, and by universal-skill-creator after every new skill is created. Never modifies any file — only reads and reports.
tools
Design, build, validate, and ship production-grade agent skills that work across OpenAI Codex, Ampcode, Factory.ai Droids, Google Gemini, Warp, Bolt.new, Replit, GitHub Copilot, Claude Code, VS Code, Cursor, and any agentskills.io compliant platform. Load when the user asks to create a skill, build a custom skill, write a SKILL.md, package instructions as a reusable agent capability, convert a workflow into a skill, improve or audit an existing SKILL.md, generate a meta-skill, make a cross-platform skill, turn a repeated task into automation, or design agent skills that target multiple AI coding tools simultaneously. Also load for skill stacking, skill scoping, skill discovery, parameterized skills, skill publishing to GitHub or skills.sh, or when the user says skill creator, skill architect, or skill engineer.
tools
Identify the right tool for a process step. Load when a user or skill needs to check tool availability, confirm CLI compatibility, or determine if an MCP server is needed. Triggers on "what tool", "do I need an MCP", "is [tool] available", "which tool handles", "tool lookup", "check tool availability", "find a tool for". Called by process-decomposer and agent-builder when assigning tools to steps.
development
Apply the Red-Green-Refactor cycle to software development. Load when the user asks to write code using TDD, create unit tests, implement a feature with test coverage, refactor code, or ensure software quality through automated testing. Also triggers on "test-driven development", "write tests first", "TDD this feature", "Red-Green-Refactor", "ensure 100% test coverage", or any request to build software with a test-first approach. Supports unit, integration, and end-to-end testing strategies.