@ckelsoe/prompt-architect 3.0.2 → 3.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/CHANGELOG.md +264 -264
- package/LICENSE +21 -21
- package/README.md +1064 -1184
- package/adapters/README.md +75 -267
- package/adapters/for-windsurf.md +136 -136
- package/adapters/system-prompt.md +243 -243
- package/package.json +139 -138
- package/scripts/build-skill.js +64 -0
- package/scripts/install.js +4 -54
- package/scripts/test.js +205 -213
- package/scripts/validate-skill.js +350 -350
- package/skills/prompt-architect/SKILL.md +331 -331
- package/skills/prompt-architect/assets/templates/ape_template.txt +5 -5
- package/skills/prompt-architect/assets/templates/bab_template.txt +15 -15
- package/skills/prompt-architect/assets/templates/broke_template.txt +15 -15
- package/skills/prompt-architect/assets/templates/cai-critique-revise_template.txt +18 -18
- package/skills/prompt-architect/assets/templates/care_template.txt +16 -16
- package/skills/prompt-architect/assets/templates/chain-of-density_template.txt +46 -46
- package/skills/prompt-architect/assets/templates/chain-of-thought_template.txt +49 -49
- package/skills/prompt-architect/assets/templates/co-star_template.txt +17 -17
- package/skills/prompt-architect/assets/templates/crispe_template.txt +14 -14
- package/skills/prompt-architect/assets/templates/ctf_template.txt +15 -15
- package/skills/prompt-architect/assets/templates/devils-advocate_template.txt +25 -25
- package/skills/prompt-architect/assets/templates/hybrid_template.txt +101 -101
- package/skills/prompt-architect/assets/templates/least-to-most_template.txt +16 -16
- package/skills/prompt-architect/assets/templates/plan-and-solve_template.txt +7 -7
- package/skills/prompt-architect/assets/templates/pre-mortem_template.txt +27 -27
- package/skills/prompt-architect/assets/templates/race_template.txt +19 -19
- package/skills/prompt-architect/assets/templates/rcot_template.txt +31 -31
- package/skills/prompt-architect/assets/templates/react_template.txt +27 -27
- package/skills/prompt-architect/assets/templates/reverse-role_template.txt +11 -11
- package/skills/prompt-architect/assets/templates/rise-ie_template.txt +23 -23
- package/skills/prompt-architect/assets/templates/rise-ix_template.txt +28 -28
- package/skills/prompt-architect/assets/templates/risen_template.txt +21 -21
- package/skills/prompt-architect/assets/templates/rpef_template.txt +26 -26
- package/skills/prompt-architect/assets/templates/rtf_template.txt +13 -13
- package/skills/prompt-architect/assets/templates/self-refine_template.txt +16 -16
- package/skills/prompt-architect/assets/templates/skeleton-of-thought_template.txt +15 -15
- package/skills/prompt-architect/assets/templates/step-back_template.txt +10 -10
- package/skills/prompt-architect/assets/templates/tidd-ec_template.txt +45 -45
- package/skills/prompt-architect/assets/templates/tree-of-thought_template.txt +30 -30
- package/skills/prompt-architect/references/frameworks/ape.md +200 -200
- package/skills/prompt-architect/references/frameworks/bab.md +242 -242
- package/skills/prompt-architect/references/frameworks/broke.md +242 -242
- package/skills/prompt-architect/references/frameworks/cai-critique-revise.md +230 -230
- package/skills/prompt-architect/references/frameworks/care.md +235 -235
- package/skills/prompt-architect/references/frameworks/chain-of-density.md +479 -479
- package/skills/prompt-architect/references/frameworks/chain-of-thought.md +424 -424
- package/skills/prompt-architect/references/frameworks/co-star.md +256 -256
- package/skills/prompt-architect/references/frameworks/crispe.md +253 -253
- package/skills/prompt-architect/references/frameworks/ctf.md +207 -207
- package/skills/prompt-architect/references/frameworks/devils-advocate.md +206 -206
- package/skills/prompt-architect/references/frameworks/least-to-most.md +226 -226
- package/skills/prompt-architect/references/frameworks/plan-and-solve.md +210 -210
- package/skills/prompt-architect/references/frameworks/pre-mortem.md +197 -197
- package/skills/prompt-architect/references/frameworks/race.md +243 -243
- package/skills/prompt-architect/references/frameworks/rcot.md +203 -203
- package/skills/prompt-architect/references/frameworks/react.md +304 -304
- package/skills/prompt-architect/references/frameworks/reverse-role.md +189 -189
- package/skills/prompt-architect/references/frameworks/rise.md +555 -555
- package/skills/prompt-architect/references/frameworks/risen.md +297 -297
- package/skills/prompt-architect/references/frameworks/rpef.md +195 -195
- package/skills/prompt-architect/references/frameworks/rtf.md +358 -358
- package/skills/prompt-architect/references/frameworks/self-refine.md +205 -205
- package/skills/prompt-architect/references/frameworks/skeleton-of-thought.md +186 -186
- package/skills/prompt-architect/references/frameworks/step-back.md +206 -206
- package/skills/prompt-architect/references/frameworks/tidd-ec.md +470 -470
- package/skills/prompt-architect/references/frameworks/tree-of-thought.md +260 -260
- package/skills/prompt-architect/scripts/framework_analyzer.py +807 -807
- package/skills/prompt-architect/scripts/prompt_evaluator.py +336 -336
- package/adapters/for-cursor.mdc +0 -138
- package/adapters/for-gemini-cli.md +0 -70
- package/adapters/for-github-copilot.md +0 -141
- package/adapters/for-openai-codex-cli.md +0 -158
|
@@ -1,197 +1,197 @@
|
|
|
1
|
-
# Pre-Mortem Prompting
|
|
2
|
-
|
|
3
|
-
## Overview
|
|
4
|
-
|
|
5
|
-
Pre-Mortem Prompting adapts Gary Klein's prospective hindsight technique to AI prompting. Instead of asking "what could go wrong?" (which triggers optimism bias and produces vague risks), it instructs the AI to *assume* the project or decision has already failed catastrophically — then work backwards to identify the specific reasons why. This committed-failure frame consistently produces more specific, actionable failure identification than forward risk analysis.
|
|
6
|
-
|
|
7
|
-
**Research basis:** Gary Klein's prospective hindsight research (Cognitive Systems Engineering; Brookings Institution). Studies show ~30% improvement in correct identification of failure causes compared to standard forward risk analysis. Application to LLM prompting is practitioner-level (no dedicated AI paper), but the cognitive mechanism is well-established.
|
|
8
|
-
|
|
9
|
-
## Why Assumed Failure Outperforms Forward Risk Analysis
|
|
10
|
-
|
|
11
|
-
Forward risk: *"What could go wrong?"* → Produces vague, hedged answers ("there might be delays", "adoption could be low")
|
|
12
|
-
|
|
13
|
-
Pre-mortem: *"This has already failed — why did it fail?"* → Produces specific, committed answers ("the integration with Salesforce took 3x longer than estimated because we didn't account for their API rate limits")
|
|
14
|
-
|
|
15
|
-
The difference: by committing to the failure frame, the model bypasses optimism bias and generates specific causal narratives rather than probabilistic hedges.
|
|
16
|
-
|
|
17
|
-
## Components
|
|
18
|
-
|
|
19
|
-
### Project/Decision Description
|
|
20
|
-
**Purpose:** What is being analyzed. Include enough context for the model to generate specific (not generic) failure causes.
|
|
21
|
-
|
|
22
|
-
### Future Date
|
|
23
|
-
**Purpose:** Set the time horizon. "12 months from now" produces different analysis than "3 months from now." Match to the natural completion window of the project.
|
|
24
|
-
|
|
25
|
-
### Failure Framing
|
|
26
|
-
**Purpose:** The core assumption: this has failed. Not "might fail" — has failed. The framing is everything.
|
|
27
|
-
|
|
28
|
-
**Standard framing:** *"It is [future date] and [project/decision] has completely and catastrophically failed."*
|
|
29
|
-
|
|
30
|
-
### Domain Analysis
|
|
31
|
-
**Purpose:** The specific dimensions to analyze for failure causes. More dimensions = more comprehensive coverage.
|
|
32
|
-
|
|
33
|
-
**Standard domains:**
|
|
34
|
-
- Technical / product
|
|
35
|
-
- People / team / organizational
|
|
36
|
-
- Market / customers / adoption
|
|
37
|
-
- Financial / resource
|
|
38
|
-
- External / dependencies
|
|
39
|
-
- Timeline / scope
|
|
40
|
-
|
|
41
|
-
### Warning Signs
|
|
42
|
-
**Purpose:** For each failure cause, identify the earliest observable warning sign. This is what makes pre-mortem actionable — not just "this could fail" but "this is what we'd see 30 days before it fails."
|
|
43
|
-
|
|
44
|
-
### Mitigation Pass (optional)
|
|
45
|
-
**Purpose:** A second pass ranking the failure causes by likelihood × preventability and suggesting pre-emptive actions.
|
|
46
|
-
|
|
47
|
-
## Template Structure
|
|
48
|
-
|
|
49
|
-
```
|
|
50
|
-
PRE-MORTEM ANALYSIS
|
|
51
|
-
|
|
52
|
-
PROJECT/DECISION:
|
|
53
|
-
[Describe the project, plan, or decision being analyzed]
|
|
54
|
-
|
|
55
|
-
FAILURE ASSUMPTION:
|
|
56
|
-
It is [DATE — e.g., 12 months from now] and [project/decision] has
|
|
57
|
-
completely and catastrophically failed. It did not achieve [primary goal].
|
|
58
|
-
|
|
59
|
-
FAILURE ANALYSIS:
|
|
60
|
-
Describe the failure in 2-3 sentences from the perspective of someone
|
|
61
|
-
looking back on it.
|
|
62
|
-
|
|
63
|
-
Then identify [8-12] specific reasons this failed. For each reason:
|
|
64
|
-
- CAUSE: [What specifically went wrong — be specific, not generic]
|
|
65
|
-
- DOMAIN: [Technical / People / Market / Financial / External / Timeline]
|
|
66
|
-
- WARNING SIGN: [What was the earliest observable indicator this was happening?]
|
|
67
|
-
|
|
68
|
-
PRIORITY:
|
|
69
|
-
After listing all causes, identify:
|
|
70
|
-
1. The 3 most likely failure causes (given our specific situation)
|
|
71
|
-
2. The 3 most preventable failure causes (where action now would help most)
|
|
72
|
-
3. Any single point of failure that could kill the project alone
|
|
73
|
-
```
|
|
74
|
-
|
|
75
|
-
## Complete Examples
|
|
76
|
-
|
|
77
|
-
### Example 1: Product Launch
|
|
78
|
-
|
|
79
|
-
```
|
|
80
|
-
PROJECT:
|
|
81
|
-
We are launching a new B2B project management tool for engineering teams
|
|
82
|
-
in Q3. Our team is 4 engineers, 1 designer, and 1 PM. We have 3 design
|
|
83
|
-
partners signed up for beta. Target: 50 paying customers by end of Q4.
|
|
84
|
-
|
|
85
|
-
FAILURE ASSUMPTION:
|
|
86
|
-
It is December 31st and we have failed to reach 50 paying customers.
|
|
87
|
-
The product launched in October with 8 beta customers but growth stalled.
|
|
88
|
-
|
|
89
|
-
FAILURE ANALYSIS:
|
|
90
|
-
Describe how this played out. Then identify 10 specific failure causes
|
|
91
|
-
with domain, and earliest warning sign for each.
|
|
92
|
-
|
|
93
|
-
PRIORITY:
|
|
94
|
-
Rank by likelihood. Flag any single points of failure.
|
|
95
|
-
```
|
|
96
|
-
|
|
97
|
-
### Example 2: Organizational Change
|
|
98
|
-
|
|
99
|
-
```
|
|
100
|
-
PROJECT:
|
|
101
|
-
We are implementing a company-wide shift to OKRs across a 200-person
|
|
102
|
-
organization. Executive sponsorship is in place. We're starting with
|
|
103
|
-
a 2-day offsite to train team leads, then cascading to individual
|
|
104
|
-
contributors over the following 6 weeks.
|
|
105
|
-
|
|
106
|
-
FAILURE ASSUMPTION:
|
|
107
|
-
It is 6 months from now and the OKR implementation has failed.
|
|
108
|
-
Most teams have abandoned OKRs and reverted to old goal-setting methods.
|
|
109
|
-
|
|
110
|
-
FAILURE ANALYSIS:
|
|
111
|
-
10 specific reasons the rollout failed. Include: leadership domain,
|
|
112
|
-
middle management domain, cultural domain, process domain, and tooling.
|
|
113
|
-
For each: earliest warning sign.
|
|
114
|
-
|
|
115
|
-
PRIORITY:
|
|
116
|
-
The 3 most likely. The most preventable. Any single point of failure.
|
|
117
|
-
```
|
|
118
|
-
|
|
119
|
-
### Example 3: Technical Decision
|
|
120
|
-
|
|
121
|
-
```
|
|
122
|
-
PROJECT:
|
|
123
|
-
We are migrating our primary database from MySQL to PostgreSQL. Timeline:
|
|
124
|
-
3 months. Team: 2 senior engineers part-time. We're running 2M daily
|
|
125
|
-
active users with a 99.9% uptime SLA.
|
|
126
|
-
|
|
127
|
-
FAILURE ASSUMPTION:
|
|
128
|
-
It is 4 months from now and the migration has failed. We experienced
|
|
129
|
-
significant downtime, data integrity issues, or were forced to roll back.
|
|
130
|
-
|
|
131
|
-
FAILURE ANALYSIS:
|
|
132
|
-
10 specific technical and organizational failure causes.
|
|
133
|
-
Cover: migration strategy, testing gaps, rollback planning,
|
|
134
|
-
team knowledge gaps, operational issues, and unforeseen dependencies.
|
|
135
|
-
For each: earliest warning sign.
|
|
136
|
-
|
|
137
|
-
PRIORITY:
|
|
138
|
-
The 3 most likely. The most preventable. Any single point of failure
|
|
139
|
-
that could cause a full rollback or data loss.
|
|
140
|
-
```
|
|
141
|
-
|
|
142
|
-
## Best Use Cases
|
|
143
|
-
|
|
144
|
-
1. **Pre-Launch Risk Assessment**
|
|
145
|
-
- Product launches
|
|
146
|
-
- Marketing campaigns
|
|
147
|
-
- Feature releases
|
|
148
|
-
|
|
149
|
-
2. **Organizational Initiatives**
|
|
150
|
-
- Process changes, reorgs, new methodologies
|
|
151
|
-
- Cultural initiatives
|
|
152
|
-
|
|
153
|
-
3. **Technical Decisions**
|
|
154
|
-
- Migrations, rewrites, architecture changes
|
|
155
|
-
- High-risk deployments
|
|
156
|
-
|
|
157
|
-
4. **Investment and Strategic Decisions**
|
|
158
|
-
- New market entry
|
|
159
|
-
- Major hires or partnerships
|
|
160
|
-
- Significant capital allocation
|
|
161
|
-
|
|
162
|
-
5. **Any High-Stakes, Hard-to-Reverse Decision**
|
|
163
|
-
|
|
164
|
-
## Selection Criteria
|
|
165
|
-
|
|
166
|
-
**Choose Pre-Mortem when:**
|
|
167
|
-
- ✅ You're about to commit to something with significant stakes
|
|
168
|
-
- ✅ You want specific failure causes, not generic risks
|
|
169
|
-
- ✅ Optimism bias is a risk (you're attached to this plan)
|
|
170
|
-
- ✅ You want to surface the "what were we thinking?" failure modes
|
|
171
|
-
|
|
172
|
-
**Avoid when:**
|
|
173
|
-
- ❌ You want to attack the reasoning of a current position → use Devil's Advocate
|
|
174
|
-
- ❌ You want iterative output improvement → use Self-Refine
|
|
175
|
-
- ❌ The decision is already made and irreversible (too late for pre-mortem)
|
|
176
|
-
|
|
177
|
-
## Pre-Mortem vs. Devil's Advocate
|
|
178
|
-
|
|
179
|
-
| | Pre-Mortem | Devil's Advocate |
|
|
180
|
-
|---|---|---|
|
|
181
|
-
| Frame | "This has already failed" (committed) | "Here's why this is wrong" (oppositional) |
|
|
182
|
-
| Output | Specific failure causes + warning signs | Strongest opposing argument |
|
|
183
|
-
| Best for | Risk identification + mitigation | Testing reasoning + debiasing |
|
|
184
|
-
| Bias bypass | Optimism bias | Confirmation bias / groupthink |
|
|
185
|
-
|
|
186
|
-
**Combined use:** Run Devil's Advocate first (attack the reasoning), then Pre-Mortem (assume failure and find causes). They complement each other for high-stakes decisions.
|
|
187
|
-
|
|
188
|
-
## Quick Reference
|
|
189
|
-
|
|
190
|
-
| Component | Purpose |
|
|
191
|
-
|-----------|---------|
|
|
192
|
-
| Project Description | What's being analyzed |
|
|
193
|
-
| Future Date | Time horizon |
|
|
194
|
-
| Failure Framing | "Has already failed" (committed, not probabilistic) |
|
|
195
|
-
| Domain Analysis | Dimensions to cover |
|
|
196
|
-
| Warning Signs | Earliest observable indicators |
|
|
197
|
-
| Priority Pass | Most likely + most preventable + single points of failure |
|
|
1
|
+
# Pre-Mortem Prompting
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
Pre-Mortem Prompting adapts Gary Klein's prospective hindsight technique to AI prompting. Instead of asking "what could go wrong?" (which triggers optimism bias and produces vague risks), it instructs the AI to *assume* the project or decision has already failed catastrophically — then work backwards to identify the specific reasons why. This committed-failure frame consistently produces more specific, actionable failure identification than forward risk analysis.
|
|
6
|
+
|
|
7
|
+
**Research basis:** Gary Klein's prospective hindsight research (Cognitive Systems Engineering; Brookings Institution). Studies show ~30% improvement in correct identification of failure causes compared to standard forward risk analysis. Application to LLM prompting is practitioner-level (no dedicated AI paper), but the cognitive mechanism is well-established.
|
|
8
|
+
|
|
9
|
+
## Why Assumed Failure Outperforms Forward Risk Analysis
|
|
10
|
+
|
|
11
|
+
Forward risk: *"What could go wrong?"* → Produces vague, hedged answers ("there might be delays", "adoption could be low")
|
|
12
|
+
|
|
13
|
+
Pre-mortem: *"This has already failed — why did it fail?"* → Produces specific, committed answers ("the integration with Salesforce took 3x longer than estimated because we didn't account for their API rate limits")
|
|
14
|
+
|
|
15
|
+
The difference: by committing to the failure frame, the model bypasses optimism bias and generates specific causal narratives rather than probabilistic hedges.
|
|
16
|
+
|
|
17
|
+
## Components
|
|
18
|
+
|
|
19
|
+
### Project/Decision Description
|
|
20
|
+
**Purpose:** What is being analyzed. Include enough context for the model to generate specific (not generic) failure causes.
|
|
21
|
+
|
|
22
|
+
### Future Date
|
|
23
|
+
**Purpose:** Set the time horizon. "12 months from now" produces different analysis than "3 months from now." Match to the natural completion window of the project.
|
|
24
|
+
|
|
25
|
+
### Failure Framing
|
|
26
|
+
**Purpose:** The core assumption: this has failed. Not "might fail" — has failed. The framing is everything.
|
|
27
|
+
|
|
28
|
+
**Standard framing:** *"It is [future date] and [project/decision] has completely and catastrophically failed."*
|
|
29
|
+
|
|
30
|
+
### Domain Analysis
|
|
31
|
+
**Purpose:** The specific dimensions to analyze for failure causes. More dimensions = more comprehensive coverage.
|
|
32
|
+
|
|
33
|
+
**Standard domains:**
|
|
34
|
+
- Technical / product
|
|
35
|
+
- People / team / organizational
|
|
36
|
+
- Market / customers / adoption
|
|
37
|
+
- Financial / resource
|
|
38
|
+
- External / dependencies
|
|
39
|
+
- Timeline / scope
|
|
40
|
+
|
|
41
|
+
### Warning Signs
|
|
42
|
+
**Purpose:** For each failure cause, identify the earliest observable warning sign. This is what makes pre-mortem actionable — not just "this could fail" but "this is what we'd see 30 days before it fails."
|
|
43
|
+
|
|
44
|
+
### Mitigation Pass (optional)
|
|
45
|
+
**Purpose:** A second pass ranking the failure causes by likelihood × preventability and suggesting pre-emptive actions.
|
|
46
|
+
|
|
47
|
+
## Template Structure
|
|
48
|
+
|
|
49
|
+
```
|
|
50
|
+
PRE-MORTEM ANALYSIS
|
|
51
|
+
|
|
52
|
+
PROJECT/DECISION:
|
|
53
|
+
[Describe the project, plan, or decision being analyzed]
|
|
54
|
+
|
|
55
|
+
FAILURE ASSUMPTION:
|
|
56
|
+
It is [DATE — e.g., 12 months from now] and [project/decision] has
|
|
57
|
+
completely and catastrophically failed. It did not achieve [primary goal].
|
|
58
|
+
|
|
59
|
+
FAILURE ANALYSIS:
|
|
60
|
+
Describe the failure in 2-3 sentences from the perspective of someone
|
|
61
|
+
looking back on it.
|
|
62
|
+
|
|
63
|
+
Then identify [8-12] specific reasons this failed. For each reason:
|
|
64
|
+
- CAUSE: [What specifically went wrong — be specific, not generic]
|
|
65
|
+
- DOMAIN: [Technical / People / Market / Financial / External / Timeline]
|
|
66
|
+
- WARNING SIGN: [What was the earliest observable indicator this was happening?]
|
|
67
|
+
|
|
68
|
+
PRIORITY:
|
|
69
|
+
After listing all causes, identify:
|
|
70
|
+
1. The 3 most likely failure causes (given our specific situation)
|
|
71
|
+
2. The 3 most preventable failure causes (where action now would help most)
|
|
72
|
+
3. Any single point of failure that could kill the project alone
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
## Complete Examples
|
|
76
|
+
|
|
77
|
+
### Example 1: Product Launch
|
|
78
|
+
|
|
79
|
+
```
|
|
80
|
+
PROJECT:
|
|
81
|
+
We are launching a new B2B project management tool for engineering teams
|
|
82
|
+
in Q3. Our team is 4 engineers, 1 designer, and 1 PM. We have 3 design
|
|
83
|
+
partners signed up for beta. Target: 50 paying customers by end of Q4.
|
|
84
|
+
|
|
85
|
+
FAILURE ASSUMPTION:
|
|
86
|
+
It is December 31st and we have failed to reach 50 paying customers.
|
|
87
|
+
The product launched in October with 8 beta customers but growth stalled.
|
|
88
|
+
|
|
89
|
+
FAILURE ANALYSIS:
|
|
90
|
+
Describe how this played out. Then identify 10 specific failure causes
|
|
91
|
+
with domain, and earliest warning sign for each.
|
|
92
|
+
|
|
93
|
+
PRIORITY:
|
|
94
|
+
Rank by likelihood. Flag any single points of failure.
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
### Example 2: Organizational Change
|
|
98
|
+
|
|
99
|
+
```
|
|
100
|
+
PROJECT:
|
|
101
|
+
We are implementing a company-wide shift to OKRs across a 200-person
|
|
102
|
+
organization. Executive sponsorship is in place. We're starting with
|
|
103
|
+
a 2-day offsite to train team leads, then cascading to individual
|
|
104
|
+
contributors over the following 6 weeks.
|
|
105
|
+
|
|
106
|
+
FAILURE ASSUMPTION:
|
|
107
|
+
It is 6 months from now and the OKR implementation has failed.
|
|
108
|
+
Most teams have abandoned OKRs and reverted to old goal-setting methods.
|
|
109
|
+
|
|
110
|
+
FAILURE ANALYSIS:
|
|
111
|
+
10 specific reasons the rollout failed. Include: leadership domain,
|
|
112
|
+
middle management domain, cultural domain, process domain, and tooling.
|
|
113
|
+
For each: earliest warning sign.
|
|
114
|
+
|
|
115
|
+
PRIORITY:
|
|
116
|
+
The 3 most likely. The most preventable. Any single point of failure.
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
### Example 3: Technical Decision
|
|
120
|
+
|
|
121
|
+
```
|
|
122
|
+
PROJECT:
|
|
123
|
+
We are migrating our primary database from MySQL to PostgreSQL. Timeline:
|
|
124
|
+
3 months. Team: 2 senior engineers part-time. We're running 2M daily
|
|
125
|
+
active users with a 99.9% uptime SLA.
|
|
126
|
+
|
|
127
|
+
FAILURE ASSUMPTION:
|
|
128
|
+
It is 4 months from now and the migration has failed. We experienced
|
|
129
|
+
significant downtime, data integrity issues, or were forced to roll back.
|
|
130
|
+
|
|
131
|
+
FAILURE ANALYSIS:
|
|
132
|
+
10 specific technical and organizational failure causes.
|
|
133
|
+
Cover: migration strategy, testing gaps, rollback planning,
|
|
134
|
+
team knowledge gaps, operational issues, and unforeseen dependencies.
|
|
135
|
+
For each: earliest warning sign.
|
|
136
|
+
|
|
137
|
+
PRIORITY:
|
|
138
|
+
The 3 most likely. The most preventable. Any single point of failure
|
|
139
|
+
that could cause a full rollback or data loss.
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
## Best Use Cases
|
|
143
|
+
|
|
144
|
+
1. **Pre-Launch Risk Assessment**
|
|
145
|
+
- Product launches
|
|
146
|
+
- Marketing campaigns
|
|
147
|
+
- Feature releases
|
|
148
|
+
|
|
149
|
+
2. **Organizational Initiatives**
|
|
150
|
+
- Process changes, reorgs, new methodologies
|
|
151
|
+
- Cultural initiatives
|
|
152
|
+
|
|
153
|
+
3. **Technical Decisions**
|
|
154
|
+
- Migrations, rewrites, architecture changes
|
|
155
|
+
- High-risk deployments
|
|
156
|
+
|
|
157
|
+
4. **Investment and Strategic Decisions**
|
|
158
|
+
- New market entry
|
|
159
|
+
- Major hires or partnerships
|
|
160
|
+
- Significant capital allocation
|
|
161
|
+
|
|
162
|
+
5. **Any High-Stakes, Hard-to-Reverse Decision**
|
|
163
|
+
|
|
164
|
+
## Selection Criteria
|
|
165
|
+
|
|
166
|
+
**Choose Pre-Mortem when:**
|
|
167
|
+
- ✅ You're about to commit to something with significant stakes
|
|
168
|
+
- ✅ You want specific failure causes, not generic risks
|
|
169
|
+
- ✅ Optimism bias is a risk (you're attached to this plan)
|
|
170
|
+
- ✅ You want to surface the "what were we thinking?" failure modes
|
|
171
|
+
|
|
172
|
+
**Avoid when:**
|
|
173
|
+
- ❌ You want to attack the reasoning of a current position → use Devil's Advocate
|
|
174
|
+
- ❌ You want iterative output improvement → use Self-Refine
|
|
175
|
+
- ❌ The decision is already made and irreversible (too late for pre-mortem)
|
|
176
|
+
|
|
177
|
+
## Pre-Mortem vs. Devil's Advocate
|
|
178
|
+
|
|
179
|
+
| | Pre-Mortem | Devil's Advocate |
|
|
180
|
+
|---|---|---|
|
|
181
|
+
| Frame | "This has already failed" (committed) | "Here's why this is wrong" (oppositional) |
|
|
182
|
+
| Output | Specific failure causes + warning signs | Strongest opposing argument |
|
|
183
|
+
| Best for | Risk identification + mitigation | Testing reasoning + debiasing |
|
|
184
|
+
| Bias bypass | Optimism bias | Confirmation bias / groupthink |
|
|
185
|
+
|
|
186
|
+
**Combined use:** Run Devil's Advocate first (attack the reasoning), then Pre-Mortem (assume failure and find causes). They complement each other for high-stakes decisions.
|
|
187
|
+
|
|
188
|
+
## Quick Reference
|
|
189
|
+
|
|
190
|
+
| Component | Purpose |
|
|
191
|
+
|-----------|---------|
|
|
192
|
+
| Project Description | What's being analyzed |
|
|
193
|
+
| Future Date | Time horizon |
|
|
194
|
+
| Failure Framing | "Has already failed" (committed, not probabilistic) |
|
|
195
|
+
| Domain Analysis | Dimensions to cover |
|
|
196
|
+
| Warning Signs | Earliest observable indicators |
|
|
197
|
+
| Priority Pass | Most likely + most preventable + single points of failure |
|