@ckelsoe/prompt-architect 3.3.1 → 3.5.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 (69) hide show
  1. package/.claude-plugin/marketplace.json +3 -3
  2. package/.claude-plugin/plugin.json +2 -2
  3. package/CHANGELOG.md +34 -0
  4. package/README.md +7 -3
  5. package/adapters/system-prompt.md +96 -55
  6. package/package.json +6 -4
  7. package/scripts/test.js +32 -0
  8. package/skills/prompt-architect/SKILL.md +74 -41
  9. package/skills/prompt-architect/assets/templates/ape_template.txt +14 -3
  10. package/skills/prompt-architect/assets/templates/bab_template.txt +23 -10
  11. package/skills/prompt-architect/assets/templates/broke_template.txt +31 -6
  12. package/skills/prompt-architect/assets/templates/cai-critique-revise_template.txt +16 -8
  13. package/skills/prompt-architect/assets/templates/care_template.txt +4 -0
  14. package/skills/prompt-architect/assets/templates/chain-of-density_template.txt +30 -31
  15. package/skills/prompt-architect/assets/templates/chain-of-thought_template.txt +8 -0
  16. package/skills/prompt-architect/assets/templates/chain-of-verification_template.txt +26 -0
  17. package/skills/prompt-architect/assets/templates/co-star_template.txt +8 -0
  18. package/skills/prompt-architect/assets/templates/crispe_template.txt +6 -0
  19. package/skills/prompt-architect/assets/templates/ctf_template.txt +8 -0
  20. package/skills/prompt-architect/assets/templates/devils-advocate_template.txt +7 -0
  21. package/skills/prompt-architect/assets/templates/hybrid_template.txt +44 -24
  22. package/skills/prompt-architect/assets/templates/iterative-compression_template.txt +43 -28
  23. package/skills/prompt-architect/assets/templates/least-to-most_template.txt +4 -0
  24. package/skills/prompt-architect/assets/templates/plan-and-solve_template.txt +4 -0
  25. package/skills/prompt-architect/assets/templates/pre-mortem_template.txt +24 -14
  26. package/skills/prompt-architect/assets/templates/race_template.txt +9 -0
  27. package/skills/prompt-architect/assets/templates/rcot_template.txt +8 -0
  28. package/skills/prompt-architect/assets/templates/react_template.txt +38 -16
  29. package/skills/prompt-architect/assets/templates/rise-ie_template.txt +4 -0
  30. package/skills/prompt-architect/assets/templates/rise-ix_template.txt +3 -3
  31. package/skills/prompt-architect/assets/templates/risen_template.txt +7 -0
  32. package/skills/prompt-architect/assets/templates/rpef_template.txt +16 -11
  33. package/skills/prompt-architect/assets/templates/rtf_template.txt +9 -0
  34. package/skills/prompt-architect/assets/templates/self-consistency_template.txt +12 -0
  35. package/skills/prompt-architect/assets/templates/skeleton-of-thought_template.txt +18 -10
  36. package/skills/prompt-architect/assets/templates/step-back_template.txt +4 -0
  37. package/skills/prompt-architect/assets/templates/tidd-ec_template.txt +54 -31
  38. package/skills/prompt-architect/assets/templates/tree-of-thought_template.txt +37 -21
  39. package/skills/prompt-architect/references/frameworks/ape.md +143 -57
  40. package/skills/prompt-architect/references/frameworks/bab.md +137 -58
  41. package/skills/prompt-architect/references/frameworks/broke.md +157 -57
  42. package/skills/prompt-architect/references/frameworks/cai-critique-revise.md +183 -75
  43. package/skills/prompt-architect/references/frameworks/care.md +67 -36
  44. package/skills/prompt-architect/references/frameworks/chain-of-density.md +49 -27
  45. package/skills/prompt-architect/references/frameworks/chain-of-thought.md +28 -7
  46. package/skills/prompt-architect/references/frameworks/chain-of-verification.md +231 -0
  47. package/skills/prompt-architect/references/frameworks/co-star.md +100 -44
  48. package/skills/prompt-architect/references/frameworks/crispe.md +7 -5
  49. package/skills/prompt-architect/references/frameworks/ctf.md +73 -37
  50. package/skills/prompt-architect/references/frameworks/devils-advocate.md +105 -58
  51. package/skills/prompt-architect/references/frameworks/iterative-compression.md +236 -269
  52. package/skills/prompt-architect/references/frameworks/least-to-most.md +35 -13
  53. package/skills/prompt-architect/references/frameworks/plan-and-solve.md +38 -9
  54. package/skills/prompt-architect/references/frameworks/pre-mortem.md +176 -66
  55. package/skills/prompt-architect/references/frameworks/race.md +91 -38
  56. package/skills/prompt-architect/references/frameworks/rcot.md +1 -1
  57. package/skills/prompt-architect/references/frameworks/react.md +230 -97
  58. package/skills/prompt-architect/references/frameworks/reverse-role.md +22 -15
  59. package/skills/prompt-architect/references/frameworks/rise.md +94 -70
  60. package/skills/prompt-architect/references/frameworks/risen.md +80 -28
  61. package/skills/prompt-architect/references/frameworks/rpef.md +227 -58
  62. package/skills/prompt-architect/references/frameworks/rtf.md +2 -2
  63. package/skills/prompt-architect/references/frameworks/self-consistency.md +195 -0
  64. package/skills/prompt-architect/references/frameworks/self-refine.md +4 -2
  65. package/skills/prompt-architect/references/frameworks/skeleton-of-thought.md +67 -21
  66. package/skills/prompt-architect/references/frameworks/step-back.md +47 -15
  67. package/skills/prompt-architect/references/frameworks/tidd-ec.md +110 -45
  68. package/skills/prompt-architect/references/frameworks/tree-of-thought.md +112 -37
  69. package/skills/prompt-architect/references/techniques/few-shot.md +121 -0
@@ -17,10 +17,10 @@ BAB (Before, After, Bridge) is a transformation-focused framework ideal for rewr
17
17
  - What are the limitations?
18
18
  - What does it look like right now?
19
19
 
20
- **Examples:**
21
- - "This function uses nested callbacks and is difficult to read..."
22
- - "Our homepage copy is written for developers, not customers..."
23
- - "This README is disorganized with no clear structure..."
20
+ **Examples** (complete sentences, not bare noun phrases):
21
+ - "The function above nests three fetch calls as callbacks, so the control flow is hard to follow and no step can be tested on its own."
22
+ - "The homepage copy above is written for developers rather than for the operations managers who actually buy the product."
23
+ - "The README above has no section headers and buries the setup instructions behind a wiki link."
24
24
 
25
25
  ### A - After
26
26
  **Purpose:** Describe the desired end state — what it should look like once the transformation is complete.
@@ -31,10 +31,10 @@ BAB (Before, After, Bridge) is a transformation-focused framework ideal for rewr
31
31
  - What problems should be solved?
32
32
  - What does success look like?
33
33
 
34
- **Examples:**
35
- - "...should use async/await and be readable by a junior developer"
36
- - "...should speak to non-technical buyers who care about outcomes"
37
- - "...should have a clear structure with quick start and API docs sections"
34
+ **Examples** (complete sentences, not bare noun phrases):
35
+ - "The same logic implemented with async/await, readable by a junior developer who has not worked with Promises."
36
+ - "Copy that speaks to non-technical buyers in terms of the outcomes they care about."
37
+ - "A README with a clear structure, a quick start on the first screen, and a populated API docs section."
38
38
 
39
39
  ### B - Bridge
40
40
  **Purpose:** Describe how to get from Before to After — the approach, constraints, and rules for the transformation.
@@ -45,26 +45,61 @@ BAB (Before, After, Bridge) is a transformation-focused framework ideal for rewr
45
45
  - What should be changed vs. left alone?
46
46
  - Any constraints on approach?
47
47
 
48
- **Examples:**
49
- - "Preserve all existing functionality, only change syntax"
50
- - "Keep the same information but reframe for a non-technical audience"
51
- - "Maintain existing section content, just restructure the order and add missing sections"
48
+ **Examples** (each a self-contained imperative carrying its own verb):
49
+ - "Preserve all existing functionality and change only the syntax."
50
+ - "Keep the same information but reframe it for a non-technical audience."
51
+ - "Maintain the existing section content; restructure the order and add the missing sections."
52
+ - *Prohibitions take explicit "Do not…" / "Never…" form:* "Do not rename any variable." / "Never introduce a new dependency."
52
53
 
53
54
  ## Template Structure
54
55
 
56
+ Section headers are stripped at emission, so every header's meaning is carried by the
57
+ unbracketed prose that ships inside each slot rather than by the label above it. Do not
58
+ reintroduce header-only structure.
59
+
60
+ Two elements of the shipped template are not framework components. The leading
61
+ `SOURCE MATERIAL` block holds the artifact being transformed and is **not optional here** —
62
+ BAB requires something to transform, so unlike the source-material slot in other templates
63
+ it is never deleted. The closing `Now …` line restates the transformation as an imperative
64
+ so the prompt ends with an instruction rather than with a list of constraints.
65
+
55
66
  ```
67
+ SOURCE MATERIAL:
68
+ [Paste the artifact to be transformed here — the artifact itself, never a description of it.
69
+ Name it concretely and keep it bracketed for the user to fill in, e.g. "[Paste the current
70
+ job posting here]".]
71
+ Use the material above as the material to be transformed for the work described below.
72
+
56
73
  BEFORE:
57
- [Current state what exists, what's wrong, what needs to change]
74
+ This is the state that material is in now, and why it must change:
75
+ [Describe the current state in complete sentences, not a bare noun phrase. Say what exists
76
+ now, what is wrong with it, and what needs to change. Quote the material above wherever a
77
+ specific flaw is visible in it.]
58
78
 
59
79
  AFTER:
60
- [Desired state what it should look like, qualities it should have]
80
+ This is what it must become once the transformation is complete:
81
+ [Describe the desired end state in complete sentences. Cover the qualities the result must
82
+ have and the criteria that make it successful. Name the audience only if the user identified
83
+ one; otherwise leave "[you fill this in: who will read the result]".]
61
84
 
62
85
  BRIDGE:
63
- [How to get there transformation rules, constraints, what to preserve]
86
+ Follow these rules when carrying out the transformation:
87
+ [State each rule as a self-contained imperative carrying its own verb — "Preserve every salary
88
+ and benefits detail exactly as written", not "salary details". Write prohibitions as
89
+ "Do not…" or "Never…". Cover:
90
+ - What must be preserved unchanged, and what should change
91
+ - Any constraint on approach, style, tone, length, or format]
92
+
93
+ Now [state the transformation as an imperative naming the material, e.g. "rewrite the job
94
+ posting above"].
64
95
  ```
65
96
 
66
97
  ## Complete Examples
67
98
 
99
+ Every example below is shown in emitted form: the source material first, then each slot
100
+ carrying its own role in prose, then the closing imperative. Read the headers as scaffolding
101
+ that will be deleted — the examples are written so that nothing is lost when it is.
102
+
68
103
  ### Example 1: Code Refactoring
69
104
 
70
105
  **Before BAB:**
@@ -72,22 +107,33 @@ BRIDGE:
72
107
 
73
108
  **After BAB:**
74
109
  ```
110
+ SOURCE MATERIAL:
111
+ [Paste the JavaScript function to be refactored here]
112
+ Use the material above as the material to be transformed for the work described below.
113
+
75
114
  BEFORE:
76
- This JavaScript function uses nested callbacks (callback hell) and is difficult
77
- to read, test, and maintain. It fetches user data, then fetches their orders,
78
- then fetches order details all nested three levels deep.
115
+ This is the state that material is in now, and why it must change:
116
+ The function above fetches user data, then that user's orders, then the details for
117
+ each order, with the three calls nested inside one another as callbacks. The nesting
118
+ makes the control flow hard to follow, error handling is repeated separately at every
119
+ level, and no individual step can be tested on its own.
79
120
 
80
121
  AFTER:
81
- The same logic implemented using async/await with proper error handling. Should
82
- be readable by a junior developer who is comfortable with ES6+ but unfamiliar
83
- with Promises. Each step should be clearly separated and independently testable.
122
+ This is what it must become once the transformation is complete:
123
+ The same logic implemented with async/await, with each of the three fetch steps clearly
124
+ separated and independently testable, and with error handling consolidated in one place
125
+ rather than repeated per level. The result must be readable by a junior developer who is
126
+ comfortable with ES6+ syntax but has not worked with Promises.
84
127
 
85
128
  BRIDGE:
86
- - Preserve all existing functionality and API call structure
87
- - Replace only the async pattern (callbacks async/await)
88
- - Add try/catch error handling at the top level
89
- - Do not change variable names or data structures
90
- - Add inline comments explaining the flow
129
+ Follow these rules when carrying out the transformation:
130
+ - Preserve every existing behavior, along with the sequence and shape of the API calls, exactly as written.
131
+ - Replace only the asynchronous pattern, converting the nested callbacks to async/await.
132
+ - Add a single try/catch at the top level that covers all three fetch steps.
133
+ - Do not rename any variable and do not change any data structure.
134
+ - Add one inline comment per fetch step stating what that step retrieves.
135
+
136
+ Now rewrite the JavaScript function above.
91
137
  ```
92
138
 
93
139
  ### Example 2: Copy Rewrite
@@ -97,23 +143,34 @@ BRIDGE:
97
143
 
98
144
  **After BAB:**
99
145
  ```
146
+ SOURCE MATERIAL:
147
+ [Paste the current homepage headline and body copy here]
148
+ Use the material above as the material to be transformed for the work described below.
149
+
100
150
  BEFORE:
101
- Our current homepage headline reads: "A robust, scalable event-driven
102
- microservices orchestration platform." It was written by engineers for
103
- engineers. Conversion rate is poor because our actual buyers are non-technical
104
- operations managers.
151
+ This is the state that material is in now, and why it must change:
152
+ The headline above reads "A robust, scalable event-driven microservices orchestration
153
+ platform." It was written by engineers for engineers, and it names the architecture
154
+ rather than the problem the product solves. Our actual buyers are non-technical
155
+ operations managers, and conversion on this page is poor.
105
156
 
106
157
  AFTER:
107
- A headline and 3-sentence description that immediately communicates business
108
- value to an operations manager. Should answer "what problem does this solve
109
- for me?" within the first 10 words. Should not use any technical jargon.
158
+ This is what it must become once the transformation is complete:
159
+ A headline plus a three-sentence description that communicates business value to a
160
+ non-technical operations manager. The reader must be able to answer "what problem does
161
+ this solve for me?" from the first ten words alone, without knowing what a microservice
162
+ is.
110
163
 
111
164
  BRIDGE:
112
- - Keep the core value proposition (automation, reliability, scale)
113
- - Replace technical terms with business outcomes
114
- - Use active voice and plain language
115
- - Tone: confident, clear, outcome-focused
116
- - Length: headline (8 words max) + 2-3 supporting sentences
165
+ Follow these rules when carrying out the transformation:
166
+ - Preserve the core value proposition of automation, reliability, and scale.
167
+ - Replace every technical term with the business outcome it produces.
168
+ - Write in active voice and plain language.
169
+ - Keep the tone confident, clear, and outcome-focused.
170
+ - Limit the headline to 8 words and the supporting copy to 2-3 sentences.
171
+ - Do not use technical jargon anywhere in the result.
172
+
173
+ Now rewrite the homepage headline and body copy above.
117
174
  ```
118
175
 
119
176
  ### Example 3: Documentation Restructure
@@ -123,21 +180,32 @@ BRIDGE:
123
180
 
124
181
  **After BAB:**
125
182
  ```
183
+ SOURCE MATERIAL:
184
+ [Paste the current README here]
185
+ Use the material above as the material to be transformed for the work described below.
186
+
126
187
  BEFORE:
127
- Our README starts with a 500-word technical architecture explanation. New
128
- contributors can't find the quick start. There is no installation section
129
- setup instructions are buried in a wiki link. The API docs section is empty.
188
+ This is the state that material is in now, and why it must change:
189
+ The README above opens with a 500-word technical architecture explanation, so a new
190
+ contributor cannot find the quick start without scrolling past it. There is no
191
+ installation section — setup instructions exist only behind a wiki link — and the API
192
+ docs section is present but empty.
130
193
 
131
194
  AFTER:
132
- A README that a new contributor can use to be productive within 15 minutes.
133
- Clear sections, scannable with headers, quick start in the first screen.
195
+ This is what it must become once the transformation is complete:
196
+ A README that a new contributor can follow to a working local setup within 15 minutes,
197
+ organized into clearly headed sections that can be scanned rather than read, with the
198
+ quick start visible on the first screen.
134
199
 
135
200
  BRIDGE:
136
- - Keep all existing content (do not delete information, only reorganize)
137
- - Reorder sections: Overview Quick Start Installation Usage → API → Contributing
138
- - Move architecture explanation to a collapsible section or link to wiki
139
- - Add a minimal API docs skeleton with TODO placeholders
140
- - Add a table of contents at the top
201
+ Follow these rules when carrying out the transformation:
202
+ - Preserve all existing content; reorganize it rather than deleting any information.
203
+ - Order the sections as Overview, Quick Start, Installation, Usage, API, Contributing.
204
+ - Move the architecture explanation into a collapsible section or replace it with the wiki link.
205
+ - Add a minimal API docs skeleton with TODO placeholders where content is missing.
206
+ - Add a table of contents at the top.
207
+
208
+ Now restructure the README above.
141
209
  ```
142
210
 
143
211
  ### Example 4: Tone Transformation
@@ -147,21 +215,32 @@ BRIDGE:
147
215
 
148
216
  **After BAB:**
149
217
  ```
218
+ SOURCE MATERIAL:
219
+ [Paste the draft response to the customer complaint here]
220
+ Use the material above as the material to be transformed for the work described below.
221
+
150
222
  BEFORE:
151
- This customer complaint response sounds defensive and shifts blame to the
152
- customer. It uses passive voice and doesn't offer a clear resolution path.
223
+ This is the state that material is in now, and why it must change:
224
+ The draft above reads as defensive and shifts blame onto the customer. It states what
225
+ happened in passive voice, and it closes without telling the customer what will happen
226
+ next or what they should do.
153
227
 
154
228
  AFTER:
155
- A response that acknowledges the problem, takes responsibility, and gives the
156
- customer a clear next step. Should feel warm, professional, and solution-focused.
229
+ This is what it must become once the transformation is complete:
230
+ A response that acknowledges the problem, takes responsibility for it, and gives the
231
+ customer one clear next step. It must read as warm, professional, and focused on
232
+ resolving the issue.
157
233
 
158
234
  BRIDGE:
159
- - Keep the factual information (what happened, timeline)
160
- - Remove defensive language and blame shifting
161
- - Add an explicit apology in the first sentence
162
- - End with a single, specific action item the customer should take
163
- - Tone: empathetic but professional, not overly apologetic
164
- - Length: match original (under 150 words)
235
+ Follow these rules when carrying out the transformation:
236
+ - Preserve the factual account of what happened and the timeline exactly as given.
237
+ - Open with an explicit apology in the first sentence.
238
+ - Close with a single specific action item for the customer.
239
+ - Remove all defensive language and every statement that assigns blame to the customer.
240
+ - Keep the tone empathetic but professional, and do not over-apologize.
241
+ - Match the original length and stay under 150 words.
242
+
243
+ Now rewrite the customer complaint response above.
165
244
  ```
166
245
 
167
246
  ## Best Use Cases
@@ -4,7 +4,9 @@
4
4
 
5
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
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.
7
+ **Origin:** Community/practitioner framework, documented at myframework.net. Practitioner framework no controlled evaluation of BROKE has been published.
8
+
9
+ *Correction:* an earlier version of this file stated that BROKE was "Cited in peer-reviewed educational technology research (Springer, 2025)" and "widely adopted in business and marketing AI workflows." The first named no title, author, or DOI and was not checkable as written; the second was an unsupported adoption claim. Both have been removed.
8
10
 
9
11
  ## Components
10
12
 
@@ -44,18 +46,27 @@ BROKE (Background, Role, Objective, Key Results, Evolve) is a business-oriented
44
46
  - "Create a set of 10 FAQ entries covering the most common support topics..."
45
47
 
46
48
  ### 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.
49
+
50
+ **Purpose:** Define measurable *business* outcomes the output should help achieve — a business success bar, not only a quality bar. This is the reading BROKE is routed on in this package, and it is what the template's `KEY RESULTS` slot holds.
51
+
52
+ **Source reading, and how this package splits it.** The source framework at myframework.net glosses K as the key result of the *answer* — a specification of what the response must contain and what form it must take. This package does not discard that reading; it carries it in a separate slot. `broke_template.txt` holds response-shape requirements in `OUTPUT FORMAT` (placed immediately after `OBJECTIVE`) and business outcomes in `KEY RESULTS`. Both readings are implemented; they simply live in different slots, because a single slot holding both produced templates that specified neither well.
53
+
54
+ *Correction:* an earlier version of this file gave the business-KPI reading alone — "Define measurable outcomes that the output should help achieve. This is the OKR element" — and presented it as the source framework's own definition of K, with no note that it diverged. It does diverge: myframework.net's gloss of K is the key result of the answer, i.e. a specification of the response itself. The divergence is now disclosed rather than silent, and the discarded half is implemented as `OUTPUT FORMAT`. Caveat on this correction's evidence: myframework.net is a practitioner site with no versioning or archival copy, and the gloss above is a paraphrase of a short entry rather than a quotation from a stable document. Treat the split as this package's disclosed design choice, not as a settled reading of the source.
48
55
 
49
56
  **Questions to Ask:**
50
- - What measurable outcome should this drive?
51
- - How will we know this worked?
52
- - What metric should improve?
57
+ - What measurable business outcome should this drive?
58
+ - What metric should improve, and how will we know this worked?
59
+ - *(feeds `OUTPUT FORMAT`)* What must the response itself contain, and in what form, length, and depth?
53
60
 
54
- **Examples:**
61
+ **Examples — business outcome (`KEY RESULTS`):**
55
62
  - "Key result: reduce average sales cycle from 90 to 60 days within one quarter"
56
63
  - "Key result: reduce repeat tickets by 30% within 60 days of publishing"
57
64
  - "Key result: increase trial-to-paid conversion from 12% to 18%"
58
65
 
66
+ **Examples — answer specification (`OUTPUT FORMAT`):**
67
+ - "Rank the top 3 friction points, with supporting evidence and a proposed fix for each"
68
+ - "Cover all 10 topics, one FAQ entry each, in question-and-answer form"
69
+
59
70
  ### E — Evolve
60
71
  **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
72
 
@@ -69,58 +80,110 @@ BROKE (Background, Role, Objective, Key Results, Evolve) is a business-oriented
69
80
 
70
81
  ## Template Structure
71
82
 
83
+ 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.
84
+
72
85
  ```
86
+ This is a business task with a defined success bar. Everything below describes one
87
+ deliverable.
88
+
89
+ SOURCE MATERIAL:
90
+ [Optional — paste the material this task works from here, named specifically: the current
91
+ process document, the performance data, the existing draft. If you have nothing to paste,
92
+ delete this bracketed block along with the sentence directly below it.]
93
+ Use the material above as the factual basis for the work described below.
94
+
73
95
  BACKGROUND:
74
- [Current situation, why this task exists, relevant constraints and history]
96
+ Here is the situation this task arises from:
97
+ [Describe the current state as narrative prose: what the organization is, what is
98
+ happening now, and why this task exists. Add prior attempts and constraints only where the
99
+ user supplied them; never invent them.]
75
100
 
76
101
  ROLE:
77
- [Professional persona and expertise to embody]
102
+ Take on this professional persona for the work:
103
+ [One second-person sentence beginning "You are…", naming the domain expertise and level of
104
+ experience this task requires.]
78
105
 
79
106
  OBJECTIVE:
80
- [The specific task and deliverable]
107
+ Your task is to do the following:
108
+ [One imperative sentence naming what to analyze or produce and what the finished artifact
109
+ is.]
110
+
111
+ OUTPUT FORMAT:
112
+ Deliver your response in this shape:
113
+ [Name the sections the response should contain, its approximate length or item count, and
114
+ how much supporting detail each part carries.]
81
115
 
82
116
  KEY RESULTS:
83
- [Measurable outcomes this output should help achieve how success is defined]
117
+ Your response will be judged on whether it can plausibly move the measurable outcomes
118
+ below. They are the success bar, not tasks to carry out:
119
+ [List each outcome as a statement naming the metric and its target. Add a baseline or time
120
+ frame only where the user gave one; never invent one — write "[you fill this in: current
121
+ value of <metric>]" instead.]
84
122
 
85
123
  EVOLVE:
86
- After completing your response, provide 3 specific suggestions for improving
87
- this output or approach in a follow-up iteration.
124
+ After completing your response, provide 3 specific suggestions for improving this output
125
+ or approach in a follow-up iteration.
88
126
  ```
89
127
 
128
+ `OUTPUT FORMAT` is a sixth element in a five-letter acronym. It exists because this package reads K as a business success bar (see the K component above), which leaves the deliverable's shape unspecified. It sits between `OBJECTIVE` and `KEY RESULTS` so that the response's shape is fixed before the metrics appear — which keeps the metrics readable as an evaluation bar for an already-defined artifact rather than as a second set of tasks.
129
+
90
130
  ## Complete Examples
91
131
 
132
+ Every example below is shown in emitted form: the framing sentence first, then each
133
+ slot carrying its own role in prose. Read the headers as scaffolding that will be
134
+ deleted — the examples are written so that nothing is lost when it is.
135
+
92
136
  ### Example 1: Sales Process Improvement
93
137
 
94
138
  **Before BROKE:**
95
139
  "Help us improve our sales process."
96
140
 
97
- **After BROKE:**
141
+ **After BROKE** (source material supplied):
98
142
  ```
143
+ This is a business task with a defined success bar. Everything below describes one
144
+ deliverable.
145
+
146
+ SOURCE MATERIAL:
147
+ [Paste the CRM stage-duration export for the last two quarters here]
148
+ Use the material above as the factual basis for the work described below.
149
+
99
150
  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.
151
+ Here is the situation this task arises from:
152
+ We are a B2B SaaS company of 40 employees at $3M ARR, selling to mid-market
153
+ operations teams at an average deal size of $24K ARR. Our sales cycle has
154
+ lengthened from 45 days to 90 days over the last two quarters. Win rate has held
155
+ steady at 28%, so the problem is not qualification — it is cycle time. The primary
156
+ bottleneck appears to be the legal review stage, which now averages 35 days after
157
+ verbal agreement.
106
158
 
107
159
  ROLE:
108
- You are an experienced enterprise SaaS sales consultant who specializes
109
- in deal velocity and reducing friction in the close process.
160
+ Take on this professional persona for the work:
161
+ You are an experienced enterprise SaaS sales consultant who specializes in deal
162
+ velocity and in removing friction from the close process.
110
163
 
111
164
  OBJECTIVE:
112
- Identify the root causes of the 35-day legal review bottleneck and
113
- provide a prioritized action plan to reduce it.
165
+ Your task is to do the following:
166
+ Identify the root causes of the 35-day legal review bottleneck and produce a
167
+ prioritized action plan for reducing it.
168
+
169
+ OUTPUT FORMAT:
170
+ Deliver your response in this shape:
171
+ Open with a ranked list of root causes, each stated in one sentence with the
172
+ evidence from the material above that supports it. Follow with an action plan of
173
+ five to eight items ordered by expected impact, giving each item an owning role, an
174
+ effort estimate, and the root cause it addresses. Close with a short paragraph
175
+ naming which causes the supplied data cannot settle.
114
176
 
115
177
  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%
178
+ Your response will be judged on whether it can plausibly move the measurable outcomes
179
+ below. They are the success bar, not tasks to carry out:
180
+ - Reduce the legal review stage from 35 days to 15 days within 2 quarters.
181
+ - Increase overall win rate from 28% to 32% by removing friction at close.
182
+ - Reduce sales rep time spent on legal coordination by 50%.
119
183
 
120
184
  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.
185
+ After completing your response, provide 3 specific suggestions for improving this
186
+ analysis or action plan in a follow-up iteration.
124
187
  ```
125
188
 
126
189
  ### Example 2: Content Strategy
@@ -128,30 +191,46 @@ approach.
128
191
  **Before BROKE:**
129
192
  "Create a content plan for our blog."
130
193
 
131
- **After BROKE:**
194
+ **After BROKE** (no source material — the calendar is generated from scratch, so the
195
+ `SOURCE MATERIAL` block and the sentence below it are both deleted):
132
196
  ```
197
+ This is a business task with a defined success bar. Everything below describes one
198
+ deliverable.
199
+
133
200
  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.
201
+ Here is the situation this task arises from:
202
+ We are a developer tools company building open-source project management for
203
+ engineers. Our blog currently publishes 2 posts per month and draws about 500
204
+ organic visits per month. Competitors publish 8 to 12 posts per month and dominate
205
+ search for our core keywords. Our DevRel team has capacity for 4 posts per month.
138
206
 
139
207
  ROLE:
140
- You are a content strategist specializing in developer-focused technical
141
- content marketing and SEO.
208
+ Take on this professional persona for the work:
209
+ You are a content strategist who specializes in developer-focused technical content
210
+ marketing and technical SEO.
142
211
 
143
212
  OBJECTIVE:
144
- Create a 3-month content calendar targeting keywords with real traffic
145
- potential and aligned with our product's value proposition.
213
+ Your task is to do the following:
214
+ Create a 3-month content calendar targeting keywords with real traffic potential
215
+ and aligned with our product's value proposition.
216
+
217
+ OUTPUT FORMAT:
218
+ Deliver your response in this shape:
219
+ Produce a month-by-month calendar of 12 posts, 4 per month. Give each post a
220
+ working title, its target keyword, the search intent it serves, the funnel stage it
221
+ belongs to, and a two-sentence summary of the angle. Follow the calendar with a
222
+ short section explaining the sequencing logic across the three months.
146
223
 
147
224
  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
225
+ Your response will be judged on whether it can plausibly move the measurable outcomes
226
+ below. They are the success bar, not tasks to carry out:
227
+ - Increase organic blog traffic from 500 to 2,000 visits per month within 3 months.
228
+ - Generate 50 or more qualified leads from content per month by month 4.
229
+ - Rank on page 1 for at least 5 target keywords within 6 months.
151
230
 
152
231
  EVOLVE:
153
- After your content calendar, suggest 3 improvements either to the
154
- plan itself or additional information that would make it more effective.
232
+ After completing your calendar, provide 3 specific suggestions for improving this
233
+ plan, or name the additional information that would make it more effective.
155
234
  ```
156
235
 
157
236
  ### Example 3: Team Process
@@ -159,30 +238,50 @@ plan itself or additional information that would make it more effective.
159
238
  **Before BROKE:**
160
239
  "How should we run better sprint retrospectives?"
161
240
 
162
- **After BROKE:**
241
+ **After BROKE** (source material supplied):
163
242
  ```
243
+ This is a business task with a defined success bar. Everything below describes one
244
+ deliverable.
245
+
246
+ SOURCE MATERIAL:
247
+ [Paste the notes and action-item lists from the last 4 retrospectives here]
248
+ Use the material above as the factual basis for the work described below.
249
+
164
250
  BACKGROUND:
251
+ Here is the situation this task arises from:
165
252
  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.
253
+ Retrospectives currently take 45 minutes and follow a Start/Stop/Continue format.
254
+ The team reports that retros feel repetitive, that the same issues resurface every
255
+ sprint, and that there is no visible follow-through on action items between retros.
169
256
 
170
257
  ROLE:
171
- You are an experienced Agile coach who has worked with engineering teams
172
- at growth-stage startups.
258
+ Take on this professional persona for the work:
259
+ You are an experienced Agile coach who has worked with engineering teams at
260
+ growth-stage startups.
173
261
 
174
262
  OBJECTIVE:
175
- Redesign our retrospective format and process to make action items
176
- stick and prevent the same issues from recurring.
263
+ Your task is to do the following:
264
+ Redesign our retrospective format and the process around it so that action items
265
+ stick and the same issues stop recurring.
266
+
267
+ OUTPUT FORMAT:
268
+ Deliver your response in this shape:
269
+ Begin with a short diagnosis of why the current format is recycling issues, citing
270
+ specific patterns from the retro notes above. Then give the redesigned format as a
271
+ timeboxed agenda totalling 45 minutes or less. Then describe the between-retro
272
+ follow-through process, naming who owns each step. Close with the first three
273
+ changes to make and the order to make them in.
177
274
 
178
275
  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
276
+ Your response will be judged on whether it can plausibly move the measurable outcomes
277
+ below. They are the success bar, not tasks to carry out:
278
+ - Reduce repeat items across retros by 70% within 2 months.
279
+ - Close at least 80% of action items before the next retro.
280
+ - Raise team satisfaction with retros from 5/10 to above 7.5/10 by month 2.
182
281
 
183
282
  EVOLVE:
184
- After your recommendations, provide 3 things you would need to know
185
- to make this advice more specific or likely to succeed.
283
+ After completing your recommendations, provide 3 specific things you would need to
284
+ know to make this advice more specific or more likely to succeed.
186
285
  ```
187
286
 
188
287
  ## Best Use Cases
@@ -238,5 +337,6 @@ to make this advice more specific or likely to succeed.
238
337
  | Background | Situation | "What's the context and history?" |
239
338
  | Role | Expertise | "Who should do this?" |
240
339
  | Objective | Task | "What needs to be delivered?" |
241
- | Key Results | Success metrics | "How will we measure success?" |
340
+ | Output Format | Response shape | "What structure, length, and depth does the answer need?" |
341
+ | Key Results | Business success metrics | "What metric should this move, and by how much?" |
242
342
  | Evolve | Self-improvement | "How can this be better?" |