Skip to main content

premortem-code

星标3
分支1
更新时间2026年7月25日 14:32

Conducts an adversarial pre-mortem on a proposed code change: assumes it has already failed in production and enumerates the concrete, location-pinned ways it breaks (concurrency, data integrity, partial rollout, contract/type drift, migrations), drops false positives via a verification protocol, and issues a GO/REFINE/REWORK/ABANDON verdict with optional SARIF export. Use this whenever the user is about to merge, ship, deploy, or release a PR, branch, or diff; asks "what could go wrong", "is this safe for production", "review the risks before merging", "premortem", or "pre-mortem"; or wants a risk assessment of code before it goes live, even when they do not say "premortem". It also pre-mortems a plan or spec before execution. Stack-aware for Python/FastAPI, Postgres, Supabase, Redis/ARQ, Qdrant, agents/MCP, Docker/Kubernetes, Vercel, frontend, n8n, Playwright, AWS CDK, fine-tuning, and Anthropic skills. Skip for typo/lint/formatting-only or pure-revert changes.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly