@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
@@ -34,22 +34,48 @@ Point X: [point name] — [one-line description]
34
34
 
35
35
  ## Template Structure
36
36
 
37
+ Section headers are stripped at emission, so every header's meaning is carried by
38
+ unbracketed prose that ships with the prompt. Do not reintroduce header-only structure.
39
+
37
40
  ```
38
- PHASE 1 — SKELETON:
39
- Generate a skeleton outline for the following question. List only key points,
40
- one per line, in the format: [number]. [Point name] | [One-sentence description].
41
- Do not expand yet.
41
+ SOURCE MATERIAL:
42
+ [Optional paste the document, data, or notes the answer must be drawn from here. If you
43
+ have nothing to paste, delete this bracketed block along with the sentence directly below
44
+ it.]
45
+ Use the material above as the factual basis for the work described below.
42
46
 
43
- QUESTION/TOPIC:
44
- [Your question or topic]
47
+ Answer the topic or question below in two phases: first a skeleton outline, then a full
48
+ expansion of every point in that skeleton.
45
49
 
46
- PHASE 2 — EXPAND:
47
- Now expand each point into [2-4 sentences / a paragraph / detailed explanation].
48
- Each point should be self-contained and complete.
50
+ TOPIC / QUESTION:
51
+ [Write out the full topic or question as a complete, self-contained sentence rather than a
52
+ bare noun phrase, including any audience, scope, or depth of coverage specified]
49
53
 
50
- [Optional: expand points in parallel by sending each as a separate request]
54
+ PHASE 1 SKELETON:
55
+ First, outline the topic above. List only the key points, one per line, in this format:
56
+ N. [Point name] | [One-sentence description of what this point covers]
57
+ Replace N with the point's number and fill in both bracketed parts, keeping that line's
58
+ format exactly. Produce the skeleton and nothing else — do not expand any point yet.
59
+
60
+ PHASE 2 — EXPAND:
61
+ Once the skeleton is complete, expand each of its points into [2-4 sentences / a paragraph /
62
+ detailed coverage]. Restate a point's name before expanding it, and make each expansion
63
+ self-contained.
51
64
  ```
52
65
 
66
+ The two-phase framing sentence sits before `TOPIC / QUESTION` so that both phases are
67
+ announced before the topic appears; the topic in turn sits before both phases so that
68
+ Phase 1's "the topic above" resolves once the headers are gone.
69
+
70
+ **Parallel expansion is not part of the emitted prompt.** The template runs both phases in
71
+ a single self-contained prompt. Splitting Phase 2 into one request per skeleton point — the
72
+ source of the paper's latency gain — is a workflow the sender builds around the model, not
73
+ an instruction the model can act on. A line such as "[Optional: expand points in parallel by
74
+ sending each as a separate request]" addresses the human holding the prompt, and a
75
+ header-stripped prompt has nowhere to put a note to the sender: the model would read it as
76
+ an instruction it cannot execute. If that note is ever added for the sender's benefit, it
77
+ must be deleted before the prompt is sent.
78
+
53
79
  ### Minimal Single-Pass SoT
54
80
  For use in a single prompt when parallel API calls aren't available:
55
81
  ```
@@ -67,14 +93,23 @@ Present as: Skeleton → then Full Expansion.
67
93
 
68
94
  **After SoT:**
69
95
  ```
96
+ Answer the topic or question below in two phases: first a skeleton outline, then a full
97
+ expansion of every point in that skeleton.
98
+
99
+ TOPIC / QUESTION:
100
+ Explain microservices architecture to a senior engineer who is evaluating whether to
101
+ migrate an existing monolith, covering the trade-offs that bear on that decision.
102
+
70
103
  PHASE 1 — SKELETON:
71
- Create a skeleton outline for explaining microservices architecture to a
72
- senior engineer evaluating whether to migrate from a monolith. List 5-7 key
73
- points in format: N. [name] | [one-sentence description]. Do not expand.
104
+ First, outline the topic above. List 5-7 key points, one per line, in this format:
105
+ N. [Point name] | [One-sentence description of what this point covers]
106
+ Replace N with the point's number and fill in both bracketed parts, keeping that line's
107
+ format exactly. Produce the skeleton and nothing else — do not expand any point yet.
74
108
 
75
109
  PHASE 2 — EXPAND:
76
- Expand each skeleton point into 2-3 paragraphs. Each section should be
77
- self-contained. Include specific trade-offs relevant to a migration decision.
110
+ Once the skeleton is complete, expand each of its points into 2-3 paragraphs. Restate a
111
+ point's name before expanding it, and make each expansion self-contained. Include the
112
+ specific trade-offs that bear on a migration decision.
78
113
  ```
79
114
 
80
115
  **Skeleton output (Phase 1):**
@@ -104,15 +139,26 @@ risk of scope creep, integration failures, and a multi-month feature freeze...
104
139
 
105
140
  **After SoT:**
106
141
  ```
142
+ Answer the topic or question below in two phases: first a skeleton outline, then a full
143
+ expansion of every point in that skeleton.
144
+
145
+ TOPIC / QUESTION:
146
+ Write a competitive analysis comparing our product against [you fill this in: name of the
147
+ first competitor] and [you fill this in: name of the second competitor], for an internal
148
+ audience deciding where to invest next.
149
+
107
150
  PHASE 1 — SKELETON:
108
- Create a skeleton for a competitive analysis covering our product vs. [Competitor A]
109
- and [Competitor B]. List 6-8 comparison dimensions in format:
110
- N. [dimension] | [what to compare]. Do not write the analysis yet.
151
+ First, outline the topic above. List 6-8 comparison dimensions, one per line, in this
152
+ format:
153
+ N. [Dimension name] | [One-sentence description of what to compare on that dimension]
154
+ Replace N with the dimension's number and fill in both bracketed parts, keeping that line's
155
+ format exactly. Produce the skeleton and nothing else — do not write the analysis yet.
111
156
 
112
157
  PHASE 2 — EXPAND:
113
- For each dimension, write 1 paragraph analyzing how our product compares on that
114
- dimension. Include specific, concrete observations. Flag any dimension where we
115
- have a clear advantage or significant gap.
158
+ Once the skeleton is complete, expand each dimension into one paragraph analyzing how our
159
+ product compares on it. Restate the dimension's name before expanding it, and make each
160
+ expansion self-contained. Use specific, concrete observations, and flag any dimension where
161
+ we have a clear advantage or a significant gap.
116
162
  ```
117
163
 
118
164
  ### Example 3: Learning Content
@@ -4,12 +4,14 @@
4
4
 
5
5
  Step-Back Prompting is a two-step reasoning technique where the model first answers a higher-level "step-back" question that retrieves the underlying principles, concepts, or facts relevant to the original problem — then uses those retrieved principles as context to answer the original question. By abstracting first, the model grounds its reasoning in first principles rather than diving directly into a potentially error-prone specific answer.
6
6
 
7
+ When the finished prompt is emitted, its section headers — ORIGINAL QUESTION, SOURCE MATERIAL, STEP-BACK, PRINCIPLE APPLICATION — are stripped, and the model receives a flat block of prose. Each slot is therefore written as a complete instruction that still reads correctly once its header is gone: the step-back question ships inside "Before answering directly, first answer this higher-level question," and the final step inside "Using the principles you just described, now answer the original question."
8
+
7
9
  **Research basis:** "Take a Step Back: Evoking Reasoning via Abstraction in Large Language Models" (Zheng et al., Google DeepMind, arXiv:2310.06117, ICLR 2024). Demonstrated +7% on MMLU Physics, +11% on Chemistry, +27% on TimeQA, and +7% on MuSiQue vs. direct prompting (PaLM-2L).
8
10
 
9
11
  ## Components
10
12
 
11
13
  ### Step 1: The Step-Back Question
12
- **Purpose:** Reformulate the original question into a higher-level, more abstract question that retrieves the underlying principles or concepts needed.
14
+ **Purpose:** Reformulate the original question into a higher-level, more abstract question that retrieves the underlying principles or concepts needed. Because the STEP-BACK header disappears at emission, the abstract question cannot stand as a bare fragment; it ships inside the carrier sentence `Before answering directly, first answer this higher-level question: …`, which keeps it readable as an instruction on its own.
13
15
 
14
16
  **Pattern:** Strip away specifics → ask for the general principle/rule/concept.
15
17
 
@@ -19,26 +21,40 @@ Step-Back Prompting is a two-step reasoning technique where the model first answ
19
21
  - Original: "Was the Battle of Stalingrad a turning point?" → Step-back: "What factors define a military turning point in a campaign?"
20
22
 
21
23
  ### Step 2: Principle Retrieval
22
- **Purpose:** Answer the step-back question to retrieve the relevant principles/concepts/facts. This becomes the reasoning context.
24
+ **Purpose:** Answer the step-back question to retrieve the relevant principles/concepts/facts. This becomes the reasoning context. This is not a written slot — nothing is typed here at emission. It is the model's response to the step-back question, produced between the abstraction and the final answer, and it becomes the context the final step draws on.
23
25
 
24
26
  ### Step 3: Final Answer
25
- **Purpose:** Use the retrieved principles as context to answer the original specific question.
27
+ **Purpose:** Use the retrieved principles as context to answer the original specific question. It ships inside the carrier sentence `Using the principles/concepts you just described, now answer the original question: …`, so the restated question reads as a directive once the PRINCIPLE APPLICATION header is stripped.
26
28
 
27
29
  **Trigger:** "Based on these principles, now answer the original question: [original question]"
28
30
 
29
31
  ## Template Structure
30
32
 
33
+ Section headers — `ORIGINAL QUESTION:`, `SOURCE MATERIAL:`, `STEP-BACK:`,
34
+ `PRINCIPLE APPLICATION:` — are stripped at emission, so each slot's meaning has to be
35
+ carried by the sentence in and around it rather than by the header above it. The step-back
36
+ question and the final question therefore ship inside carrier sentences, and the
37
+ `SOURCE MATERIAL` block is optional prose that names the artifact and ties it to the
38
+ reasoning below.
39
+
31
40
  ```
32
41
  ORIGINAL QUESTION:
33
42
  [The specific question you want answered]
34
43
 
44
+ SOURCE MATERIAL:
45
+ [Optional — paste the code, document, or system design the question above is about here. If
46
+ you have nothing to paste, delete this bracketed block along with the sentence directly
47
+ below it.]
48
+ Use the material above as the factual basis for the reasoning below — evaluate what is
49
+ actually there, not what is typical or assumed.
50
+
35
51
  STEP-BACK:
36
52
  Before answering directly, first answer this higher-level question:
37
- [Step-back question the abstract principle/concept behind the original]
53
+ [Rephrase the original into a more abstract question about underlying principles, concepts, or rules]
38
54
 
39
55
  PRINCIPLE APPLICATION:
40
56
  Using the principles/concepts you just described, now answer the original question:
41
- [Restate original question]
57
+ [Restate original question here]
42
58
  ```
43
59
 
44
60
  ### Auto Step-Back (Model generates its own step-back question):
@@ -52,12 +68,18 @@ Question: [your question]
52
68
 
53
69
  ## Complete Examples
54
70
 
71
+ Every example below is shown in emitted form: each slot reads as a complete instruction,
72
+ so nothing is lost when the section headers are stripped. Where the question is about an
73
+ existing artifact, the `SOURCE MATERIAL` block carries it and the reasoning refers to "the
74
+ X above"; where the task starts from nothing, that block is deleted.
75
+
55
76
  ### Example 1: Technical Decision
56
77
 
57
78
  **Before Step-Back:**
58
79
  "Should I use PostgreSQL or MongoDB for a social feed application?"
59
80
 
60
- **After Step-Back:**
81
+ **After Step-Back** (no source material — the question is self-contained, so the
82
+ `SOURCE MATERIAL` block is deleted):
61
83
  ```
62
84
  ORIGINAL QUESTION:
63
85
  Should I use PostgreSQL or MongoDB for a social feed application?
@@ -79,19 +101,24 @@ feed of posts, and can like/comment?
79
101
  **Before Step-Back:**
80
102
  "Why does my async function return undefined when I call it?"
81
103
 
82
- **After Step-Back:**
104
+ **After Step-Back** (source material supplied):
83
105
  ```
84
106
  ORIGINAL QUESTION:
85
107
  Why does my async function return undefined when I call it?
86
108
 
109
+ SOURCE MATERIAL:
110
+ [Paste the async function and the code that calls it here]
111
+ Use the material above as the factual basis for the reasoning below — evaluate what is
112
+ actually there, not what is typical or assumed.
113
+
87
114
  STEP-BACK:
88
115
  First explain: What are the core principles of how JavaScript async/await
89
116
  works, specifically regarding what an async function returns and how callers
90
117
  must handle it?
91
118
 
92
119
  PRINCIPLE APPLICATION:
93
- Using those principles, diagnose this specific issue: [paste code].
94
- Why does this return undefined, and what is the fix?
120
+ Using those principles, diagnose the specific issue in the code above:
121
+ why does it return undefined, and what is the fix?
95
122
  ```
96
123
 
97
124
  ### Example 3: Architecture Review
@@ -99,21 +126,25 @@ Why does this return undefined, and what is the fix?
99
126
  **Before Step-Back:**
100
127
  "Is our current authentication flow secure?"
101
128
 
102
- **After Step-Back:**
129
+ **After Step-Back** (source material supplied):
103
130
  ```
104
131
  ORIGINAL QUESTION:
105
132
  Is our current authentication flow secure?
106
133
 
134
+ SOURCE MATERIAL:
135
+ [Paste the authentication flow — the login sequence, session handling, and token logic — here]
136
+ Use the material above as the factual basis for the reasoning below — evaluate what is
137
+ actually there, not what is typical or assumed.
138
+
107
139
  STEP-BACK:
108
- Before reviewing our specific implementation, first outline: What are the
140
+ Before reviewing the specific implementation, first outline: What are the
109
141
  fundamental security principles and threat models that a well-designed
110
142
  authentication flow must address? Include: credential handling, session
111
143
  management, token security, and common attack vectors.
112
144
 
113
145
  PRINCIPLE APPLICATION:
114
- Using those security principles as a checklist, review our authentication
115
- flow below and identify any gaps or vulnerabilities.
116
- [Paste authentication flow]
146
+ Using those security principles as a checklist, review the authentication
147
+ flow above and identify any gaps or vulnerabilities.
117
148
  ```
118
149
 
119
150
  ### Example 4: Content/Writing
@@ -121,7 +152,8 @@ flow below and identify any gaps or vulnerabilities.
121
152
  **Before Step-Back:**
122
153
  "Write an introduction for my article about climate change and agriculture."
123
154
 
124
- **After Step-Back:**
155
+ **After Step-Back** (no source material — the introduction is written from scratch, so the
156
+ `SOURCE MATERIAL` block and the sentence below it are both deleted):
125
157
  ```
126
158
  ORIGINAL QUESTION:
127
159
  Write an introduction for my article about climate change and agriculture.
@@ -100,33 +100,81 @@ TIDD-EC is a precision-focused prompt template that provides clear boundaries an
100
100
 
101
101
  ## Template Structure
102
102
 
103
+ Section headers are stripped at emission, so every slot's meaning is carried by the prose
104
+ around and inside it rather than by the header above it. This matters most for the Don't
105
+ list: the negation must live in each bullet itself. A bare noun phrase under a `DON'T:`
106
+ header reads as an instruction to DO the very thing being forbidden once the header is
107
+ gone. Do not reintroduce header-only structure.
108
+
103
109
  ```
110
+ SOURCE MATERIAL:
111
+ [Optional — paste the artifact this task operates on here, naming it concretely, e.g. "Paste
112
+ the customer's message here" or "Paste the draft to translate here". If this task generates
113
+ from scratch, delete this bracketed block along with the sentence directly below it.]
114
+ Use the material above as the content for the work described below.
115
+
104
116
  TASK TYPE:
105
- [Clear indication of activity type]
117
+ The category of task you are performing is: [name the activity category only — e.g. "Customer
118
+ Support Response", "Data Analysis and Summarization", "Content Translation with Context
119
+ Preservation". Specifics of this particular case belong in the background at the end.]
106
120
 
107
121
  INSTRUCTIONS:
108
- [Specific steps and guidelines]
109
- 1. [Step 1]
110
- 2. [Step 2]
111
- 3. [Continue...]
122
+ Carry out the task as follows.
123
+ 1. [First step, as a complete imperative sentence beginning with a verb — e.g. "Read the
124
+ customer's message and identify the specific problem they report."]
125
+ 2. [Continue in the same form, one step per line, for as many steps as the methodology needs.
126
+ If standing guidelines govern this task rather than an ordered procedure, delete the numbered
127
+ list and keep only the standards below.]
128
+
129
+ Observe these standards throughout:
130
+ [Optional — one per line, each a complete imperative sentence, e.g. "Follow the company style
131
+ guide.", "Use a three-paragraph structure: problem, solution, next steps." If the numbered
132
+ steps are the whole methodology, delete this bracketed block along with the sentence above it.]
112
133
 
113
134
  DO:
114
- - [Action or element to include]
115
- - [Required approach or language]
116
- - [Structure to follow]
135
+ The output must satisfy every requirement below:
136
+ - [Always <required action, element, or information>]
137
+ - [Use <required language, tone, or terminology>]
138
+ - [Follow <required structure or format>]
139
+ - [Add more as needed, each led by "Always" or an imperative verb so it reads as a
140
+ requirement on its own line.]
117
141
 
118
142
  DON'T:
119
- - [Action or element to avoid]
120
- - [Error to prevent]
121
- - [Inappropriate approach]
143
+ The output must respect every prohibition below:
144
+ - [Do not <error or mistake to prevent>]
145
+ - [Never <inappropriate language or approach>]
146
+ - [Do not <common pitfall to prevent>]
147
+ - [Do not <exceed a stated limit or cross a boundary>]
148
+ - [Add more as needed, each led by "Do not" or "Never". The negation must live in the item
149
+ itself — a bare noun phrase reads as an instruction to DO the very thing being forbidden.]
122
150
 
123
151
  EXAMPLES:
124
- [Concrete examples of desired outcome]
125
- Example 1: [...]
126
- Example 2: [...]
152
+ [Optional if no reference sample is needed, delete everything from this line through the
153
+ counter-example below.]
154
+ The examples below set the standard your output must meet. Match their format, tone,
155
+ structure, and level of detail.
156
+
157
+ Example 1 — produce output like this:
158
+ [Write the desired output in full — the actual text, not a description of it. If the user
159
+ supplied an approved sample or boilerplate, reproduce it here.]
160
+
161
+ Example 2 — also produce output like this:
162
+ [Optional — a second full example at the same quality bar. If one is enough, delete this
163
+ bracketed block along with the label line above it.]
164
+
165
+ Counter-example — do NOT produce output like this:
166
+ [Optional — a full counter-example of the failure mode, opening with a sentence naming it
167
+ unacceptable, e.g. "The following response would be unacceptable because it deflects blame:",
168
+ so the warning survives without its label. If not useful, delete this bracketed block along
169
+ with the label line above it.]
127
170
 
128
171
  CONTEXT:
129
- [Background information and user-provided content]
172
+ The background below describes the situation this task takes place in.
173
+ - [Optional — state each supplied background fact, constraint, situational factor, or
174
+ applicable standard as a complete sentence, one per line. Include only what the user supplied;
175
+ never invent one — if a needed fact is missing, leave a visible [you fill this in: <what is
176
+ needed>] placeholder instead of a guess. If the task needs no background, delete this
177
+ bracketed block along with the sentence above it.]
130
178
  ```
131
179
 
132
180
  ## Complete Example
@@ -136,35 +184,48 @@ CONTEXT:
136
184
 
137
185
  ### After TIDD-EC:
138
186
  ```
187
+ SOURCE MATERIAL:
188
+ "I ordered the ceramic serving set for my daughter's engagement party this Saturday
189
+ and it turned up in pieces. The box looked fine from the outside. I've been buying
190
+ from you for two years and this is the first time anything like this has happened,
191
+ but the timing could not be worse."
192
+ Use the material above as the content for the work described below.
193
+
139
194
  TASK TYPE:
140
- Customer Support Response - Complaint Resolution
195
+ The category of task you are performing is: Customer Support Response.
141
196
 
142
197
  INSTRUCTIONS:
143
- 1. Acknowledge the customer's frustration and validate their concern
144
- 2. Apologize for the inconvenience caused
145
- 3. Explain what happened (if known) in simple terms
146
- 4. Provide a concrete solution or next steps
147
- 5. Include timeline for resolution
148
- 6. Offer additional support contact information
198
+ Carry out the task as follows.
199
+ 1. Acknowledge the customer's frustration and validate their concern.
200
+ 2. Apologize for the inconvenience caused.
201
+ 3. Explain what happened, in simple terms, if the cause is known.
202
+ 4. Provide a concrete solution and the next steps you are taking.
203
+ 5. State a specific timeline for resolution.
204
+ 6. Offer a direct contact route for further support.
149
205
 
150
206
  DO:
151
- - Use empathetic, professional language
152
- - Personalize the response with customer name
153
- - Provide specific action items with timeframes
154
- - Include direct contact information for follow-up
155
- - Express genuine concern for their experience
156
- - Keep response between 150-250 words
207
+ The output must satisfy every requirement below:
208
+ - Always use empathetic, professional language.
209
+ - Always address the customer by name.
210
+ - Always give specific action items with timeframes attached.
211
+ - Always include direct contact information for follow-up.
212
+ - Always express genuine concern for their experience.
213
+ - Keep the response between 150 and 250 words.
157
214
 
158
215
  DON'T:
159
- - Make excuses or deflect blame
160
- - Use template language that sounds robotic
161
- - Make promises you can't keep
162
- - Include technical jargon or system error codes
163
- - Use passive voice ("mistakes were made")
164
- - Exceed 250 words or write less than 150
216
+ The output must respect every prohibition below:
217
+ - Do not make excuses or deflect blame onto the customer, a carrier, or a system.
218
+ - Never use template language that sounds robotic.
219
+ - Do not promise anything you cannot guarantee.
220
+ - Do not include technical jargon or internal system error codes.
221
+ - Never use passive voice to describe the failure (for example, "mistakes were made").
222
+ - Do not exceed 250 words, and do not write fewer than 150.
165
223
 
166
224
  EXAMPLES:
167
- Example 1 - Good Response:
225
+ The examples below set the standard your output must meet. Match their format, tone,
226
+ structure, and level of detail.
227
+
228
+ Example 1 — produce output like this:
168
229
  "Dear Sarah, I'm truly sorry that your order arrived damaged. I understand how
169
230
  frustrating this must be, especially since you needed it for this weekend's event.
170
231
  This happened because of a packaging error in our warehouse. Here's what I'm doing
@@ -173,16 +234,20 @@ you'll have it by Friday 2 PM, (2) You'll receive a full refund for the original
173
234
  order within 24 hours. If you have any concerns, please reach me directly at
174
235
  sarah.smith@company.com or 555-1234. We value your business and will make this right."
175
236
 
176
- Example 2 - Bad Response (What to Avoid):
237
+ Counter-example do NOT produce output like this:
238
+ The following response would be unacceptable because it hides behind passive voice,
239
+ blames a system rather than taking responsibility, offers no remedy or timeline, and
240
+ redirects the customer to a ticket number instead of a person:
177
241
  "We apologize for any inconvenience. Due to system errors, your order was damaged.
178
242
  Please contact our support team for further assistance. Ticket #12345."
179
243
 
180
244
  CONTEXT:
181
- - Company: E-commerce retailer specializing in home goods
182
- - Customer: Premium member who shops regularly
183
- - Issue: Damaged item received, needed for event
184
- - Previous interactions: Generally positive, 4.5/5 satisfaction rating
185
- - Company policy: Full refunds + replacement for damaged items
245
+ The background below describes the situation this task takes place in.
246
+ - The company is an e-commerce retailer specializing in home goods.
247
+ - The customer is a premium member who shops regularly.
248
+ - The customer received a damaged item that they needed for an event.
249
+ - Previous interactions have been generally positive, at a 4.5/5 satisfaction rating.
250
+ - Company policy allows a full refund plus a replacement for damaged items.
186
251
  ```
187
252
 
188
253
  ## Best Use Cases
@@ -313,7 +378,7 @@ CONTEXT:
313
378
 
314
379
  **Good**:
315
380
  - DO: "Use formal language, address customer by name, include specific metrics"
316
- - DON'T: "Use contractions, include unverified information, exceed 300 words"
381
+ - DON'T: "Do not use contractions, do not include unverified information, and do not exceed 300 words"
317
382
 
318
383
  ### 2. Contradictory Instructions
319
384
  **Bad**:
@@ -325,7 +390,7 @@ DON'T: Exceed 100 words
325
390
  **Good**:
326
391
  ```
327
392
  DO: Include top 3 key points with supporting data
328
- DON'T: Include tangential information or exceed 150 words
393
+ DON'T: Do not include tangential information, and do not exceed 150 words
329
394
  ```
330
395
 
331
396
  ### 3. Missing Context
@@ -396,8 +461,8 @@ For simpler tasks that don't need all components:
396
461
  ```
397
462
  TASK TYPE: [task]
398
463
  INSTRUCTIONS: [steps]
399
- DO: [requirements]
400
- DON'T: [restrictions]
464
+ DO: [requirements, each led by "Always" or an imperative verb]
465
+ DON'T: [restrictions, each led by "Do not" or "Never" so the negation survives header stripping]
401
466
  ```
402
467
  (Omit Examples and Context if not needed)
403
468