@ckelsoe/prompt-architect 3.2.2 → 3.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +3 -3
- package/.claude-plugin/plugin.json +2 -2
- package/CHANGELOG.md +135 -5
- package/MIGRATION.md +1 -1
- package/README.md +32 -47
- package/adapters/README.md +1 -1
- package/adapters/system-prompt.md +115 -59
- package/package.json +5 -4
- package/scripts/install.js +52 -22
- package/scripts/test.js +88 -40
- package/scripts/validate-skill.js +184 -56
- package/skills/prompt-architect/SKILL.md +94 -79
- package/skills/prompt-architect/assets/templates/ape_template.txt +14 -3
- package/skills/prompt-architect/assets/templates/bab_template.txt +23 -10
- package/skills/prompt-architect/assets/templates/broke_template.txt +31 -6
- package/skills/prompt-architect/assets/templates/cai-critique-revise_template.txt +16 -8
- package/skills/prompt-architect/assets/templates/care_template.txt +4 -0
- package/skills/prompt-architect/assets/templates/chain-of-density_template.txt +64 -35
- package/skills/prompt-architect/assets/templates/chain-of-thought_template.txt +8 -0
- package/skills/prompt-architect/assets/templates/co-star_template.txt +8 -0
- package/skills/prompt-architect/assets/templates/crispe_template.txt +6 -0
- package/skills/prompt-architect/assets/templates/ctf_template.txt +8 -0
- package/skills/prompt-architect/assets/templates/devils-advocate_template.txt +7 -0
- package/skills/prompt-architect/assets/templates/hybrid_template.txt +44 -24
- package/skills/prompt-architect/assets/templates/iterative-compression_template.txt +74 -0
- package/skills/prompt-architect/assets/templates/least-to-most_template.txt +4 -0
- package/skills/prompt-architect/assets/templates/plan-and-solve_template.txt +4 -0
- package/skills/prompt-architect/assets/templates/pre-mortem_template.txt +24 -14
- package/skills/prompt-architect/assets/templates/race_template.txt +9 -0
- package/skills/prompt-architect/assets/templates/rcot_template.txt +8 -0
- package/skills/prompt-architect/assets/templates/react_template.txt +38 -16
- package/skills/prompt-architect/assets/templates/rise-ie_template.txt +4 -0
- package/skills/prompt-architect/assets/templates/rise-ix_template.txt +3 -3
- package/skills/prompt-architect/assets/templates/risen_template.txt +7 -0
- package/skills/prompt-architect/assets/templates/rpef_template.txt +16 -11
- package/skills/prompt-architect/assets/templates/rtf_template.txt +9 -0
- package/skills/prompt-architect/assets/templates/skeleton-of-thought_template.txt +18 -10
- package/skills/prompt-architect/assets/templates/step-back_template.txt +4 -0
- package/skills/prompt-architect/assets/templates/tidd-ec_template.txt +54 -31
- package/skills/prompt-architect/assets/templates/tree-of-thought_template.txt +37 -21
- package/skills/prompt-architect/references/frameworks/ape.md +145 -57
- package/skills/prompt-architect/references/frameworks/bab.md +139 -58
- package/skills/prompt-architect/references/frameworks/broke.md +157 -57
- package/skills/prompt-architect/references/frameworks/cai-critique-revise.md +184 -76
- package/skills/prompt-architect/references/frameworks/care.md +67 -36
- package/skills/prompt-architect/references/frameworks/chain-of-density.md +111 -417
- package/skills/prompt-architect/references/frameworks/chain-of-thought.md +45 -19
- package/skills/prompt-architect/references/frameworks/co-star.md +102 -44
- package/skills/prompt-architect/references/frameworks/crispe.md +7 -5
- package/skills/prompt-architect/references/frameworks/ctf.md +75 -37
- package/skills/prompt-architect/references/frameworks/devils-advocate.md +105 -58
- package/skills/prompt-architect/references/frameworks/iterative-compression.md +448 -0
- package/skills/prompt-architect/references/frameworks/least-to-most.md +35 -13
- package/skills/prompt-architect/references/frameworks/plan-and-solve.md +38 -9
- package/skills/prompt-architect/references/frameworks/pre-mortem.md +182 -72
- package/skills/prompt-architect/references/frameworks/race.md +93 -38
- package/skills/prompt-architect/references/frameworks/rcot.md +1 -1
- package/skills/prompt-architect/references/frameworks/react.md +230 -97
- package/skills/prompt-architect/references/frameworks/reverse-role.md +23 -16
- package/skills/prompt-architect/references/frameworks/rise.md +120 -77
- package/skills/prompt-architect/references/frameworks/risen.md +82 -28
- package/skills/prompt-architect/references/frameworks/rpef.md +227 -58
- package/skills/prompt-architect/references/frameworks/rtf.md +4 -2
- package/skills/prompt-architect/references/frameworks/self-refine.md +4 -2
- package/skills/prompt-architect/references/frameworks/skeleton-of-thought.md +68 -22
- package/skills/prompt-architect/references/frameworks/step-back.md +48 -16
- package/skills/prompt-architect/references/frameworks/tidd-ec.md +129 -51
- package/skills/prompt-architect/references/frameworks/tree-of-thought.md +112 -37
- package/skills/prompt-architect/scripts/framework_analyzer.py +0 -807
- package/skills/prompt-architect/scripts/prompt_evaluator.py +0 -336
|
@@ -2,9 +2,28 @@
|
|
|
2
2
|
|
|
3
3
|
## Overview
|
|
4
4
|
|
|
5
|
-
RISE is a streamlined 4-component framework
|
|
5
|
+
RISE is a streamlined 4-component framework for structuring prompts around a role, the material to work from, a process, and a target output. This skill supports two variants, described below. Both emit as a flat block of prose with their section headers stripped, so each slot must read on its own once its label is gone: the role and the process survive as sentences and an ordered list, while the material each variant works from lives inside a named slot — the pasted input for RISE-IE, the pasted reference samples for RISE-IX — rather than under a header that will be deleted.
|
|
6
6
|
|
|
7
|
-
**
|
|
7
|
+
**Origin:** Community convention with no identifiable originator and no academic basis. The dominant documented expansion is **Role, Input, Steps, Expectation** — Fabio Vivas (fvivas.com); Juuzt.ai; Damien Griffin, "AI Quick Tips 111: Prompt Framework — R.I.S.E." (Thoughts Brewing, 17 December 2024). RISE's first appearance and original author could not be established. Not research-backed. Distinct from **RISEN** (Role, Instructions, Steps, End goal, Narrowing), which is a separate framework.
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Naming note — read before using this file
|
|
12
|
+
|
|
13
|
+
**"RISE-IE" and "RISE-IX" are this skill's internal shorthand.** They are not established terminology, and no external source uses either term. Do not present them to users as standard vocabulary — say "the Input-Expectation form of RISE" instead.
|
|
14
|
+
|
|
15
|
+
Verified published expansions of RISE:
|
|
16
|
+
|
|
17
|
+
| Expansion | Sources | Status |
|
|
18
|
+
|---|---|---|
|
|
19
|
+
| Role, **Input**, Steps, **Expectation** | fvivas.com; juuzt.ai; thoughtsbrewing.com; promptfoundry.me | **Dominant form** — 4+ independent sources |
|
|
20
|
+
| Role, **Instructions**, Steps, **Expectations** | promptwizz.com | Minority variant |
|
|
21
|
+
| Role, **Instruction**, **Specifics**, **Examples** | aipromptsx.com | Minority variant — note S = Specifics, not Steps |
|
|
22
|
+
| Role, Instructions, Steps, **Examples** | *none found* | **Unverified** — the pattern this file calls "RISE-IX" |
|
|
23
|
+
|
|
24
|
+
**RISE-IX is this skill's own composition, not a documented variant.** It remains a sound prompt pattern — role + directive + method + worked examples is good practice — but it is presented here as our construction, not as an established framework.
|
|
25
|
+
|
|
26
|
+
*Correction:* an earlier version of this file described both variants as "well-documented in authoritative sources." That was incorrect for RISE-IX. Of its three previously-cited sources: AiPromptsX defines S as "Specifics" rather than "Steps"; The Prompt Warrior documents RISEN and contains no RISE framework at all; and Thoughts Brewing documents the Input-Expectation form, making it a RISE-IE source. None supports Role/Instructions/Steps/Examples.
|
|
8
27
|
|
|
9
28
|
---
|
|
10
29
|
|
|
@@ -15,14 +34,14 @@ RISE is a streamlined 4-component framework that exists in **two legitimate vari
|
|
|
15
34
|
|
|
16
35
|
**Best for**: Data analysis, transformations, processing tasks
|
|
17
36
|
|
|
18
|
-
**
|
|
37
|
+
**Provenance**: The documented community form. Sources: Fabio Vivas (fvivas.com); Juuzt.ai; Damien Griffin / Thoughts Brewing (17 December 2024).
|
|
19
38
|
|
|
20
39
|
### RISE-IX: Instructions-Examples (Instruction-Focused)
|
|
21
40
|
**Components**: Role, **Instructions**, Steps, **Examples**
|
|
22
41
|
|
|
23
42
|
**Best for**: Content creation, learning tasks, example-based work
|
|
24
43
|
|
|
25
|
-
**
|
|
44
|
+
**Provenance**: This skill's own composition — no external source documents this exact expansion. The nearest published forms are Role/Instructions/Steps/**Expectations** (promptwizz.com) and Role/Instruction/**Specifics**/Examples (aipromptsx.com). Use as a house pattern; do not cite it as an established framework.
|
|
26
45
|
|
|
27
46
|
---
|
|
28
47
|
|
|
@@ -47,7 +66,7 @@ RISE is a streamlined 4-component framework that exists in **two legitimate vari
|
|
|
47
66
|
### RISE-IE Components
|
|
48
67
|
|
|
49
68
|
#### R - Role
|
|
50
|
-
**Purpose:** Define the perspective or expertise needed for the task.
|
|
69
|
+
**Purpose:** Define the perspective or expertise needed for the task, as a complete sentence. Nothing else in the emitted prompt establishes who is doing the work once the `ROLE` header is gone, so a bare noun phrase ("data analyst") leaves the perspective unstated.
|
|
51
70
|
|
|
52
71
|
**Questions to Ask:**
|
|
53
72
|
- What expertise is required?
|
|
@@ -55,12 +74,12 @@ RISE is a streamlined 4-component framework that exists in **two legitimate vari
|
|
|
55
74
|
- What knowledge level is needed?
|
|
56
75
|
|
|
57
76
|
**Examples:**
|
|
58
|
-
- "Act as a data analyst
|
|
59
|
-
- "You are a content editor
|
|
60
|
-
- "Take the perspective of a UX researcher
|
|
77
|
+
- "Act as a data analyst experienced with sales exports."
|
|
78
|
+
- "You are a content editor who works with long-form drafts."
|
|
79
|
+
- "Take the perspective of a UX researcher who reads raw session logs."
|
|
61
80
|
|
|
62
81
|
#### I - Input
|
|
63
|
-
**Purpose:**
|
|
82
|
+
**Purpose:** Carry the actual data or content the task runs on. This is where RISE-IE's source material lives — the input is pasted directly into this slot, then a short prose line ("About the material above: …") describes its format and quirks and ties it to the steps that follow. Because the material sits inside the slot rather than under a deletable header, name it in the paste line ("the customer review export (CSV)"), never as a generic "content".
|
|
64
83
|
|
|
65
84
|
**Questions to Ask:**
|
|
66
85
|
- What data/content is being provided?
|
|
@@ -69,12 +88,12 @@ RISE is a streamlined 4-component framework that exists in **two legitimate vari
|
|
|
69
88
|
- What should Claude expect to receive?
|
|
70
89
|
|
|
71
90
|
**Examples:**
|
|
72
|
-
- "
|
|
73
|
-
- "
|
|
74
|
-
- "
|
|
91
|
+
- "About the material above: a CSV export of 50 rows of sales data, one order per row, with a header line."
|
|
92
|
+
- "About the material above: a collection of user feedback emails, some with mixed English and Spanish."
|
|
93
|
+
- "About the material above: JSON API responses, occasionally with null fields where a value is missing."
|
|
75
94
|
|
|
76
95
|
#### S - Steps
|
|
77
|
-
**Purpose:** Define how to process the input.
|
|
96
|
+
**Purpose:** Define how to process the input, as an ordered list of actions. The numbered sequence reads as a procedure on its own, so it does not need the `STEPS` header to signal what it is, but each step should name what it operates on ("the reviews above") so the reference survives.
|
|
78
97
|
|
|
79
98
|
**Questions to Ask:**
|
|
80
99
|
- How should the input be processed?
|
|
@@ -83,11 +102,11 @@ RISE is a streamlined 4-component framework that exists in **two legitimate vari
|
|
|
83
102
|
- What analysis should be performed?
|
|
84
103
|
|
|
85
104
|
**Examples:**
|
|
86
|
-
- "1. Parse CSV, 2. Calculate
|
|
87
|
-
- "Extract key themes, categorize by sentiment, count occurrences..."
|
|
105
|
+
- "1. Parse the CSV above, 2. Calculate per-region totals, 3. Identify month-over-month trends..."
|
|
106
|
+
- "Extract key themes from the emails above, categorize each by sentiment, count occurrences..."
|
|
88
107
|
|
|
89
108
|
#### E - Expectation
|
|
90
|
-
**Purpose:** Define what the output should look like.
|
|
109
|
+
**Purpose:** Define what the output should look like — the deliverable and its shape. Phrase it as a standing description ("Produce a summary table that…") so it reads as the target output once the `EXPECTATION` header is removed rather than dangling as a loose noun phrase.
|
|
91
110
|
|
|
92
111
|
**Questions to Ask:**
|
|
93
112
|
- What format should output take?
|
|
@@ -96,38 +115,50 @@ RISE is a streamlined 4-component framework that exists in **two legitimate vari
|
|
|
96
115
|
- What's the deliverable?
|
|
97
116
|
|
|
98
117
|
**Examples:**
|
|
99
|
-
- "
|
|
100
|
-
- "
|
|
101
|
-
- "
|
|
118
|
+
- "Produce a summary table listing the top 10 items by revenue..."
|
|
119
|
+
- "Return a JSON object with the categorized results..."
|
|
120
|
+
- "Deliver a report with the key findings and one chart per region..."
|
|
102
121
|
|
|
103
122
|
### RISE-IE Template
|
|
104
123
|
|
|
124
|
+
Section headers are stripped at emission, so every slot's meaning is carried by the prose around and inside it rather than by the header above it. The `INPUT` slot is where RISE-IE's source material goes — the data is pasted directly into it, and the `About the material above:` line ties that pasted data to the description and the steps below. Because RISE-IE is the data-processing variant, there is no from-scratch form: without input to work on, the framework has nothing to do, so the input slot is never deleted.
|
|
125
|
+
|
|
105
126
|
```
|
|
106
127
|
ROLE:
|
|
107
|
-
[
|
|
128
|
+
[Define the perspective or expertise needed for this task]
|
|
108
129
|
|
|
109
130
|
INPUT:
|
|
110
|
-
[
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
131
|
+
[Paste the data or content to be processed here — name it specifically in this line, e.g.
|
|
132
|
+
"Paste the customer review export (CSV) here". Paste the material itself, not a description of it.]
|
|
133
|
+
|
|
134
|
+
About the material above:
|
|
135
|
+
[Specify what data/content is being provided:
|
|
136
|
+
- Format and structure (CSV, JSON, text, etc.)
|
|
137
|
+
- Key characteristics and fields
|
|
138
|
+
- Any quirks or special considerations
|
|
139
|
+
- What to expect in the data]
|
|
114
140
|
|
|
115
141
|
STEPS:
|
|
116
|
-
1. [
|
|
117
|
-
2. [Processing
|
|
118
|
-
3. [Processing
|
|
119
|
-
4. [
|
|
142
|
+
1. [How to process the input - first action]
|
|
143
|
+
2. [Processing step 2 - transformation or analysis]
|
|
144
|
+
3. [Processing step 3 - continue with methodology]
|
|
145
|
+
4. [Add more processing/analysis steps as needed...]
|
|
120
146
|
|
|
121
147
|
EXPECTATION:
|
|
122
|
-
[
|
|
148
|
+
[Define what the output should look like:
|
|
123
149
|
- Format and structure
|
|
124
|
-
- Required elements
|
|
125
|
-
- Level of detail
|
|
126
|
-
- Length or size constraints
|
|
150
|
+
- Required elements and sections
|
|
151
|
+
- Level of detail needed
|
|
152
|
+
- Length or size constraints
|
|
153
|
+
- Specific deliverables]
|
|
127
154
|
```
|
|
128
155
|
|
|
129
156
|
### RISE-IE Complete Example
|
|
130
157
|
|
|
158
|
+
The example below is shown in emitted form: the material is pasted into the input slot,
|
|
159
|
+
and every later slot references "the reviews above" so nothing is lost when the headers
|
|
160
|
+
are deleted.
|
|
161
|
+
|
|
131
162
|
**Before RISE-IE:**
|
|
132
163
|
"Analyze these customer reviews."
|
|
133
164
|
|
|
@@ -137,27 +168,27 @@ ROLE:
|
|
|
137
168
|
You are a customer insights analyst with expertise in sentiment analysis and theme extraction.
|
|
138
169
|
|
|
139
170
|
INPUT:
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
171
|
+
[Paste the 50 customer reviews exported from the mobile app here]
|
|
172
|
+
|
|
173
|
+
About the material above:
|
|
174
|
+
50 customer reviews from our mobile app. Each review contains a star rating (1-5), the
|
|
175
|
+
written feedback, the date of the review, and the user segment (free or premium).
|
|
145
176
|
|
|
146
177
|
STEPS:
|
|
147
|
-
1. Categorize reviews by sentiment (positive, neutral, negative)
|
|
148
|
-
2. Extract common themes and topics
|
|
178
|
+
1. Categorize the reviews above by sentiment (positive, neutral, negative)
|
|
179
|
+
2. Extract the common themes and topics they mention
|
|
149
180
|
3. Identify feature requests vs. complaints vs. praise
|
|
150
|
-
4. Segment findings by user type (free vs. premium)
|
|
151
|
-
5. Highlight urgent issues mentioned multiple
|
|
181
|
+
4. Segment the findings by user type (free vs. premium)
|
|
182
|
+
5. Highlight urgent issues mentioned by multiple reviewers
|
|
152
183
|
6. Note any patterns in timing or trends
|
|
153
184
|
|
|
154
185
|
EXPECTATION:
|
|
155
|
-
|
|
156
|
-
-
|
|
157
|
-
-
|
|
158
|
-
-
|
|
159
|
-
-
|
|
160
|
-
-
|
|
186
|
+
Produce a structured analysis containing:
|
|
187
|
+
- A summary table showing the sentiment distribution
|
|
188
|
+
- The top 5 themes with frequency counts
|
|
189
|
+
- A list of feature requests ranked by number of mentions
|
|
190
|
+
- The critical issues requiring immediate attention
|
|
191
|
+
- A comparison of free vs. premium user feedback
|
|
161
192
|
- 2-3 actionable recommendations
|
|
162
193
|
```
|
|
163
194
|
|
|
@@ -184,7 +215,7 @@ Provide a structured analysis with:
|
|
|
184
215
|
### RISE-IX Components
|
|
185
216
|
|
|
186
217
|
#### R - Role
|
|
187
|
-
**Purpose:** Define who the AI should embody (persona or expertise).
|
|
218
|
+
**Purpose:** Define who the AI should embody (persona or expertise), as a complete sentence. Once the `ROLE` header is stripped nothing else names the persona, so a bare noun phrase leaves the emitted prompt without one.
|
|
188
219
|
|
|
189
220
|
**Questions to Ask:**
|
|
190
221
|
- What persona is most appropriate?
|
|
@@ -197,7 +228,7 @@ Provide a structured analysis with:
|
|
|
197
228
|
- "Take on the role of a technical writer..."
|
|
198
229
|
|
|
199
230
|
#### I - Instructions
|
|
200
|
-
**Purpose:** Specify the main task or directive.
|
|
231
|
+
**Purpose:** Specify the main task or directive, as a complete imperative sentence. This is the only slot that states what to produce, so it must carry the instruction on its own once the `INSTRUCTIONS` header is gone.
|
|
201
232
|
|
|
202
233
|
**Questions to Ask:**
|
|
203
234
|
- What is the primary task?
|
|
@@ -211,7 +242,7 @@ Provide a structured analysis with:
|
|
|
211
242
|
- "Develop an email sequence for customer onboarding"
|
|
212
243
|
|
|
213
244
|
#### S - Steps
|
|
214
|
-
**Purpose:** Outline the process or methodology to follow.
|
|
245
|
+
**Purpose:** Outline the process or methodology to follow, as an ordered list. The numbered sequence reads as a workflow on its own and does not depend on the `STEPS` header to signal what it is.
|
|
215
246
|
|
|
216
247
|
**Questions to Ask:**
|
|
217
248
|
- What's the sequence of actions?
|
|
@@ -224,7 +255,7 @@ Provide a structured analysis with:
|
|
|
224
255
|
- "Start with hook, develop key points, conclude with action items"
|
|
225
256
|
|
|
226
257
|
#### E - Examples
|
|
227
|
-
**Purpose:**
|
|
258
|
+
**Purpose:** Carry the actual reference samples the output should match. This is where RISE-IX's material lives — the samples themselves are pasted into this slot, not descriptions of them, and they are what the framework works from in place of a source-material block. Because they land here, RISE-IX needs no separate material slot: each pasted sample should be the real piece whose style and format the output should emulate, introduced by a line ("Match the style of the samples below:") so the samples read as models once the `EXAMPLES` header is gone.
|
|
228
259
|
|
|
229
260
|
**Questions to Ask:**
|
|
230
261
|
- What does good output look like?
|
|
@@ -233,38 +264,52 @@ Provide a structured analysis with:
|
|
|
233
264
|
- What format should be followed?
|
|
234
265
|
|
|
235
266
|
**Examples:**
|
|
236
|
-
- "
|
|
237
|
-
- "Follow the
|
|
238
|
-
- "
|
|
267
|
+
- "Match the style of the two product descriptions pasted below."
|
|
268
|
+
- "Follow the structure of the onboarding email pasted below."
|
|
269
|
+
- "Produce copy in the voice of the sample post pasted below."
|
|
239
270
|
|
|
240
271
|
### RISE-IX Template
|
|
241
272
|
|
|
273
|
+
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. RISE-IX has no source-material block: the reference samples are its material, and they are pasted into the `EXAMPLES` slot as the actual pieces to match. The role and instructions must be complete sentences, and the samples must be reproduced in full rather than described.
|
|
274
|
+
|
|
242
275
|
```
|
|
243
276
|
ROLE:
|
|
244
|
-
[
|
|
277
|
+
[Define who the AI should embody - persona or expertise level]
|
|
245
278
|
|
|
246
279
|
INSTRUCTIONS:
|
|
247
|
-
[
|
|
280
|
+
[Specify the main task or directive:
|
|
248
281
|
- What to create or accomplish
|
|
249
282
|
- Core requirements
|
|
250
|
-
- Key guidelines to follow
|
|
283
|
+
- Key guidelines to follow
|
|
284
|
+
- Specific constraints or considerations]
|
|
251
285
|
|
|
252
286
|
STEPS:
|
|
253
287
|
1. [Approach or methodology step 1]
|
|
254
|
-
2. [Step 2]
|
|
255
|
-
3. [Step 3]
|
|
256
|
-
4. [
|
|
288
|
+
2. [Step 2 - how to execute the task]
|
|
289
|
+
3. [Step 3 - continue with workflow]
|
|
290
|
+
4. [Add more steps as needed for the creative/instruction process...]
|
|
257
291
|
|
|
258
292
|
EXAMPLES:
|
|
259
|
-
[
|
|
260
|
-
- Reference materials
|
|
261
|
-
-
|
|
262
|
-
-
|
|
263
|
-
-
|
|
293
|
+
[Provide positive examples showing desired output:
|
|
294
|
+
- Reference materials that demonstrate the style
|
|
295
|
+
- Format examples to emulate
|
|
296
|
+
- Successful outputs from similar tasks
|
|
297
|
+
- 2-3 concrete examples recommended]
|
|
298
|
+
|
|
299
|
+
Example 1: [Paste the first reference sample here — the actual piece whose style and format the output should match, not a description of it]
|
|
300
|
+
|
|
301
|
+
Example 2: [Paste a second reference sample here]
|
|
302
|
+
|
|
303
|
+
Example 3: [Optional — paste a third reference sample here if more clarity is needed. If you only have two, delete this line and the blank line above it.]
|
|
264
304
|
```
|
|
265
305
|
|
|
266
306
|
### RISE-IX Complete Example
|
|
267
307
|
|
|
308
|
+
The example below is shown in emitted form: the instructions read as a standing directive,
|
|
309
|
+
and the reference samples are pasted in full into the examples slot as the models the
|
|
310
|
+
output must match. RISE-IX has no source-material block to delete — its samples are what
|
|
311
|
+
it works from, so the examples slot is always present.
|
|
312
|
+
|
|
268
313
|
**Before RISE-IX:**
|
|
269
314
|
"Write product descriptions for our sustainable clothing line."
|
|
270
315
|
|
|
@@ -274,22 +319,20 @@ ROLE:
|
|
|
274
319
|
You are a senior copywriter specializing in sustainable fashion and eco-conscious brands.
|
|
275
320
|
|
|
276
321
|
INSTRUCTIONS:
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
- Include specific product details and benefits
|
|
282
|
-
- Drive purchase intent through emotional connection
|
|
322
|
+
Write compelling product descriptions for our new sustainable clothing line that
|
|
323
|
+
highlight eco-friendly materials and production methods, appeal to environmentally
|
|
324
|
+
conscious millennials, emphasize both style and sustainability, include specific product
|
|
325
|
+
details and benefits, and drive purchase intent through an emotional connection.
|
|
283
326
|
|
|
284
327
|
STEPS:
|
|
285
328
|
1. Start with an attention-grabbing opening about the product's unique appeal
|
|
286
329
|
2. Describe the sustainable materials and ethical production process
|
|
287
330
|
3. Highlight the product's style, fit, and versatility
|
|
288
331
|
4. Include specific technical details (materials, care, sizing)
|
|
289
|
-
5. End with a call-to-action emphasizing the impact of
|
|
332
|
+
5. End with a call-to-action emphasizing the impact of the purchase
|
|
290
333
|
|
|
291
334
|
EXAMPLES:
|
|
292
|
-
|
|
335
|
+
Match the style, tone, and structure of the two reference descriptions below.
|
|
293
336
|
|
|
294
337
|
Example 1: "The Ocean Breeze Tee - Crafted from 100% recycled ocean plastics,
|
|
295
338
|
this impossibly soft tee proves sustainability never has to sacrifice style. Each
|
|
@@ -542,13 +585,13 @@ every wear while treading lightly on the planet..."
|
|
|
542
585
|
|
|
543
586
|
## Summary
|
|
544
587
|
|
|
545
|
-
|
|
588
|
+
This file documents two RISE patterns:
|
|
546
589
|
|
|
547
|
-
**RISE-IE (Input-Expectation)**: Best for data processing, analysis, and transformation tasks where you have specific input to work with.
|
|
590
|
+
**RISE-IE (Input-Expectation)**: The documented community form of RISE. Best for data processing, analysis, and transformation tasks where you have specific input to work with.
|
|
548
591
|
|
|
549
|
-
**RISE-IX (Instructions-Examples)**: Best for content creation, writing, and tasks where examples help clarify desired output style.
|
|
592
|
+
**RISE-IX (Instructions-Examples)**: This skill's own variant, not an externally documented form. Best for content creation, writing, and tasks where examples help clarify desired output style.
|
|
550
593
|
|
|
551
|
-
Both
|
|
594
|
+
Both are practically effective. Only RISE-IE has external documentation — say so if a user asks where these come from. Choose based on whether your task is more analytical/data-focused (IE) or creative/instruction-focused (IX).
|
|
552
595
|
|
|
553
596
|
When in doubt, ask: **"Am I processing data or creating content?"**
|
|
554
597
|
- Processing data → **RISE-IE**
|
|
@@ -2,12 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
## Overview
|
|
4
4
|
|
|
5
|
-
RISEN is a methodology-focused framework that emphasizes process, steps, and boundaries. It's ideal for complex multi-step tasks where following a specific procedure matters, and where defining what NOT to do is as important as what to do.
|
|
5
|
+
RISEN is a methodology-focused framework that emphasizes process, steps, and boundaries. It's ideal for complex multi-step tasks where following a specific procedure matters, and where defining what NOT to do is as important as what to do. A complete RISEN prompt emits as a flat block with its section headers stripped — the role and instructions survive as sentences, the steps as a numbered list, the end goal as a standing description of the deliverable, and the narrowing as explicit "Do not" lines — optionally preceded by a source-material block holding the artifact the procedure runs on.
|
|
6
|
+
|
|
7
|
+
**Origin:** Community framework, attributed to Kyle Balmer (AI educator, @iamkylebalmer). The earliest dated appearance is Moritz Kremb, "5 prompt frameworks to level up your prompts" (The Prompt Warrior, 13 October 2023), which credits Balmer with creating and sharing it; Balmer himself writes only "I call the RISEN framework" and makes no claim of invention. No academic source documents RISEN.
|
|
6
8
|
|
|
7
9
|
## Components
|
|
8
10
|
|
|
9
11
|
### R - Role
|
|
10
|
-
**Purpose:** Define the persona, expertise level, or perspective Claude should adopt.
|
|
12
|
+
**Purpose:** Define the persona, expertise level, or perspective Claude should adopt, as a complete sentence. Nothing else in the emitted prompt establishes the role once the `ROLE` header is stripped, so a bare noun phrase leaves it unstated.
|
|
11
13
|
|
|
12
14
|
**Questions to Ask:**
|
|
13
15
|
- What expertise should be demonstrated?
|
|
@@ -21,7 +23,7 @@ RISEN is a methodology-focused framework that emphasizes process, steps, and bou
|
|
|
21
23
|
- "You are a patient teacher explaining to beginners..."
|
|
22
24
|
|
|
23
25
|
### I - Instructions
|
|
24
|
-
**Purpose:** Provide high-level guidance, principles, and overarching direction.
|
|
26
|
+
**Purpose:** Provide high-level guidance, principles, and overarching direction, as complete sentences. When it points at supplied material, name that material ("the module above") so the reference survives the header being stripped.
|
|
25
27
|
|
|
26
28
|
**Questions to Ask:**
|
|
27
29
|
- What are the governing principles?
|
|
@@ -35,7 +37,7 @@ RISEN is a methodology-focused framework that emphasizes process, steps, and bou
|
|
|
35
37
|
- "Use clear, simple language throughout..."
|
|
36
38
|
|
|
37
39
|
### S - Steps
|
|
38
|
-
**Purpose:** Break down the task into detailed, sequential actions.
|
|
40
|
+
**Purpose:** Break down the task into detailed, sequential actions. The numbered list reads as an ordered procedure on its own and does not rely on the `STEPS` header to signal what it is, so each step should begin with a verb and name what it operates on where relevant.
|
|
39
41
|
|
|
40
42
|
**Questions to Ask:**
|
|
41
43
|
- What's the exact sequence of actions?
|
|
@@ -48,7 +50,7 @@ RISEN is a methodology-focused framework that emphasizes process, steps, and bou
|
|
|
48
50
|
- "First validate input, then process, finally output..."
|
|
49
51
|
|
|
50
52
|
### E - End Goal
|
|
51
|
-
**Purpose:** Define success criteria and the final desired outcome.
|
|
53
|
+
**Purpose:** Define success criteria and the final desired outcome. Phrase it as a standing description of the deliverable ("A comprehensive report that…") so it reads as the target once the `END GOAL` header is removed, rather than dangling as a loose noun phrase.
|
|
52
54
|
|
|
53
55
|
**Questions to Ask:**
|
|
54
56
|
- What does success look like?
|
|
@@ -62,7 +64,7 @@ RISEN is a methodology-focused framework that emphasizes process, steps, and bou
|
|
|
62
64
|
- "Working code that passes all integration tests..."
|
|
63
65
|
|
|
64
66
|
### N - Narrowing
|
|
65
|
-
**Purpose:** Set constraints, boundaries, and explicitly state what NOT to do.
|
|
67
|
+
**Purpose:** Set constraints, boundaries, and explicitly state what NOT to do. Each item must begin with "Do not", "Avoid", "Out of scope", or "Stay within" so the negation lives in the item itself — once the `NARROWING` header is stripped, a bare noun phrase would read as an instruction to DO the very thing being ruled out.
|
|
66
68
|
|
|
67
69
|
**Questions to Ask:**
|
|
68
70
|
- What should be avoided?
|
|
@@ -78,45 +80,65 @@ RISEN is a methodology-focused framework that emphasizes process, steps, and bou
|
|
|
78
80
|
|
|
79
81
|
## Template Structure
|
|
80
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. This matters most for Narrowing: each constraint must begin with "Do not", "Avoid", "Out of scope", or "Stay within" so the boundary survives once the `NARROWING` header is gone — a bare noun phrase would read as an instruction to DO the very thing being ruled out. Role and Instructions are already complete sentences, the numbered Steps read as an ordered sequence on their own, and the End Goal should name the deliverable as a standing description so it does not dangle when its header is removed. The optional `SOURCE MATERIAL` block, when present, holds the artifact the procedure runs on, named concretely and tied to the steps by one line of prose; it is omitted entirely for from-scratch procedures.
|
|
84
|
+
|
|
81
85
|
```
|
|
86
|
+
SOURCE MATERIAL:
|
|
87
|
+
[OPTIONAL — include only if the procedure below operates on something the user already has.
|
|
88
|
+
If so, emit a literal paste instruction naming the specific artifact, e.g. "[Paste the authentication module source here]"
|
|
89
|
+
or "[Paste the Q3 sales dataset here]" — then one line of prose tying it to what follows,
|
|
90
|
+
e.g. "The material above is what the steps below are applied to."
|
|
91
|
+
If the task generates entirely from scratch, omit this section — do not emit an empty placeholder.]
|
|
92
|
+
|
|
82
93
|
ROLE:
|
|
83
|
-
[
|
|
94
|
+
[Define the expertise level, persona, or perspective to adopt. What knowledge should be demonstrated?]
|
|
84
95
|
|
|
85
96
|
INSTRUCTIONS:
|
|
86
|
-
[
|
|
97
|
+
[Provide high-level guidance, principles, and overarching direction. What methodology or approach should guide this work?]
|
|
87
98
|
|
|
88
99
|
STEPS:
|
|
89
|
-
1. [First action]
|
|
90
|
-
2. [Second action]
|
|
91
|
-
3. [Third action]
|
|
92
|
-
[Continue with detailed
|
|
100
|
+
1. [First specific action or stage]
|
|
101
|
+
2. [Second specific action or stage]
|
|
102
|
+
3. [Third specific action or stage]
|
|
103
|
+
[Continue with detailed, sequential steps...]
|
|
93
104
|
|
|
94
105
|
END GOAL:
|
|
95
|
-
[
|
|
106
|
+
[Define success criteria and final desired outcome. What should be true when complete? How will we know it's done correctly?]
|
|
96
107
|
|
|
97
108
|
NARROWING:
|
|
98
|
-
- Do NOT: [
|
|
99
|
-
- Avoid: [
|
|
100
|
-
- Out of scope: [
|
|
101
|
-
- Stay within: [
|
|
109
|
+
- Do NOT: [Specific thing to avoid]
|
|
110
|
+
- Avoid: [Approach or pattern to avoid]
|
|
111
|
+
- Out of scope: [What's not included]
|
|
112
|
+
- Stay within: [Boundaries and constraints]
|
|
113
|
+
- Constraints: [Limitations to respect]
|
|
102
114
|
```
|
|
103
115
|
|
|
104
|
-
## Complete
|
|
116
|
+
## Complete Examples
|
|
117
|
+
|
|
118
|
+
Both examples below are shown in emitted form: each slot carries its own role in prose, so
|
|
119
|
+
nothing is lost when the headers are deleted. The first operates on supplied material and
|
|
120
|
+
opens with a `SOURCE MATERIAL` block; the second generates from scratch and omits it.
|
|
121
|
+
|
|
122
|
+
### Example 1: Security review of supplied code (source material supplied)
|
|
105
123
|
|
|
106
|
-
|
|
124
|
+
**Before RISEN:**
|
|
107
125
|
"Help me review this codebase."
|
|
108
126
|
|
|
109
|
-
|
|
127
|
+
**After RISEN:**
|
|
110
128
|
```
|
|
129
|
+
SOURCE MATERIAL:
|
|
130
|
+
[Paste the authentication module source here]
|
|
131
|
+
The material above is what the steps below are applied to.
|
|
132
|
+
|
|
111
133
|
ROLE:
|
|
112
134
|
You are a senior code reviewer with expertise in Python and system security. You have 10+ years of experience identifying vulnerabilities and architectural issues.
|
|
113
135
|
|
|
114
136
|
INSTRUCTIONS:
|
|
115
|
-
Conduct a thorough security-focused
|
|
137
|
+
Conduct a thorough security-focused review of the module above following OWASP guidelines. Prioritize identifying security vulnerabilities over style issues. Consider both the code itself and its architectural implications.
|
|
116
138
|
|
|
117
139
|
STEPS:
|
|
118
|
-
1. Scan for common security vulnerabilities (SQL injection, XSS, auth issues)
|
|
119
|
-
2. Review authentication and authorization logic
|
|
140
|
+
1. Scan the module above for common security vulnerabilities (SQL injection, XSS, auth issues)
|
|
141
|
+
2. Review its authentication and authorization logic
|
|
120
142
|
3. Examine data validation and sanitization
|
|
121
143
|
4. Check for sensitive data exposure
|
|
122
144
|
5. Analyze third-party dependencies for known vulnerabilities
|
|
@@ -132,15 +154,47 @@ A comprehensive security assessment report that:
|
|
|
132
154
|
- Includes specific code references with line numbers
|
|
133
155
|
- Provides concrete remediation steps for each issue
|
|
134
156
|
- Prioritizes fixes by risk and effort
|
|
135
|
-
- Can be shared with development team for action
|
|
157
|
+
- Can be shared with the development team for action
|
|
136
158
|
|
|
137
159
|
NARROWING:
|
|
138
160
|
- Do NOT focus on code style or formatting issues
|
|
139
161
|
- Do NOT suggest complete rewrites; focus on targeted fixes
|
|
140
|
-
- Avoid generic security advice; be specific to
|
|
162
|
+
- Avoid generic security advice; be specific to the module above
|
|
141
163
|
- Do NOT include theoretical vulnerabilities that don't apply
|
|
142
|
-
- Stay within Python ecosystem;
|
|
143
|
-
- Do NOT redesign the architecture; work within current structure
|
|
164
|
+
- Stay within the Python ecosystem; do not suggest language changes
|
|
165
|
+
- Do NOT redesign the architecture; work within the current structure
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
### Example 2: Onboarding runbook written from scratch (no source material)
|
|
169
|
+
|
|
170
|
+
**Before RISEN:**
|
|
171
|
+
"Write an onboarding runbook for new engineers."
|
|
172
|
+
|
|
173
|
+
**After RISEN** (no source material — the runbook is written from scratch, so the
|
|
174
|
+
`SOURCE MATERIAL` block is omitted):
|
|
175
|
+
```
|
|
176
|
+
ROLE:
|
|
177
|
+
You are a staff engineer who has onboarded dozens of new hires onto this team's backend services and knows where newcomers get stuck.
|
|
178
|
+
|
|
179
|
+
INSTRUCTIONS:
|
|
180
|
+
Write a first-week onboarding runbook for engineers joining the payments team. Assume the reader has general backend experience but no knowledge of our systems, and favor concrete commands over prose.
|
|
181
|
+
|
|
182
|
+
STEPS:
|
|
183
|
+
1. List the accounts, tools, and access a new engineer must request on day one
|
|
184
|
+
2. Walk through cloning the repositories and running the service locally
|
|
185
|
+
3. Explain how to run the test suite and read its output
|
|
186
|
+
4. Describe how to open, review, and merge a first pull request
|
|
187
|
+
5. Point to the runbooks and dashboards used during on-call
|
|
188
|
+
|
|
189
|
+
END GOAL:
|
|
190
|
+
A self-contained runbook a new engineer can follow unattended in their first week, ending with a working local environment and one merged trivial pull request.
|
|
191
|
+
|
|
192
|
+
NARROWING:
|
|
193
|
+
- Do NOT assume any prior knowledge of our internal tooling
|
|
194
|
+
- Avoid linking to documents that require access the reader does not yet have
|
|
195
|
+
- Out of scope: on-call rotation policy and compensation details
|
|
196
|
+
- Stay within the payments team's services; do not document unrelated systems
|
|
197
|
+
- Do NOT include real credentials or secrets in any example command
|
|
144
198
|
```
|
|
145
199
|
|
|
146
200
|
## Best Use Cases
|
|
@@ -228,7 +282,7 @@ Within each step, add:
|
|
|
228
282
|
REASONING: Think through why and how for this step
|
|
229
283
|
```
|
|
230
284
|
|
|
231
|
-
### Simplified RISEN (RISE)
|
|
285
|
+
### Simplified RISEN (RISE-IE)
|
|
232
286
|
When narrowing isn't critical:
|
|
233
287
|
```
|
|
234
288
|
ROLE:
|