@ckelsoe/prompt-architect 3.0.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.
Files changed (76) hide show
  1. package/.claude-plugin/marketplace.json +20 -0
  2. package/.claude-plugin/plugin.json +18 -0
  3. package/CHANGELOG.md +264 -0
  4. package/LICENSE +21 -0
  5. package/MIGRATION.md +66 -0
  6. package/README.md +1184 -0
  7. package/adapters/README.md +267 -0
  8. package/adapters/for-cursor.mdc +138 -0
  9. package/adapters/for-gemini-cli.md +70 -0
  10. package/adapters/for-github-copilot.md +141 -0
  11. package/adapters/for-openai-codex-cli.md +158 -0
  12. package/adapters/for-windsurf.md +136 -0
  13. package/adapters/system-prompt.md +243 -0
  14. package/package.json +135 -0
  15. package/scripts/install.js +490 -0
  16. package/scripts/test.js +213 -0
  17. package/scripts/validate-skill.js +350 -0
  18. package/skills/prompt-architect/SKILL.md +331 -0
  19. package/skills/prompt-architect/assets/templates/ape_template.txt +5 -0
  20. package/skills/prompt-architect/assets/templates/bab_template.txt +15 -0
  21. package/skills/prompt-architect/assets/templates/broke_template.txt +15 -0
  22. package/skills/prompt-architect/assets/templates/cai-critique-revise_template.txt +18 -0
  23. package/skills/prompt-architect/assets/templates/care_template.txt +16 -0
  24. package/skills/prompt-architect/assets/templates/chain-of-density_template.txt +46 -0
  25. package/skills/prompt-architect/assets/templates/chain-of-thought_template.txt +49 -0
  26. package/skills/prompt-architect/assets/templates/co-star_template.txt +17 -0
  27. package/skills/prompt-architect/assets/templates/crispe_template.txt +14 -0
  28. package/skills/prompt-architect/assets/templates/ctf_template.txt +15 -0
  29. package/skills/prompt-architect/assets/templates/devils-advocate_template.txt +25 -0
  30. package/skills/prompt-architect/assets/templates/hybrid_template.txt +101 -0
  31. package/skills/prompt-architect/assets/templates/least-to-most_template.txt +16 -0
  32. package/skills/prompt-architect/assets/templates/plan-and-solve_template.txt +7 -0
  33. package/skills/prompt-architect/assets/templates/pre-mortem_template.txt +27 -0
  34. package/skills/prompt-architect/assets/templates/race_template.txt +19 -0
  35. package/skills/prompt-architect/assets/templates/rcot_template.txt +31 -0
  36. package/skills/prompt-architect/assets/templates/react_template.txt +27 -0
  37. package/skills/prompt-architect/assets/templates/reverse-role_template.txt +11 -0
  38. package/skills/prompt-architect/assets/templates/rise-ie_template.txt +23 -0
  39. package/skills/prompt-architect/assets/templates/rise-ix_template.txt +28 -0
  40. package/skills/prompt-architect/assets/templates/risen_template.txt +21 -0
  41. package/skills/prompt-architect/assets/templates/rpef_template.txt +26 -0
  42. package/skills/prompt-architect/assets/templates/rtf_template.txt +13 -0
  43. package/skills/prompt-architect/assets/templates/self-refine_template.txt +16 -0
  44. package/skills/prompt-architect/assets/templates/skeleton-of-thought_template.txt +15 -0
  45. package/skills/prompt-architect/assets/templates/step-back_template.txt +10 -0
  46. package/skills/prompt-architect/assets/templates/tidd-ec_template.txt +45 -0
  47. package/skills/prompt-architect/assets/templates/tree-of-thought_template.txt +30 -0
  48. package/skills/prompt-architect/references/frameworks/ape.md +200 -0
  49. package/skills/prompt-architect/references/frameworks/bab.md +242 -0
  50. package/skills/prompt-architect/references/frameworks/broke.md +242 -0
  51. package/skills/prompt-architect/references/frameworks/cai-critique-revise.md +230 -0
  52. package/skills/prompt-architect/references/frameworks/care.md +235 -0
  53. package/skills/prompt-architect/references/frameworks/chain-of-density.md +479 -0
  54. package/skills/prompt-architect/references/frameworks/chain-of-thought.md +424 -0
  55. package/skills/prompt-architect/references/frameworks/co-star.md +256 -0
  56. package/skills/prompt-architect/references/frameworks/crispe.md +253 -0
  57. package/skills/prompt-architect/references/frameworks/ctf.md +207 -0
  58. package/skills/prompt-architect/references/frameworks/devils-advocate.md +206 -0
  59. package/skills/prompt-architect/references/frameworks/least-to-most.md +226 -0
  60. package/skills/prompt-architect/references/frameworks/plan-and-solve.md +210 -0
  61. package/skills/prompt-architect/references/frameworks/pre-mortem.md +197 -0
  62. package/skills/prompt-architect/references/frameworks/race.md +243 -0
  63. package/skills/prompt-architect/references/frameworks/rcot.md +203 -0
  64. package/skills/prompt-architect/references/frameworks/react.md +304 -0
  65. package/skills/prompt-architect/references/frameworks/reverse-role.md +189 -0
  66. package/skills/prompt-architect/references/frameworks/rise.md +555 -0
  67. package/skills/prompt-architect/references/frameworks/risen.md +297 -0
  68. package/skills/prompt-architect/references/frameworks/rpef.md +195 -0
  69. package/skills/prompt-architect/references/frameworks/rtf.md +358 -0
  70. package/skills/prompt-architect/references/frameworks/self-refine.md +205 -0
  71. package/skills/prompt-architect/references/frameworks/skeleton-of-thought.md +186 -0
  72. package/skills/prompt-architect/references/frameworks/step-back.md +206 -0
  73. package/skills/prompt-architect/references/frameworks/tidd-ec.md +470 -0
  74. package/skills/prompt-architect/references/frameworks/tree-of-thought.md +260 -0
  75. package/skills/prompt-architect/scripts/framework_analyzer.py +807 -0
  76. package/skills/prompt-architect/scripts/prompt_evaluator.py +336 -0
@@ -0,0 +1,242 @@
1
+ # BROKE Framework
2
+
3
+ ## Overview
4
+
5
+ BROKE (Background, Role, Objective, Key Results, Evolve) is a business-oriented prompt framework that combines OKR-style measurable outcomes with a built-in self-improvement loop. Its defining feature — the **Evolve** step — instructs the AI to critique its own output and suggest 3 ways to improve it, turning a single prompt into a structured iteration cycle without requiring manual re-prompting.
6
+
7
+ **Origin:** Community/practitioner framework (documented at myframework.net and in educational AI research). Cited in peer-reviewed educational technology research (Springer, 2025). Widely adopted in business and marketing AI workflows.
8
+
9
+ ## Components
10
+
11
+ ### B — Background
12
+ **Purpose:** Provide the situational context the AI needs — the current state, why this task exists, and any relevant history or constraints.
13
+
14
+ **Questions to Ask:**
15
+ - What is the current situation?
16
+ - Why does this task need to be done?
17
+ - What constraints apply?
18
+ - What has already been tried?
19
+
20
+ **Examples:**
21
+ - "We are a 50-person B2B SaaS company approaching Series B. Our sales cycle has lengthened from 45 to 90 days over the past 2 quarters..."
22
+ - "Our support team is handling 500 tickets/day and 40% are repeat questions about the same 10 topics..."
23
+
24
+ ### R — Role
25
+ **Purpose:** Define the professional persona and expertise the AI should embody.
26
+
27
+ **Questions to Ask:**
28
+ - What domain expertise is needed?
29
+ - What professional perspective?
30
+
31
+ **Examples:**
32
+ - "You are an experienced B2B sales consultant who specializes in enterprise deal acceleration..."
33
+ - "Act as a senior customer success manager with experience building help content..."
34
+
35
+ ### O — Objective
36
+ **Purpose:** State the specific task — what needs to be delivered.
37
+
38
+ **Questions to Ask:**
39
+ - What is the deliverable?
40
+ - What exactly needs to be done?
41
+
42
+ **Examples:**
43
+ - "Analyze our sales process and identify the top 3 friction points causing deal elongation..."
44
+ - "Create a set of 10 FAQ entries covering the most common support topics..."
45
+
46
+ ### K — Key Results
47
+ **Purpose:** Define measurable outcomes that the output should help achieve. This is the OKR element — it sets a business success bar, not just a quality bar.
48
+
49
+ **Questions to Ask:**
50
+ - What measurable outcome should this drive?
51
+ - How will we know this worked?
52
+ - What metric should improve?
53
+
54
+ **Examples:**
55
+ - "Key result: reduce average sales cycle from 90 to 60 days within one quarter"
56
+ - "Key result: reduce repeat tickets by 30% within 60 days of publishing"
57
+ - "Key result: increase trial-to-paid conversion from 12% to 18%"
58
+
59
+ ### E — Evolve
60
+ **Purpose:** After completing the task, the AI provides 3 specific suggestions for improving the output or the prompt itself. This creates a self-improving loop.
61
+
62
+ **Standard Evolve instruction:**
63
+ "After completing your response, provide 3 suggestions for how this output or the prompt could be improved in a follow-up iteration."
64
+
65
+ **Variations:**
66
+ - "List 3 things you would do differently to make this more effective"
67
+ - "After your response, identify the 3 weakest aspects and how to address them"
68
+ - "After responding, suggest 3 ways to test whether this achieves the Key Results"
69
+
70
+ ## Template Structure
71
+
72
+ ```
73
+ BACKGROUND:
74
+ [Current situation, why this task exists, relevant constraints and history]
75
+
76
+ ROLE:
77
+ [Professional persona and expertise to embody]
78
+
79
+ OBJECTIVE:
80
+ [The specific task and deliverable]
81
+
82
+ KEY RESULTS:
83
+ [Measurable outcomes this output should help achieve — how success is defined]
84
+
85
+ EVOLVE:
86
+ After completing your response, provide 3 specific suggestions for improving
87
+ this output or approach in a follow-up iteration.
88
+ ```
89
+
90
+ ## Complete Examples
91
+
92
+ ### Example 1: Sales Process Improvement
93
+
94
+ **Before BROKE:**
95
+ "Help us improve our sales process."
96
+
97
+ **After BROKE:**
98
+ ```
99
+ BACKGROUND:
100
+ We're a B2B SaaS company (40 employees, $3M ARR) selling to mid-market
101
+ operations teams. Our average deal size is $24K ARR. Sales cycle has
102
+ lengthened from 45 days to 90 days over the last 2 quarters. Win rate
103
+ has held steady at 28% so the issue isn't qualification — it's cycle time.
104
+ Primary bottleneck appears to be the "legal review" stage, which now
105
+ averages 35 days after verbal agreement.
106
+
107
+ ROLE:
108
+ You are an experienced enterprise SaaS sales consultant who specializes
109
+ in deal velocity and reducing friction in the close process.
110
+
111
+ OBJECTIVE:
112
+ Identify the root causes of the 35-day legal review bottleneck and
113
+ provide a prioritized action plan to reduce it.
114
+
115
+ KEY RESULTS:
116
+ - Reduce legal review stage from 35 days to 15 days within 2 quarters
117
+ - Increase overall win rate from 28% to 32% by removing friction at close
118
+ - Reduce sales rep time spent on legal coordination by 50%
119
+
120
+ EVOLVE:
121
+ After your response, provide 3 suggestions for how this analysis or
122
+ action plan could be improved with additional information or a different
123
+ approach.
124
+ ```
125
+
126
+ ### Example 2: Content Strategy
127
+
128
+ **Before BROKE:**
129
+ "Create a content plan for our blog."
130
+
131
+ **After BROKE:**
132
+ ```
133
+ BACKGROUND:
134
+ We are a developer tools company (open-source project management for engineers).
135
+ Our blog currently publishes 2 posts/month with low organic traffic (500
136
+ visits/month). Competitors publish 8-12 posts/month and dominate searches for
137
+ our core keywords. Our DevRel team has capacity for 4 posts/month.
138
+
139
+ ROLE:
140
+ You are a content strategist specializing in developer-focused technical
141
+ content marketing and SEO.
142
+
143
+ OBJECTIVE:
144
+ Create a 3-month content calendar targeting keywords with real traffic
145
+ potential and aligned with our product's value proposition.
146
+
147
+ KEY RESULTS:
148
+ - Increase organic blog traffic from 500 to 2,000 visits/month in 3 months
149
+ - Generate 50+ qualified leads from content monthly by month 4
150
+ - Rank on page 1 for at least 5 target keywords within 6 months
151
+
152
+ EVOLVE:
153
+ After your content calendar, suggest 3 improvements — either to the
154
+ plan itself or additional information that would make it more effective.
155
+ ```
156
+
157
+ ### Example 3: Team Process
158
+
159
+ **Before BROKE:**
160
+ "How should we run better sprint retrospectives?"
161
+
162
+ **After BROKE:**
163
+ ```
164
+ BACKGROUND:
165
+ Our 8-person engineering team has been running 2-week sprints for 6 months.
166
+ Retrospectives currently take 45 minutes and follow Start/Stop/Continue.
167
+ Team feedback: retros feel repetitive, same issues come up every sprint,
168
+ no visible follow-through on action items between retros.
169
+
170
+ ROLE:
171
+ You are an experienced Agile coach who has worked with engineering teams
172
+ at growth-stage startups.
173
+
174
+ OBJECTIVE:
175
+ Redesign our retrospective format and process to make action items
176
+ stick and prevent the same issues from recurring.
177
+
178
+ KEY RESULTS:
179
+ - Reduce repeat items in retros by 70% within 2 months
180
+ - At least 80% of action items closed before next retro
181
+ - Team satisfaction with retros (currently 5/10) above 7.5/10 by month 2
182
+
183
+ EVOLVE:
184
+ After your recommendations, provide 3 things you would need to know
185
+ to make this advice more specific or likely to succeed.
186
+ ```
187
+
188
+ ## Best Use Cases
189
+
190
+ 1. **Business Deliverables with Measurable Goals**
191
+ - Strategy and planning documents
192
+ - Process improvement plans
193
+ - Marketing campaigns with KPIs
194
+
195
+ 2. **When Iteration is Expected**
196
+ - First-pass drafts meant for refinement
197
+ - Exploratory analysis where the initial output will be critiqued
198
+ - Any prompt where "try and improve" is the workflow
199
+
200
+ 3. **OKR-Aligned Work**
201
+ - Tasks tied to company objectives
202
+ - Work that must justify its business impact
203
+ - Anything where "did it work?" must be answerable
204
+
205
+ 4. **Self-Improving Workflows**
206
+ - When you want the AI to help you improve your own prompts
207
+ - Iterative content creation
208
+ - When you expect to run multiple versions
209
+
210
+ ## Selection Criteria
211
+
212
+ **Choose BROKE when:**
213
+ - ✅ Business impact (Key Results) needs to be explicit
214
+ - ✅ You plan to iterate on the output
215
+ - ✅ Self-critique / suggestions are valuable
216
+ - ✅ Measurable success criteria exist
217
+ - ✅ Task is business/strategy/process oriented
218
+
219
+ **Avoid BROKE when:**
220
+ - ❌ Simple technical task → use RTF or APE
221
+ - ❌ No measurable outcome (creative/expressive) → use CO-STAR or CRISPE
222
+ - ❌ Already iterating → the Evolve step is redundant
223
+ - ❌ Complex multi-step process → use RISEN
224
+
225
+ ## BROKE vs. RACE vs. RISEN
226
+
227
+ | | BROKE | RACE | RISEN |
228
+ |---|---|---|---|
229
+ | Unique feature | Key Results (OKR) + Evolve loop | Explicit Expectation | Steps + methodology |
230
+ | Best for | Business deliverables with KPIs | Expert task with context | Multi-step procedures |
231
+ | Iteration built in? | Yes (Evolve) | No | No |
232
+ | Business focus | High | Medium | Low |
233
+
234
+ ## Quick Reference
235
+
236
+ | Component | Focus | Key Question |
237
+ |-----------|-------|--------------|
238
+ | Background | Situation | "What's the context and history?" |
239
+ | Role | Expertise | "Who should do this?" |
240
+ | Objective | Task | "What needs to be delivered?" |
241
+ | Key Results | Success metrics | "How will we measure success?" |
242
+ | Evolve | Self-improvement | "How can this be better?" |
@@ -0,0 +1,230 @@
1
+ # CAI Critique-Revise (Constitutional AI Critique-Revise Pattern)
2
+
3
+ ## Overview
4
+
5
+ CAI Critique-Revise is a two-phase output improvement pattern derived from Anthropic's Constitutional AI methodology. A model generates an initial response, explicitly critiques it against a stated principle or standard, then revises the response to align with that principle. Unlike Self-Refine (which uses multi-dimensional quality feedback), CAI Critique-Revise is principle-driven: the critique is always measured against a specific, explicitly stated standard — a "constitution" of one or more principles.
6
+
7
+ **Research basis:** "Constitutional AI: Harmlessness from AI Feedback" (Bai et al., Anthropic, arXiv 2212.08073, 2022). Originally a training methodology; the critique-revise loop is directly usable as a prompting pattern. Key finding: generating an explicit critique before revising produces better alignment than asking for direct revision without a critique step.
8
+
9
+ ## The Key Insight
10
+
11
+ Asking the model to revise directly ("make this better") is less effective than:
12
+ 1. First critiquing against a specific principle ("does this violate X?")
13
+ 2. Then revising using the critique as the specification
14
+
15
+ The intermediate critique step is load-bearing — it forces the model to identify the gap before filling it.
16
+
17
+ ## Components
18
+
19
+ ### Principle / Constitution
20
+ **Purpose:** The standard against which the output is evaluated. This is what makes CAI Critique-Revise different from generic improvement — there is a specific, articulated principle. Can be one principle or a small set.
21
+
22
+ **Examples:**
23
+ - "This response must not assume knowledge the reader hasn't stated they have"
24
+ - "All claims must be supported by reasoning or evidence — no assertions without backing"
25
+ - "The response must give the user agency to decide; it should not make decisions for them"
26
+ - "Plain language only: if a 12-year-old couldn't understand a sentence, rewrite it"
27
+ - "No hedging language ('might', 'could', 'perhaps') unless genuine uncertainty exists"
28
+
29
+ ### Initial Generation
30
+ **Purpose:** The output to evaluate. Can be AI-generated or human-written.
31
+
32
+ ### Critique Step
33
+ **Purpose:** Explicit evaluation of the output against the principle. The critique must be specific and quote the problematic passages.
34
+
35
+ **Critique trigger:** *"Identify specific ways in which the response above violates or falls short of the following principle: [principle]. Quote the specific passages that are problematic. Explain why each violates the principle."*
36
+
37
+ ### Revision Step
38
+ **Purpose:** Rewrite the response to satisfy the principle. The revision should address every critique point.
39
+
40
+ **Revision trigger:** *"Revise the response to fully satisfy the principle. Address every critique point. Preserve all content that already satisfies the principle."*
41
+
42
+ ### Iteration (optional)
43
+ **Purpose:** Run the critique-revise cycle again against the same principle (to catch remaining issues) or a different principle (multi-principle alignment).
44
+
45
+ ## Template Structure
46
+
47
+ ```
48
+ PRINCIPLE:
49
+ [State the specific standard the output must satisfy]
50
+
51
+ INITIAL OUTPUT:
52
+ [The output to evaluate — AI-generated or human-written]
53
+
54
+ CRITIQUE:
55
+ Identify specific ways the output above violates or falls short of
56
+ the principle stated above.
57
+ - Quote the specific passages that are problematic
58
+ - Explain precisely why each passage violates the principle
59
+ - Do not mention positives — focus only on failures
60
+
61
+ REVISION:
62
+ Rewrite the output to fully satisfy the principle.
63
+ - Address every critique point identified above
64
+ - Preserve all content that already meets the principle
65
+ - Do not introduce new violations
66
+ ```
67
+
68
+ ### Multi-Principle Version
69
+ ```
70
+ PRINCIPLES:
71
+ P1: [First principle]
72
+ P2: [Second principle]
73
+ P3: [Third principle]
74
+
75
+ INITIAL OUTPUT:
76
+ [The output]
77
+
78
+ CRITIQUE — P1:
79
+ [Critique against P1]
80
+
81
+ CRITIQUE — P2:
82
+ [Critique against P2]
83
+
84
+ CRITIQUE — P3:
85
+ [Critique against P3]
86
+
87
+ REVISION:
88
+ Rewrite addressing all critique points across all three principles.
89
+ ```
90
+
91
+ ## Complete Examples
92
+
93
+ ### Example 1: Plain Language Compliance
94
+
95
+ ```
96
+ PRINCIPLE:
97
+ Plain language only. Every sentence must be understandable by someone
98
+ with no technical background. No jargon without immediate plain-language
99
+ definition. Maximum sentence length: 20 words.
100
+
101
+ INITIAL OUTPUT:
102
+ Our API leverages asynchronous microservice orchestration to facilitate
103
+ real-time event-driven data synchronization across distributed endpoints,
104
+ enabling seamless interoperability between heterogeneous enterprise systems.
105
+
106
+ CRITIQUE:
107
+ Identify every phrase that violates the plain language principle above.
108
+ Quote each problematic phrase and explain the violation.
109
+
110
+ REVISION:
111
+ Rewrite the description so a non-technical reader understands exactly
112
+ what the product does.
113
+ ```
114
+
115
+ ### Example 2: Evidence-Backed Claims
116
+
117
+ ```
118
+ PRINCIPLE:
119
+ Every claim must be backed by reasoning, data, or an example.
120
+ No assertion may stand without support. Hedging language ("might",
121
+ "could") is acceptable only when genuine uncertainty exists.
122
+
123
+ INITIAL OUTPUT:
124
+ [Paste an analysis or recommendation]
125
+
126
+ CRITIQUE:
127
+ Identify every unsupported claim. Quote the specific assertion and
128
+ state what type of support is missing (reasoning, data, or example).
129
+
130
+ REVISION:
131
+ Rewrite adding appropriate support for every flagged claim.
132
+ If a claim cannot be supported, remove it or explicitly mark it
133
+ as an assumption.
134
+ ```
135
+
136
+ ### Example 3: User Agency Preservation
137
+
138
+ ```
139
+ PRINCIPLE:
140
+ The response must preserve user agency. It may present options and
141
+ tradeoffs but must not make decisions for the user. The final choice
142
+ should always be explicitly left to the user with clear reasoning
143
+ for each option.
144
+
145
+ INITIAL OUTPUT:
146
+ [Paste an AI recommendation that made a firm choice for the user]
147
+
148
+ CRITIQUE:
149
+ Identify every place where the response makes a decision for the user
150
+ or removes their agency. Quote the specific passages.
151
+
152
+ REVISION:
153
+ Rewrite so the user has full information and clear options, but the
154
+ final decision remains with them.
155
+ ```
156
+
157
+ ### Example 4: Factual Precision
158
+
159
+ ```
160
+ PRINCIPLE:
161
+ The response must distinguish between: (1) established facts,
162
+ (2) inferences based on evidence, and (3) speculation. Each claim
163
+ must be labeled accordingly. No mixing of categories without labels.
164
+
165
+ INITIAL OUTPUT:
166
+ [Paste a technical or analytical response]
167
+
168
+ CRITIQUE:
169
+ Identify claims that mix categories or present inferences as facts.
170
+ Quote each and categorize it.
171
+
172
+ REVISION:
173
+ Rewrite with explicit labeling: [FACT], [INFERENCE], [SPECULATION]
174
+ where appropriate.
175
+ ```
176
+
177
+ ## Best Use Cases
178
+
179
+ 1. **Compliance and Standards Alignment**
180
+ - Plain language requirements
181
+ - Brand voice standards
182
+ - Legal/regulatory language standards
183
+ - Accessibility guidelines
184
+
185
+ 2. **Quality Control Pipelines**
186
+ - Automated review of AI outputs before publication
187
+ - QA for customer-facing content
188
+ - Documentation standards enforcement
189
+
190
+ 3. **Bias and Fairness Checking**
191
+ - Does this assume a particular demographic?
192
+ - Does this perpetuate stereotypes?
193
+
194
+ 4. **Epistemic Quality**
195
+ - Are claims supported?
196
+ - Is uncertainty appropriately flagged?
197
+ - Is speculation distinguished from fact?
198
+
199
+ ## Selection Criteria
200
+
201
+ **Choose CAI Critique-Revise when:**
202
+ - ✅ You have a specific, articulable principle to enforce
203
+ - ✅ The output needs alignment to a standard, not general improvement
204
+ - ✅ You want explicit documentation of what was wrong (audit trail)
205
+ - ✅ Compliance or quality gates apply
206
+
207
+ **Avoid when:**
208
+ - ❌ No specific principle — use Self-Refine for general quality
209
+ - ❌ You want the strongest opposing argument — use Devil's Advocate
210
+ - ❌ You want failure analysis — use Pre-Mortem
211
+
212
+ ## CAI Critique-Revise vs. Self-Refine vs. CARE
213
+
214
+ | | CAI Critique-Revise | Self-Refine | CARE |
215
+ |---|---|---|---|
216
+ | Critique basis | Specific stated principle | Multi-dimensional quality | Rules defined upfront |
217
+ | Use case | Alignment to standard | General improvement | Constraint-governed creation |
218
+ | When applied | After generation | After generation | Before generation |
219
+ | Audit trail | Yes (critique is explicit) | Yes | No |
220
+
221
+ **Rule of thumb:** CARE sets rules *before* generation. CAI Critique-Revise enforces principles *after* generation. Self-Refine improves quality *after* generation without a specific standard.
222
+
223
+ ## Quick Reference
224
+
225
+ | Component | Purpose |
226
+ |-----------|---------|
227
+ | Principle | The specific standard to enforce |
228
+ | Initial Output | The output to evaluate |
229
+ | Critique | Quote-specific violations of the principle |
230
+ | Revision | Rewrite satisfying all critique points |