pre-mortem
Frame the project as already failed and list the most plausible reasons why, so they can be mitigated before launch; not adversarial critique (red-team).
- License 许可
- MIT
- 最近更新
- 2026-10-29
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- pre-mortem
- description
- Frame the project as already failed and list the most plausible reasons why, so they can be mitigated before launch; not adversarial critique (red-team).
02 资源文件 1
- 参考文档routing.yaml318 B
03 SKILL.md 正文
pre-mortem
Inverse postmortem. Imagine the future failure; list why; mitigate.
Mode: generative — diverge before converging. Produce genuinely different options first (the obvious answer is one candidate, not the answer), then narrow with stated criteria.
When to use
- Before committing to a non-trivial plan (Gary Klein's "prospective hindsight").
- A workflow includes a planning step and the user wants risk uncovering before implementation.
Inputs
- The plan or PRD under review (required). None given: ask for it.
- Optionally: a timeline (default: the plan's own launch date + 30 days).
Procedure
- Say "It is now <timeline> and the project failed."
- Generate 6–10 specific failure stories — each a plausible narrative of how it went wrong, not a risk category. Imagine them before judging them. Range across:
- Technical (it didn't scale, the migration broke prod, the dependency was abandoned).
- Organizational (the team owner left, priorities shifted, blocked on another team).
- User (no adoption, hostile feedback, used it in an unintended way).
- Operational (alert fatigue, runbook never updated, on-call missed it).
- For each, rate likelihood and impact as L / M / H, with a one-line reason drawn from the plan.
- Pick the top 3 mechanically: score L=1, M=2, H=3; rank by likelihood × impact, ties broken by higher impact, then by list order. Propose a concrete mitigation for each, and the earliest signal that it is happening.
Output
Pre-mortem: <plan>
Failure modes:
1. Technical: … (likelihood: M, impact: H)
2. Organizational: … (likelihood: L, impact: H)
…
Top 3 (likelihood × impact, ties → impact):
- <failure mode> (M×H = 6): mitigation: … · early signal: …
- <failure mode> (H×M = 6): mitigation: … · early signal: …
- <failure mode> (L×H = 3): mitigation: … · early signal: …
Quality bar
- Specific failure modes — "scaling problems" is not specific; "the rate-limiter store grows linearly per IP" is.
- At least one failure mode in each of the four ranges above.
- Mitigations are concrete (a code change, a guardrail, a deferred decision), not "be more careful".
04 同仓库更多 Skills
runbook
Write or refresh an operational runbook for an alert/symptom; structured as TL;DR + Pre-checks + Steps + Verification + Rollback + Escalation.
rfc
Draft a lightweight design RFC to docs/rfcs/<slug>.md; Summary, Motivation, Detailed design, Drawbacks, Alternatives, Unresolved questions. A proposal to debate, not a recorded decision (adr).
editorial-pass
Review and tighten prose in a Markdown artifact for a target tone (terse, formal, friendly) without dropping information; preserve quotations and load-bearing constraints.
architecture-review-facilitation
Run an architecture review as a process — entry criteria, reviewer checklist, decision log, and follow-up actions — pairing the design artifact with a red-team pass.
architecture-doc
Write a C4-style architecture document; System Context + Containers (+ Components when interesting) with mermaid diagrams. Describes structure, not a decision (adr) or proposal (rfc).
adr
Write an Architecture Decision Record (Michael Nygard format) to docs/adrs/NNNN-<slug>.md; frontmatter validated by the ADR artifact schema. Records a made decision, not a proposal to debate (rfc).