@ckelsoe/prompt-architect 3.3.1 → 3.4.0
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 +19 -0
- package/adapters/system-prompt.md +77 -51
- package/package.json +2 -2
- package/scripts/test.js +26 -0
- package/skills/prompt-architect/SKILL.md +49 -36
- package/skills/prompt-architect/assets/templates/ape_template.txt +14 -3
- package/skills/prompt-architect/assets/templates/bab_template.txt +23 -10
- package/skills/prompt-architect/assets/templates/broke_template.txt +31 -6
- package/skills/prompt-architect/assets/templates/cai-critique-revise_template.txt +16 -8
- package/skills/prompt-architect/assets/templates/care_template.txt +4 -0
- package/skills/prompt-architect/assets/templates/chain-of-density_template.txt +30 -31
- package/skills/prompt-architect/assets/templates/chain-of-thought_template.txt +8 -0
- package/skills/prompt-architect/assets/templates/co-star_template.txt +8 -0
- package/skills/prompt-architect/assets/templates/crispe_template.txt +6 -0
- package/skills/prompt-architect/assets/templates/ctf_template.txt +8 -0
- package/skills/prompt-architect/assets/templates/devils-advocate_template.txt +7 -0
- package/skills/prompt-architect/assets/templates/hybrid_template.txt +44 -24
- package/skills/prompt-architect/assets/templates/iterative-compression_template.txt +43 -28
- package/skills/prompt-architect/assets/templates/least-to-most_template.txt +4 -0
- package/skills/prompt-architect/assets/templates/plan-and-solve_template.txt +4 -0
- package/skills/prompt-architect/assets/templates/pre-mortem_template.txt +24 -14
- package/skills/prompt-architect/assets/templates/race_template.txt +9 -0
- package/skills/prompt-architect/assets/templates/rcot_template.txt +8 -0
- package/skills/prompt-architect/assets/templates/react_template.txt +38 -16
- package/skills/prompt-architect/assets/templates/rise-ie_template.txt +4 -0
- package/skills/prompt-architect/assets/templates/rise-ix_template.txt +3 -3
- package/skills/prompt-architect/assets/templates/risen_template.txt +7 -0
- package/skills/prompt-architect/assets/templates/rpef_template.txt +16 -11
- package/skills/prompt-architect/assets/templates/rtf_template.txt +9 -0
- package/skills/prompt-architect/assets/templates/skeleton-of-thought_template.txt +18 -10
- package/skills/prompt-architect/assets/templates/step-back_template.txt +4 -0
- package/skills/prompt-architect/assets/templates/tidd-ec_template.txt +54 -31
- package/skills/prompt-architect/assets/templates/tree-of-thought_template.txt +37 -21
- package/skills/prompt-architect/references/frameworks/ape.md +143 -57
- package/skills/prompt-architect/references/frameworks/bab.md +137 -58
- package/skills/prompt-architect/references/frameworks/broke.md +157 -57
- package/skills/prompt-architect/references/frameworks/cai-critique-revise.md +183 -75
- package/skills/prompt-architect/references/frameworks/care.md +67 -36
- package/skills/prompt-architect/references/frameworks/chain-of-density.md +49 -27
- package/skills/prompt-architect/references/frameworks/chain-of-thought.md +28 -7
- package/skills/prompt-architect/references/frameworks/co-star.md +100 -44
- package/skills/prompt-architect/references/frameworks/crispe.md +7 -5
- package/skills/prompt-architect/references/frameworks/ctf.md +73 -37
- package/skills/prompt-architect/references/frameworks/devils-advocate.md +105 -58
- package/skills/prompt-architect/references/frameworks/iterative-compression.md +236 -269
- package/skills/prompt-architect/references/frameworks/least-to-most.md +35 -13
- package/skills/prompt-architect/references/frameworks/plan-and-solve.md +38 -9
- package/skills/prompt-architect/references/frameworks/pre-mortem.md +176 -66
- package/skills/prompt-architect/references/frameworks/race.md +91 -38
- package/skills/prompt-architect/references/frameworks/rcot.md +1 -1
- package/skills/prompt-architect/references/frameworks/react.md +230 -97
- package/skills/prompt-architect/references/frameworks/reverse-role.md +22 -15
- package/skills/prompt-architect/references/frameworks/rise.md +94 -70
- package/skills/prompt-architect/references/frameworks/risen.md +80 -28
- package/skills/prompt-architect/references/frameworks/rpef.md +227 -58
- package/skills/prompt-architect/references/frameworks/rtf.md +2 -2
- package/skills/prompt-architect/references/frameworks/self-refine.md +4 -2
- package/skills/prompt-architect/references/frameworks/skeleton-of-thought.md +67 -21
- package/skills/prompt-architect/references/frameworks/step-back.md +47 -15
- package/skills/prompt-architect/references/frameworks/tidd-ec.md +110 -45
- package/skills/prompt-architect/references/frameworks/tree-of-thought.md +112 -37
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
## Overview
|
|
4
4
|
|
|
5
|
-
CTF is a simple 3-component framework focused on situational context, task clarity, and output format. It is ideal for tasks where background/situation is more important than AI persona framing, and the primary concern is getting a clearly defined output from a well-understood context.
|
|
5
|
+
CTF is a simple 3-component framework focused on situational context, task clarity, and output format. It is ideal for tasks where background/situation is more important than AI persona framing, and the primary concern is getting a clearly defined output from a well-understood context. Section headers are stripped when the prompt is emitted, so a CTF prompt lands as a short flat block — a paragraph of situation, a sentence naming the task, and a format specification — preceded by an optional source-material block whenever the task operates on an artifact that already exists.
|
|
6
6
|
|
|
7
7
|
**Origin:** No single documented originator. CTF appears in the community framework literature as a variant of RTF, with Context substituted for Role, documented alongside it in unattributed practitioner listings from 2024 onward (e.g. fvivas.com, 15 March 2024). No academic treatment; absent from The Prompt Report (arXiv 2406.06608).
|
|
8
8
|
|
|
9
9
|
## Components
|
|
10
10
|
|
|
11
11
|
### C - Context
|
|
12
|
-
**Purpose:** Describe the situation, background, or circumstances surrounding the task.
|
|
12
|
+
**Purpose:** Describe the situation, background, or circumstances surrounding the task. It fills naturally as a self-contained paragraph of situational prose, so it survives header stripping on its own — but keep it descriptive narrative, not a bare label like "legacy code," so the paragraph still reads as a situation once the `CONTEXT` header is gone.
|
|
13
13
|
|
|
14
14
|
**Questions to Ask:**
|
|
15
15
|
- What is the current situation?
|
|
@@ -19,12 +19,12 @@ CTF is a simple 3-component framework focused on situational context, task clari
|
|
|
19
19
|
- What constraints or circumstances apply?
|
|
20
20
|
|
|
21
21
|
**Examples:**
|
|
22
|
-
- "We are mid-sprint and the client has
|
|
23
|
-
- "I
|
|
24
|
-
- "Our team writes internal status reports weekly and we
|
|
22
|
+
- "We are mid-sprint and the client has revised the acceptance criteria in the requirements doc above; the dev team has not been told yet."
|
|
23
|
+
- "I am a junior developer onboarding to the legacy Python module above, which nobody has documented."
|
|
24
|
+
- "Our team writes internal status reports weekly and the format drifts every time, so we want one reusable structure."
|
|
25
25
|
|
|
26
26
|
### T - Task
|
|
27
|
-
**Purpose:** State exactly what needs to be done.
|
|
27
|
+
**Purpose:** State exactly what needs to be done, as one complete imperative sentence. Nothing else in a CTF prompt states the task, so once the `TASK` header is stripped a bare noun phrase ("a summary") leaves the emitted prompt with no instruction in it.
|
|
28
28
|
|
|
29
29
|
**Questions to Ask:**
|
|
30
30
|
- What exactly needs to be done?
|
|
@@ -32,12 +32,12 @@ CTF is a simple 3-component framework focused on situational context, task clari
|
|
|
32
32
|
- What's the core action?
|
|
33
33
|
|
|
34
34
|
**Examples:**
|
|
35
|
-
- "
|
|
36
|
-
- "Explain what
|
|
37
|
-
- "Create a template
|
|
35
|
+
- "Summarize the changed requirements in the doc above for the development team."
|
|
36
|
+
- "Explain in plain language what the function above does."
|
|
37
|
+
- "Create a reusable weekly status report template the team can fill out in under 10 minutes."
|
|
38
38
|
|
|
39
39
|
### F - Format
|
|
40
|
-
**Purpose:** Specify how the output should be structured.
|
|
40
|
+
**Purpose:** Specify how the output should be structured. Phrase it as an instruction about the output rather than a bare descriptor — a fragment like "markdown table" dangles once the `FORMAT` header is deleted, whereas "Provide the output as a markdown table" still reads as a directive.
|
|
41
41
|
|
|
42
42
|
**Questions to Ask:**
|
|
43
43
|
- What format should the output take?
|
|
@@ -46,46 +46,80 @@ CTF is a simple 3-component framework focused on situational context, task clari
|
|
|
46
46
|
- Any specific formatting requirements?
|
|
47
47
|
|
|
48
48
|
**Examples:**
|
|
49
|
-
- "Provide as a markdown table
|
|
50
|
-
- "Format as a bulleted list under three headings
|
|
51
|
-
- "Write as a
|
|
49
|
+
- "Provide the output as a markdown table."
|
|
50
|
+
- "Format the answer as a bulleted list under three headings."
|
|
51
|
+
- "Write the answer as a single paragraph of 100 words or fewer."
|
|
52
52
|
|
|
53
53
|
## Template Structure
|
|
54
54
|
|
|
55
|
+
Section headers are stripped at emission, so every slot's meaning is carried by the prose
|
|
56
|
+
around and inside it rather than by the header above it. Context is a self-contained
|
|
57
|
+
paragraph and survives on its own; Task must be a complete imperative sentence, and Format
|
|
58
|
+
must be phrased as an instruction about the output, because neither has a header to lean on
|
|
59
|
+
once emitted.
|
|
60
|
+
|
|
55
61
|
```
|
|
62
|
+
SOURCE MATERIAL:
|
|
63
|
+
[Optional — include only if this task operates on material you already have. Paste the
|
|
64
|
+
specific artifact here and name it in this line, e.g. "Paste the legacy authentication
|
|
65
|
+
function here", "Paste the revised requirements doc here" — the artifact itself, not a
|
|
66
|
+
description of it. If this task generates from scratch, delete this bracketed block along
|
|
67
|
+
with the sentence directly below it.]
|
|
68
|
+
Use the material above as the basis for the task described below.
|
|
69
|
+
|
|
56
70
|
CONTEXT:
|
|
57
|
-
[
|
|
71
|
+
[Describe the situation, background, or circumstances surrounding this task.
|
|
72
|
+
Include relevant details like: current state, constraints, what's already been done,
|
|
73
|
+
why this is needed, and any important background the AI should know.]
|
|
58
74
|
|
|
59
75
|
TASK:
|
|
60
|
-
[
|
|
76
|
+
[State clearly and specifically what needs to be done. Be explicit about the deliverable.]
|
|
61
77
|
|
|
62
78
|
FORMAT:
|
|
63
|
-
[
|
|
79
|
+
[Specify exactly how the output should be structured:
|
|
80
|
+
- Overall format (document, code, list, table, etc.)
|
|
81
|
+
- Required sections or components
|
|
82
|
+
- Length constraints
|
|
83
|
+
- Style requirements
|
|
84
|
+
- Any specific formatting rules]
|
|
64
85
|
```
|
|
65
86
|
|
|
87
|
+
`SOURCE MATERIAL` is a fourth block in a three-letter acronym, and it carries no letter
|
|
88
|
+
because it is optional. CTF is often pointed at something that already exists — a legacy
|
|
89
|
+
function, a revised requirements doc, a draft — and that artifact is pasted here and
|
|
90
|
+
referred to as "the … above" from inside the Task. Delete the block and the sentence
|
|
91
|
+
beneath it whenever the task generates something from scratch.
|
|
92
|
+
|
|
66
93
|
## Complete Examples
|
|
67
94
|
|
|
95
|
+
Every example below is shown in emitted form: each slot carries its own role in prose.
|
|
96
|
+
Read the headers as scaffolding that will be deleted — the examples are written so that
|
|
97
|
+
nothing is lost when it is.
|
|
98
|
+
|
|
68
99
|
### Example 1: Requirement Change Summary
|
|
69
100
|
|
|
70
101
|
**Before CTF:**
|
|
71
102
|
"Summarize the new requirements."
|
|
72
103
|
|
|
73
|
-
**After CTF
|
|
104
|
+
**After CTF** (source material supplied):
|
|
74
105
|
```
|
|
106
|
+
SOURCE MATERIAL:
|
|
107
|
+
[Paste the client's revised login-flow requirements here]
|
|
108
|
+
Use the material above as the basis for the task described below.
|
|
109
|
+
|
|
75
110
|
CONTEXT:
|
|
76
111
|
We are in sprint 3 of a 6-sprint project. The client just revised the login flow
|
|
77
|
-
requirements: they now want SSO via Google instead of
|
|
78
|
-
hasn't been told yet and we need to communicate this
|
|
112
|
+
requirements in the document above: they now want SSO via Google instead of
|
|
113
|
+
email/password. The dev team hasn't been told yet and we need to communicate this
|
|
114
|
+
clearly without causing panic.
|
|
79
115
|
|
|
80
116
|
TASK:
|
|
81
|
-
Write a brief summary of the requirement change to share with the development team
|
|
117
|
+
Write a brief summary of the requirement change above to share with the development team
|
|
82
118
|
in Slack.
|
|
83
119
|
|
|
84
120
|
FORMAT:
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
- End with a single action item
|
|
88
|
-
- Keep total under 150 words
|
|
121
|
+
Format the summary as 3-5 bullet points in plain language with no jargon, ending with a
|
|
122
|
+
single action item, and keep the total under 150 words.
|
|
89
123
|
```
|
|
90
124
|
|
|
91
125
|
### Example 2: Code Explanation
|
|
@@ -93,21 +127,24 @@ FORMAT:
|
|
|
93
127
|
**Before CTF:**
|
|
94
128
|
"Explain this code."
|
|
95
129
|
|
|
96
|
-
**After CTF
|
|
130
|
+
**After CTF** (source material supplied):
|
|
97
131
|
```
|
|
132
|
+
SOURCE MATERIAL:
|
|
133
|
+
[Paste the undocumented legacy authentication function here]
|
|
134
|
+
Use the material above as the basis for the task described below.
|
|
135
|
+
|
|
98
136
|
CONTEXT:
|
|
99
|
-
I'm a junior developer new to this codebase. The function
|
|
137
|
+
I'm a junior developer new to this codebase. The function above is from a legacy
|
|
100
138
|
authentication module that nobody has documented. I need to understand it before
|
|
101
139
|
refactoring it next week.
|
|
102
140
|
|
|
103
141
|
TASK:
|
|
104
|
-
Explain what
|
|
142
|
+
Explain what the function above does, why each section exists, and flag any potential
|
|
105
143
|
issues I should know before touching it.
|
|
106
144
|
|
|
107
145
|
FORMAT:
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
- Potential issues section at the end (bullet points)
|
|
146
|
+
Open with a short plain-language summary of 2-3 sentences, then give a line-by-line
|
|
147
|
+
breakdown as a numbered list, and end with a bulleted "Potential issues" section.
|
|
111
148
|
```
|
|
112
149
|
|
|
113
150
|
### Example 3: Template Creation
|
|
@@ -115,7 +152,8 @@ FORMAT:
|
|
|
115
152
|
**Before CTF:**
|
|
116
153
|
"Create a status report template."
|
|
117
154
|
|
|
118
|
-
**After CTF
|
|
155
|
+
**After CTF** (no source material — the template is designed from scratch, so the
|
|
156
|
+
`SOURCE MATERIAL` block and the sentence below it are both deleted):
|
|
119
157
|
```
|
|
120
158
|
CONTEXT:
|
|
121
159
|
Our team of 6 engineers sends weekly status reports to a non-technical product
|
|
@@ -126,11 +164,9 @@ TASK:
|
|
|
126
164
|
Create a weekly status report template that balances completeness with brevity.
|
|
127
165
|
|
|
128
166
|
FORMAT:
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
- Total estimated fill-in time: under 10 minutes
|
|
133
|
-
- Length when filled: 200-300 words
|
|
167
|
+
Produce a markdown template with section headers, a fill-in placeholder under each header,
|
|
168
|
+
and a brief instruction comment beneath it. Aim for under 10 minutes of fill-in time and a
|
|
169
|
+
filled length of 200-300 words.
|
|
134
170
|
```
|
|
135
171
|
|
|
136
172
|
## Best Use Cases
|
|
@@ -170,7 +206,7 @@ Markdown template with:
|
|
|
170
206
|
- ❌ Audience and tone are critical (use CO-STAR)
|
|
171
207
|
- ❌ Multi-step process with methodology needed (use RISEN)
|
|
172
208
|
- ❌ Explicit dos/don'ts required (use TIDD-EC)
|
|
173
|
-
- ❌ Input→output transformation (use RISE — the Role/Input/Steps/Expectation form)
|
|
209
|
+
- ❌ Input→output transformation (use RISE-IE — the Role/Input/Steps/Expectation form)
|
|
174
210
|
|
|
175
211
|
## CTF vs RTF
|
|
176
212
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## Overview
|
|
4
4
|
|
|
5
|
-
Devil's Advocate Prompting instructs the AI to generate the strongest possible case *against* a position, plan, decision, or idea — not a balanced view, not a straw man, but the most forceful and substantive opposing argument possible. Named after the historical role in Catholic canonization proceedings where someone was appointed specifically to argue against sainthood, it is the framework for deliberately attacking your own thinking to find weaknesses before others do.
|
|
5
|
+
Devil's Advocate Prompting instructs the AI to generate the strongest possible case *against* a position, plan, decision, or idea — not a balanced view, not a straw man, but the most forceful and substantive opposing argument possible. Named after the historical role in Catholic canonization proceedings where someone was appointed specifically to argue against sainthood, it is the framework for deliberately attacking your own thinking to find weaknesses before others do. A complete Devil's Advocate prompt emits as an opening instruction paragraph that establishes the adversarial frame, followed by the position under attack, an optional supporting document, and the attack directives — the section headers are stripped at emission, so each block is written to carry its own meaning in prose rather than lean on the header above it.
|
|
6
6
|
|
|
7
7
|
**Research basis:** "Enhancing AI-Assisted Group Decision Making through LLM-Powered Devil's Advocate" (ACM IUI 2024, peer-reviewed). Key finding: AI devil's advocates arguing against AI recommendations (not just the user's position) produced more appropriate human reliance on AI. Related: Steelman (steelman.dylanamartin.com) implements a four-round structured adversarial argumentation framework.
|
|
8
8
|
|
|
@@ -17,13 +17,16 @@ Devil's Advocate Prompting instructs the AI to generate the strongest possible c
|
|
|
17
17
|
## Components
|
|
18
18
|
|
|
19
19
|
### Position Statement
|
|
20
|
-
**Purpose:** The argument, plan, or decision to attack. State it clearly — the stronger the devil's advocate, the clearer the target must be.
|
|
20
|
+
**Purpose:** The argument, plan, or decision to attack. State it clearly — the stronger the devil's advocate, the clearer the target must be. Write it as complete sentences: the opening instruction promises a case "against the following position," and once the `POSITION TO ATTACK` header is stripped, nothing else names what that position is, so the statement itself has to read as the thing being attacked.
|
|
21
|
+
|
|
22
|
+
### Supporting Material (optional)
|
|
23
|
+
**Purpose:** The proposal, design doc, or strategy memo that sets the position out in full. Supplying it lets the attack engage the position's actual claims and reasoning rather than the model's assumptions about a position of that description. The template's slot is optional and self-deleting: if there is nothing to paste, the bracketed block and the carrier sentence directly below it both come out. That carrier sentence — "Treat the document above as the detailed source of the position's claims, assumptions, and reasoning" — lets the pasted document stay a bare artifact by naming, in prose, what to do with it once its header is gone.
|
|
21
24
|
|
|
22
25
|
### Adversarial Instruction
|
|
23
|
-
**Purpose:** Explicit instruction to be adversarial, not balanced. This is what makes it devil's advocate rather than a pros/cons analysis.
|
|
26
|
+
**Purpose:** Explicit instruction to be adversarial, not balanced. This is what makes it devil's advocate rather than a pros/cons analysis. It ships as a list of standing imperatives, and the prohibition among them — "Do not acknowledge positives or offer a balanced view" — must survive into the emitted prompt as that explicit "Do not…" text. Per SKILL.md step 5, a restriction the user relies on cannot be left to a section header, because headers are stripped at emission; phrased as a standing imperative, the instruction carries with or without its header.
|
|
24
27
|
|
|
25
28
|
### Attack Dimensions
|
|
26
|
-
**Purpose:** The specific dimensions to attack. Without these, critique stays superficial.
|
|
29
|
+
**Purpose:** The specific dimensions to attack. Without these, critique stays superficial. They ship under a "Focus on:" carrier line as an enumerated list, so the dimensions read as directives once `ATTACK DIMENSIONS` is removed rather than as a bare heading over a list of nouns.
|
|
27
30
|
|
|
28
31
|
**Common dimensions:**
|
|
29
32
|
- **Assumptions**: What must be true for this to work? Attack each assumption.
|
|
@@ -34,71 +37,101 @@ Devil's Advocate Prompting instructs the AI to generate the strongest possible c
|
|
|
34
37
|
- **Falsification criteria**: What evidence would prove this wrong?
|
|
35
38
|
|
|
36
39
|
### Severity Ranking (optional)
|
|
37
|
-
**Purpose:** Rank identified weaknesses by how fatal they are. Separates show-stoppers from minor issues.
|
|
40
|
+
**Purpose:** Rank identified weaknesses by how fatal they are. Separates show-stoppers from minor issues. When included it ships as a closing instruction — "After the full attack, list the THREE MOST FATAL flaws…" — phrased as a sequenced directive so the "do this last" ordering survives the header being stripped.
|
|
38
41
|
|
|
39
42
|
## Template Structure
|
|
40
43
|
|
|
44
|
+
Section headers are stripped at emission, so every slot's meaning is carried by the prose around and inside it rather than by the header above it. The opening paragraph is not a title — it is the instruction that sets the adversarial frame, and it ships with the prompt. `POSITION TO ATTACK` comes first so the document that follows reads as backing an already-stated claim; the `SUPPORTING MATERIAL` block is optional and self-deleting, and its bracketed contents and the carrier sentence beneath them both come out whenever the position is stated inline with no document behind it.
|
|
45
|
+
|
|
41
46
|
```
|
|
42
|
-
You are a rigorous devil's advocate. Your task is NOT to give a balanced
|
|
43
|
-
|
|
44
|
-
following [position / plan / decision / proposal].
|
|
47
|
+
You are a rigorous devil's advocate. Your task is NOT to give a balanced view —
|
|
48
|
+
your task is to generate the strongest possible case against the following position.
|
|
45
49
|
|
|
46
50
|
POSITION TO ATTACK:
|
|
47
|
-
[State the position, plan, or
|
|
51
|
+
[State the position, plan, decision, or proposal clearly]
|
|
52
|
+
|
|
53
|
+
SUPPORTING MATERIAL (optional):
|
|
54
|
+
[Optional — paste the proposal, design doc, strategy memo, or other document
|
|
55
|
+
that sets out this position here. If you have nothing to paste, delete this
|
|
56
|
+
bracketed block and the sentence below it.]
|
|
57
|
+
Treat the document above as the detailed source of the position's claims,
|
|
58
|
+
assumptions, and reasoning.
|
|
48
59
|
|
|
49
60
|
ATTACK INSTRUCTIONS:
|
|
50
|
-
- Do not offer a balanced view
|
|
61
|
+
- Do not acknowledge positives or offer a balanced view
|
|
51
62
|
- Attack every assumption the position depends on
|
|
52
63
|
- Identify every logical gap or unsupported claim
|
|
53
64
|
- Surface every significant risk or failure mode
|
|
54
65
|
- Point out what better alternatives are being ignored
|
|
55
|
-
- Be as forceful and specific as possible
|
|
66
|
+
- Be as forceful and specific as possible
|
|
56
67
|
|
|
57
68
|
ATTACK DIMENSIONS:
|
|
58
|
-
Focus
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
69
|
+
Focus on:
|
|
70
|
+
1. Core assumptions (what must be true for this to work?)
|
|
71
|
+
2. Internal logic (where does the reasoning break down?)
|
|
72
|
+
3. Execution risks (what makes this fail in practice?)
|
|
73
|
+
4. Overlooked alternatives (what better options exist?)
|
|
74
|
+
5. [Add domain-specific dimensions as needed]
|
|
64
75
|
|
|
65
76
|
SEVERITY RANKING:
|
|
66
|
-
After the attack, list the THREE MOST FATAL flaws — the ones that,
|
|
67
|
-
unaddressed, would cause this to fail regardless of execution quality.
|
|
77
|
+
After the full attack, list the THREE MOST FATAL flaws — the ones that,
|
|
78
|
+
if unaddressed, would cause this to fail regardless of execution quality.
|
|
68
79
|
```
|
|
69
80
|
|
|
70
81
|
## Complete Examples
|
|
71
82
|
|
|
83
|
+
Every example below keeps the headers on the page for readability, but is written in emitted form beneath them: the opening instruction paragraph first, then each slot carrying its own role in prose. Read the headers as scaffolding that will be deleted — the examples are written so that nothing is lost when it is.
|
|
84
|
+
|
|
72
85
|
### Example 1: Architecture Decision
|
|
73
86
|
|
|
87
|
+
**Before Devil's Advocate:**
|
|
88
|
+
"Should we move to microservices?"
|
|
89
|
+
|
|
90
|
+
**After Devil's Advocate** (supporting material supplied):
|
|
74
91
|
```
|
|
75
|
-
You are a rigorous devil's advocate.
|
|
92
|
+
You are a rigorous devil's advocate. Your task is NOT to give a balanced view —
|
|
93
|
+
your task is to generate the strongest possible case against the following position.
|
|
76
94
|
|
|
77
95
|
POSITION TO ATTACK:
|
|
78
|
-
We should rewrite our monolithic Python backend as microservices.
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
96
|
+
We should rewrite our monolithic Python backend as microservices. The motivation:
|
|
97
|
+
our deployment pipeline is slow, different teams want to deploy independently, and
|
|
98
|
+
we're seeing performance issues in the payments module.
|
|
99
|
+
|
|
100
|
+
SUPPORTING MATERIAL:
|
|
101
|
+
[Paste the migration RFC and the current deployment-pipeline metrics here]
|
|
102
|
+
Treat the document above as the detailed source of the position's claims,
|
|
103
|
+
assumptions, and reasoning.
|
|
82
104
|
|
|
83
105
|
ATTACK INSTRUCTIONS:
|
|
84
|
-
|
|
85
|
-
|
|
106
|
+
- Do not acknowledge positives or offer a balanced view
|
|
107
|
+
- Attack every assumption the position depends on
|
|
108
|
+
- Identify every logical gap or unsupported claim
|
|
109
|
+
- Surface every significant risk or failure mode
|
|
110
|
+
- Point out what better alternatives are being ignored
|
|
111
|
+
- Be as forceful and specific as possible
|
|
86
112
|
|
|
87
113
|
ATTACK DIMENSIONS:
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
114
|
+
Focus on:
|
|
115
|
+
1. Core assumptions about what microservices actually solve
|
|
116
|
+
2. Organizational and team readiness
|
|
117
|
+
3. The technical complexity being introduced
|
|
118
|
+
4. Whether the stated problems actually require microservices
|
|
119
|
+
5. Migration risks and the transition period
|
|
93
120
|
|
|
94
121
|
SEVERITY RANKING:
|
|
95
|
-
|
|
122
|
+
After the full attack, list the THREE MOST FATAL flaws — the ones that,
|
|
123
|
+
if unaddressed, would cause this to fail regardless of execution quality.
|
|
96
124
|
```
|
|
97
125
|
|
|
98
126
|
### Example 2: Business Strategy
|
|
99
127
|
|
|
128
|
+
**Before Devil's Advocate:**
|
|
129
|
+
"Is expanding to Europe a good idea?"
|
|
130
|
+
|
|
131
|
+
**After Devil's Advocate** (no supporting material — the position is stated inline, so the optional block and its carrier sentence are both deleted):
|
|
100
132
|
```
|
|
101
|
-
You are a rigorous devil's advocate.
|
|
133
|
+
You are a rigorous devil's advocate. Your task is NOT to give a balanced view —
|
|
134
|
+
your task is to generate the strongest possible case against the following position.
|
|
102
135
|
|
|
103
136
|
POSITION TO ATTACK:
|
|
104
137
|
We should expand to the European market in Q3. We have strong US NPS (72),
|
|
@@ -106,48 +139,61 @@ product-market fit with SMBs, and three European companies have expressed
|
|
|
106
139
|
interest. We'll hire a country manager in the UK and use them as a beachhead.
|
|
107
140
|
|
|
108
141
|
ATTACK INSTRUCTIONS:
|
|
109
|
-
|
|
110
|
-
|
|
142
|
+
- Do not acknowledge positives or offer a balanced view
|
|
143
|
+
- Attack every assumption the position depends on
|
|
144
|
+
- Identify every logical gap or unsupported claim
|
|
145
|
+
- Surface every significant risk or failure mode
|
|
146
|
+
- Point out what better alternatives are being ignored
|
|
147
|
+
- Be as forceful and specific as possible
|
|
111
148
|
|
|
112
149
|
ATTACK DIMENSIONS:
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
150
|
+
Focus on:
|
|
151
|
+
1. Whether inbound interest indicates real market demand
|
|
152
|
+
2. Resource and runway requirements versus what's being allocated
|
|
153
|
+
3. The UK-as-beachhead strategy for EU expansion
|
|
154
|
+
4. Timing relative to the current US growth trajectory
|
|
155
|
+
5. GDPR, data residency, and regulatory readiness
|
|
118
156
|
|
|
119
157
|
SEVERITY RANKING:
|
|
120
|
-
|
|
158
|
+
After the full attack, list the THREE MOST FATAL flaws — the ones that,
|
|
159
|
+
if unaddressed, would cause this to fail regardless of execution quality.
|
|
121
160
|
```
|
|
122
161
|
|
|
123
162
|
### Example 3: Product Decision
|
|
124
163
|
|
|
164
|
+
**Before Devil's Advocate:**
|
|
165
|
+
"Should we build a mobile app?"
|
|
166
|
+
|
|
167
|
+
**After Devil's Advocate** (supporting material supplied; severity ranking omitted — the opening paragraph already carries the adversarial frame, so a leaner variant still stands):
|
|
125
168
|
```
|
|
126
|
-
You are a rigorous devil's advocate.
|
|
169
|
+
You are a rigorous devil's advocate. Your task is NOT to give a balanced view —
|
|
170
|
+
your task is to generate the strongest possible case against the following position.
|
|
127
171
|
|
|
128
172
|
POSITION TO ATTACK:
|
|
129
|
-
We should add a native mobile app to our web SaaS product. Our top users
|
|
130
|
-
|
|
131
|
-
competitor just launched one.
|
|
173
|
+
We should add a native mobile app to our web SaaS product. Our top users are asking
|
|
174
|
+
for it, mobile usage of similar tools is growing, and a competitor just launched one.
|
|
132
175
|
|
|
133
|
-
|
|
134
|
-
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
- Competitor's mobile launch as a signal vs. noise
|
|
138
|
-
- What we're giving up by doing this instead of something else
|
|
176
|
+
SUPPORTING MATERIAL:
|
|
177
|
+
[Paste the product one-pager and the top-user feature requests here]
|
|
178
|
+
Treat the document above as the detailed source of the position's claims,
|
|
179
|
+
assumptions, and reasoning.
|
|
139
180
|
|
|
140
|
-
|
|
141
|
-
|
|
181
|
+
ATTACK DIMENSIONS:
|
|
182
|
+
Focus on:
|
|
183
|
+
1. Whether "top users asking" is representative demand
|
|
184
|
+
2. Resource cost versus ROI for a 4-person engineering team
|
|
185
|
+
3. Whether mobile actually expands the TAM or just cannibalizes web
|
|
186
|
+
4. The competitor's mobile launch as a signal versus noise
|
|
187
|
+
5. What is given up by doing this instead of something else
|
|
142
188
|
```
|
|
143
189
|
|
|
144
190
|
### Example 4: Self-Attack (Devil's Advocate on AI Output)
|
|
145
191
|
|
|
146
|
-
|
|
192
|
+
This one needs no template. It is a follow-up turn pasted after any AI recommendation, and "your own recommendation above" points at that prior output — which is the source material, already in place:
|
|
147
193
|
```
|
|
148
|
-
Now argue forcefully against your own recommendation above. What are
|
|
149
|
-
|
|
150
|
-
|
|
194
|
+
Now argue forcefully against your own recommendation above. What are the
|
|
195
|
+
strongest reasons it's wrong? What did you overlook? What assumptions did
|
|
196
|
+
you make that may not hold? Be as critical as possible.
|
|
151
197
|
```
|
|
152
198
|
|
|
153
199
|
## Best Use Cases
|
|
@@ -200,7 +246,8 @@ assumptions did you make that may not hold? Be as critical as possible.
|
|
|
200
246
|
|
|
201
247
|
| Component | Purpose |
|
|
202
248
|
|-----------|---------|
|
|
203
|
-
| Position Statement | What to attack |
|
|
249
|
+
| Position Statement | What to attack, stated as complete sentences |
|
|
250
|
+
| Supporting Material | Optional document behind the position; self-deleting |
|
|
204
251
|
| Adversarial Instruction | Be forceful, not balanced |
|
|
205
252
|
| Attack Dimensions | What aspects to critique |
|
|
206
253
|
| Severity Ranking | The 3 most fatal flaws |
|