@ckelsoe/prompt-architect 3.0.2 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/CHANGELOG.md +264 -264
- package/LICENSE +21 -21
- package/README.md +1064 -1184
- package/adapters/README.md +75 -267
- package/adapters/for-windsurf.md +136 -136
- package/adapters/system-prompt.md +243 -243
- package/package.json +139 -138
- package/scripts/build-skill.js +64 -0
- package/scripts/install.js +4 -54
- package/scripts/test.js +205 -213
- package/scripts/validate-skill.js +350 -350
- package/skills/prompt-architect/SKILL.md +343 -331
- package/skills/prompt-architect/assets/templates/ape_template.txt +5 -5
- package/skills/prompt-architect/assets/templates/bab_template.txt +15 -15
- package/skills/prompt-architect/assets/templates/broke_template.txt +15 -15
- package/skills/prompt-architect/assets/templates/cai-critique-revise_template.txt +18 -18
- package/skills/prompt-architect/assets/templates/care_template.txt +16 -16
- package/skills/prompt-architect/assets/templates/chain-of-density_template.txt +46 -46
- package/skills/prompt-architect/assets/templates/chain-of-thought_template.txt +49 -49
- package/skills/prompt-architect/assets/templates/co-star_template.txt +17 -17
- package/skills/prompt-architect/assets/templates/crispe_template.txt +14 -14
- package/skills/prompt-architect/assets/templates/ctf_template.txt +15 -15
- package/skills/prompt-architect/assets/templates/devils-advocate_template.txt +25 -25
- package/skills/prompt-architect/assets/templates/hybrid_template.txt +101 -101
- package/skills/prompt-architect/assets/templates/least-to-most_template.txt +16 -16
- package/skills/prompt-architect/assets/templates/plan-and-solve_template.txt +7 -7
- package/skills/prompt-architect/assets/templates/pre-mortem_template.txt +27 -27
- package/skills/prompt-architect/assets/templates/race_template.txt +19 -19
- package/skills/prompt-architect/assets/templates/rcot_template.txt +31 -31
- package/skills/prompt-architect/assets/templates/react_template.txt +27 -27
- package/skills/prompt-architect/assets/templates/reverse-role_template.txt +11 -11
- package/skills/prompt-architect/assets/templates/rise-ie_template.txt +23 -23
- package/skills/prompt-architect/assets/templates/rise-ix_template.txt +28 -28
- package/skills/prompt-architect/assets/templates/risen_template.txt +21 -21
- package/skills/prompt-architect/assets/templates/rpef_template.txt +26 -26
- package/skills/prompt-architect/assets/templates/rtf_template.txt +13 -13
- package/skills/prompt-architect/assets/templates/self-refine_template.txt +16 -16
- package/skills/prompt-architect/assets/templates/skeleton-of-thought_template.txt +15 -15
- package/skills/prompt-architect/assets/templates/step-back_template.txt +10 -10
- package/skills/prompt-architect/assets/templates/tidd-ec_template.txt +45 -45
- package/skills/prompt-architect/assets/templates/tree-of-thought_template.txt +30 -30
- package/skills/prompt-architect/references/frameworks/ape.md +200 -200
- package/skills/prompt-architect/references/frameworks/bab.md +242 -242
- package/skills/prompt-architect/references/frameworks/broke.md +242 -242
- package/skills/prompt-architect/references/frameworks/cai-critique-revise.md +230 -230
- package/skills/prompt-architect/references/frameworks/care.md +235 -235
- package/skills/prompt-architect/references/frameworks/chain-of-density.md +479 -479
- package/skills/prompt-architect/references/frameworks/chain-of-thought.md +424 -424
- package/skills/prompt-architect/references/frameworks/co-star.md +256 -256
- package/skills/prompt-architect/references/frameworks/crispe.md +253 -253
- package/skills/prompt-architect/references/frameworks/ctf.md +207 -207
- package/skills/prompt-architect/references/frameworks/devils-advocate.md +206 -206
- package/skills/prompt-architect/references/frameworks/least-to-most.md +226 -226
- package/skills/prompt-architect/references/frameworks/plan-and-solve.md +210 -210
- package/skills/prompt-architect/references/frameworks/pre-mortem.md +197 -197
- package/skills/prompt-architect/references/frameworks/race.md +243 -243
- package/skills/prompt-architect/references/frameworks/rcot.md +203 -203
- package/skills/prompt-architect/references/frameworks/react.md +304 -304
- package/skills/prompt-architect/references/frameworks/reverse-role.md +189 -189
- package/skills/prompt-architect/references/frameworks/rise.md +555 -555
- package/skills/prompt-architect/references/frameworks/risen.md +297 -297
- package/skills/prompt-architect/references/frameworks/rpef.md +195 -195
- package/skills/prompt-architect/references/frameworks/rtf.md +358 -358
- package/skills/prompt-architect/references/frameworks/self-refine.md +205 -205
- package/skills/prompt-architect/references/frameworks/skeleton-of-thought.md +186 -186
- package/skills/prompt-architect/references/frameworks/step-back.md +206 -206
- package/skills/prompt-architect/references/frameworks/tidd-ec.md +470 -470
- package/skills/prompt-architect/references/frameworks/tree-of-thought.md +260 -260
- package/skills/prompt-architect/scripts/framework_analyzer.py +807 -807
- package/skills/prompt-architect/scripts/prompt_evaluator.py +336 -336
- package/adapters/for-cursor.mdc +0 -138
- package/adapters/for-gemini-cli.md +0 -70
- package/adapters/for-github-copilot.md +0 -141
- package/adapters/for-openai-codex-cli.md +0 -158
|
@@ -1,101 +1,101 @@
|
|
|
1
|
-
=== HYBRID / COMBINED FRAMEWORK TEMPLATE ===
|
|
2
|
-
|
|
3
|
-
Use this when a single framework doesn't fully cover your needs.
|
|
4
|
-
Include only the sections that add value — remove the rest.
|
|
5
|
-
|
|
6
|
-
─────────────────────────────────────────────
|
|
7
|
-
COMMON COMBINATION PATTERNS
|
|
8
|
-
─────────────────────────────────────────────
|
|
9
|
-
|
|
10
|
-
[REQUIREMENTS GATHERING → EXECUTION]
|
|
11
|
-
Reverse Role (interview) → any CREATE framework
|
|
12
|
-
Use when: requirements unclear → gather first → then apply CO-STAR/RISEN/RACE/etc.
|
|
13
|
-
|
|
14
|
-
[STRESS-TEST PAIR]
|
|
15
|
-
Devil's Advocate + Pre-Mortem
|
|
16
|
-
Use when: high-stakes decision needs both opposing arguments AND failure analysis
|
|
17
|
-
|
|
18
|
-
[TRANSFORM THEN VERIFY]
|
|
19
|
-
BAB + Self-Refine
|
|
20
|
-
Use when: rewrite existing content → then quality-loop the result
|
|
21
|
-
|
|
22
|
-
[PRINCIPLES THEN EXECUTE]
|
|
23
|
-
Step-Back + Chain of Thought
|
|
24
|
-
Use when: need to establish first principles before working through a problem
|
|
25
|
-
|
|
26
|
-
[RECOVER THEN IMPROVE]
|
|
27
|
-
RPEF + Self-Refine
|
|
28
|
-
Use when: recover a lost prompt → then improve the recovered template
|
|
29
|
-
|
|
30
|
-
[GENERATE THEN ALIGN]
|
|
31
|
-
CO-STAR/RISEN + CAI Critique-Revise
|
|
32
|
-
Use when: create content → then verify it meets an explicit principle/standard
|
|
33
|
-
|
|
34
|
-
─────────────────────────────────────────────
|
|
35
|
-
HYBRID TEMPLATE STRUCTURE
|
|
36
|
-
─────────────────────────────────────────────
|
|
37
|
-
|
|
38
|
-
CONTEXT / BACKGROUND:
|
|
39
|
-
[From CTF / CO-STAR / CARE — situation, background, why this task exists]
|
|
40
|
-
|
|
41
|
-
ROLE:
|
|
42
|
-
[From RTF / RISEN / RACE / CRISPE — expertise or perspective needed]
|
|
43
|
-
|
|
44
|
-
OBJECTIVE:
|
|
45
|
-
[From CO-STAR / RISEN — specific goal to achieve]
|
|
46
|
-
|
|
47
|
-
INPUT (if applicable):
|
|
48
|
-
[From RISE-IE — what's being provided, format, characteristics]
|
|
49
|
-
|
|
50
|
-
INSTRUCTIONS / STEPS:
|
|
51
|
-
[From RISEN / RISE — guiding principles, methodology, step sequence]
|
|
52
|
-
|
|
53
|
-
CONSTRAINTS / RULES:
|
|
54
|
-
[From CARE / TIDD-EC / RISEN — what must/must not happen, boundaries]
|
|
55
|
-
|
|
56
|
-
DO:
|
|
57
|
-
[From TIDD-EC — explicit positive guidance]
|
|
58
|
-
|
|
59
|
-
DON'T:
|
|
60
|
-
[From TIDD-EC — explicit negative guidance]
|
|
61
|
-
|
|
62
|
-
AUDIENCE (if relevant):
|
|
63
|
-
[From CO-STAR — who this is for, characteristics]
|
|
64
|
-
|
|
65
|
-
TONE & STYLE (if relevant):
|
|
66
|
-
[From CO-STAR / CRISPE — voice and communication style]
|
|
67
|
-
|
|
68
|
-
EXAMPLES (if relevant):
|
|
69
|
-
[From RISE-IX / CARE — reference samples]
|
|
70
|
-
|
|
71
|
-
KEY RESULTS (if relevant):
|
|
72
|
-
[From BROKE — measurable business outcomes]
|
|
73
|
-
|
|
74
|
-
END GOAL / EXPECTATION:
|
|
75
|
-
[From RISEN / RACE / BROKE — success criteria, final outcome, output format]
|
|
76
|
-
|
|
77
|
-
FORMAT:
|
|
78
|
-
[From RTF / CTF / APE — exactly how output should be structured]
|
|
79
|
-
|
|
80
|
-
─────────────────────────────────────────────
|
|
81
|
-
CRITIQUE / VERIFICATION LAYER (optional)
|
|
82
|
-
─────────────────────────────────────────────
|
|
83
|
-
Add after generation if needed:
|
|
84
|
-
|
|
85
|
-
FEEDBACK DIMENSIONS (Self-Refine):
|
|
86
|
-
Review for: [dimension 1], [dimension 2], [dimension 3]
|
|
87
|
-
Refine addressing all feedback.
|
|
88
|
-
|
|
89
|
-
OR
|
|
90
|
-
|
|
91
|
-
PRINCIPLE (CAI Critique-Revise):
|
|
92
|
-
[State the standard] → Critique → Revise.
|
|
93
|
-
|
|
94
|
-
OR
|
|
95
|
-
|
|
96
|
-
POSITION ATTACK (Devil's Advocate):
|
|
97
|
-
Argue against the above recommendation as forcefully as possible.
|
|
98
|
-
|
|
99
|
-
─────────────────────────────────────────────
|
|
100
|
-
NOTE: Use only sections relevant to your task.
|
|
101
|
-
A hybrid with 4 focused sections beats a hybrid that uses all 15.
|
|
1
|
+
=== HYBRID / COMBINED FRAMEWORK TEMPLATE ===
|
|
2
|
+
|
|
3
|
+
Use this when a single framework doesn't fully cover your needs.
|
|
4
|
+
Include only the sections that add value — remove the rest.
|
|
5
|
+
|
|
6
|
+
─────────────────────────────────────────────
|
|
7
|
+
COMMON COMBINATION PATTERNS
|
|
8
|
+
─────────────────────────────────────────────
|
|
9
|
+
|
|
10
|
+
[REQUIREMENTS GATHERING → EXECUTION]
|
|
11
|
+
Reverse Role (interview) → any CREATE framework
|
|
12
|
+
Use when: requirements unclear → gather first → then apply CO-STAR/RISEN/RACE/etc.
|
|
13
|
+
|
|
14
|
+
[STRESS-TEST PAIR]
|
|
15
|
+
Devil's Advocate + Pre-Mortem
|
|
16
|
+
Use when: high-stakes decision needs both opposing arguments AND failure analysis
|
|
17
|
+
|
|
18
|
+
[TRANSFORM THEN VERIFY]
|
|
19
|
+
BAB + Self-Refine
|
|
20
|
+
Use when: rewrite existing content → then quality-loop the result
|
|
21
|
+
|
|
22
|
+
[PRINCIPLES THEN EXECUTE]
|
|
23
|
+
Step-Back + Chain of Thought
|
|
24
|
+
Use when: need to establish first principles before working through a problem
|
|
25
|
+
|
|
26
|
+
[RECOVER THEN IMPROVE]
|
|
27
|
+
RPEF + Self-Refine
|
|
28
|
+
Use when: recover a lost prompt → then improve the recovered template
|
|
29
|
+
|
|
30
|
+
[GENERATE THEN ALIGN]
|
|
31
|
+
CO-STAR/RISEN + CAI Critique-Revise
|
|
32
|
+
Use when: create content → then verify it meets an explicit principle/standard
|
|
33
|
+
|
|
34
|
+
─────────────────────────────────────────────
|
|
35
|
+
HYBRID TEMPLATE STRUCTURE
|
|
36
|
+
─────────────────────────────────────────────
|
|
37
|
+
|
|
38
|
+
CONTEXT / BACKGROUND:
|
|
39
|
+
[From CTF / CO-STAR / CARE — situation, background, why this task exists]
|
|
40
|
+
|
|
41
|
+
ROLE:
|
|
42
|
+
[From RTF / RISEN / RACE / CRISPE — expertise or perspective needed]
|
|
43
|
+
|
|
44
|
+
OBJECTIVE:
|
|
45
|
+
[From CO-STAR / RISEN — specific goal to achieve]
|
|
46
|
+
|
|
47
|
+
INPUT (if applicable):
|
|
48
|
+
[From RISE-IE — what's being provided, format, characteristics]
|
|
49
|
+
|
|
50
|
+
INSTRUCTIONS / STEPS:
|
|
51
|
+
[From RISEN / RISE — guiding principles, methodology, step sequence]
|
|
52
|
+
|
|
53
|
+
CONSTRAINTS / RULES:
|
|
54
|
+
[From CARE / TIDD-EC / RISEN — what must/must not happen, boundaries]
|
|
55
|
+
|
|
56
|
+
DO:
|
|
57
|
+
[From TIDD-EC — explicit positive guidance]
|
|
58
|
+
|
|
59
|
+
DON'T:
|
|
60
|
+
[From TIDD-EC — explicit negative guidance]
|
|
61
|
+
|
|
62
|
+
AUDIENCE (if relevant):
|
|
63
|
+
[From CO-STAR — who this is for, characteristics]
|
|
64
|
+
|
|
65
|
+
TONE & STYLE (if relevant):
|
|
66
|
+
[From CO-STAR / CRISPE — voice and communication style]
|
|
67
|
+
|
|
68
|
+
EXAMPLES (if relevant):
|
|
69
|
+
[From RISE-IX / CARE — reference samples]
|
|
70
|
+
|
|
71
|
+
KEY RESULTS (if relevant):
|
|
72
|
+
[From BROKE — measurable business outcomes]
|
|
73
|
+
|
|
74
|
+
END GOAL / EXPECTATION:
|
|
75
|
+
[From RISEN / RACE / BROKE — success criteria, final outcome, output format]
|
|
76
|
+
|
|
77
|
+
FORMAT:
|
|
78
|
+
[From RTF / CTF / APE — exactly how output should be structured]
|
|
79
|
+
|
|
80
|
+
─────────────────────────────────────────────
|
|
81
|
+
CRITIQUE / VERIFICATION LAYER (optional)
|
|
82
|
+
─────────────────────────────────────────────
|
|
83
|
+
Add after generation if needed:
|
|
84
|
+
|
|
85
|
+
FEEDBACK DIMENSIONS (Self-Refine):
|
|
86
|
+
Review for: [dimension 1], [dimension 2], [dimension 3]
|
|
87
|
+
Refine addressing all feedback.
|
|
88
|
+
|
|
89
|
+
OR
|
|
90
|
+
|
|
91
|
+
PRINCIPLE (CAI Critique-Revise):
|
|
92
|
+
[State the standard] → Critique → Revise.
|
|
93
|
+
|
|
94
|
+
OR
|
|
95
|
+
|
|
96
|
+
POSITION ATTACK (Devil's Advocate):
|
|
97
|
+
Argue against the above recommendation as forcefully as possible.
|
|
98
|
+
|
|
99
|
+
─────────────────────────────────────────────
|
|
100
|
+
NOTE: Use only sections relevant to your task.
|
|
101
|
+
A hybrid with 4 focused sections beats a hybrid that uses all 15.
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
PROBLEM:
|
|
2
|
-
[The full, complex problem to solve]
|
|
3
|
-
|
|
4
|
-
DECOMPOSE:
|
|
5
|
-
Break this problem into ordered subproblems, from simplest prerequisite to most complex.
|
|
6
|
-
Each later subproblem should build on the answer to the previous.
|
|
7
|
-
|
|
8
|
-
Subproblem 1: [Simplest prerequisite — must be answered first]
|
|
9
|
-
Subproblem 2: [Builds on #1]
|
|
10
|
-
Subproblem 3: [Builds on #1-2]
|
|
11
|
-
[Add subproblems as needed]
|
|
12
|
-
Final: [The original problem, now solvable using all prior answers]
|
|
13
|
-
|
|
14
|
-
SOLVE SEQUENTIALLY:
|
|
15
|
-
Solve each subproblem in order. Use prior answers explicitly as context
|
|
16
|
-
for each subsequent subproblem. Show each solution before moving to the next.
|
|
1
|
+
PROBLEM:
|
|
2
|
+
[The full, complex problem to solve]
|
|
3
|
+
|
|
4
|
+
DECOMPOSE:
|
|
5
|
+
Break this problem into ordered subproblems, from simplest prerequisite to most complex.
|
|
6
|
+
Each later subproblem should build on the answer to the previous.
|
|
7
|
+
|
|
8
|
+
Subproblem 1: [Simplest prerequisite — must be answered first]
|
|
9
|
+
Subproblem 2: [Builds on #1]
|
|
10
|
+
Subproblem 3: [Builds on #1-2]
|
|
11
|
+
[Add subproblems as needed]
|
|
12
|
+
Final: [The original problem, now solvable using all prior answers]
|
|
13
|
+
|
|
14
|
+
SOLVE SEQUENTIALLY:
|
|
15
|
+
Solve each subproblem in order. Use prior answers explicitly as context
|
|
16
|
+
for each subsequent subproblem. Show each solution before moving to the next.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
PROBLEM:
|
|
2
|
-
[Your question, calculation, or reasoning problem]
|
|
3
|
-
|
|
4
|
-
Let's first understand the problem, extract relevant variables and their
|
|
5
|
-
corresponding numerals, and devise a complete plan. Then, let's carry out
|
|
6
|
-
the plan, calculate intermediate values, pay attention to computation,
|
|
7
|
-
and solve the problem step by step.
|
|
1
|
+
PROBLEM:
|
|
2
|
+
[Your question, calculation, or reasoning problem]
|
|
3
|
+
|
|
4
|
+
Let's first understand the problem, extract relevant variables and their
|
|
5
|
+
corresponding numerals, and devise a complete plan. Then, let's carry out
|
|
6
|
+
the plan, calculate intermediate values, pay attention to computation,
|
|
7
|
+
and solve the problem step by step.
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
PRE-MORTEM ANALYSIS
|
|
2
|
-
|
|
3
|
-
PROJECT/DECISION:
|
|
4
|
-
[Describe the project, plan, or decision being analyzed — include team size,
|
|
5
|
-
timeline, resources, key goals, and any relevant constraints]
|
|
6
|
-
|
|
7
|
-
FAILURE ASSUMPTION:
|
|
8
|
-
It is [DATE — e.g., 12 months from now] and [project/decision] has completely
|
|
9
|
-
and catastrophically failed. It did not achieve [primary goal].
|
|
10
|
-
|
|
11
|
-
FAILURE NARRATIVE:
|
|
12
|
-
Describe the failure in 2-3 sentences from the perspective of someone
|
|
13
|
-
looking back on it.
|
|
14
|
-
|
|
15
|
-
FAILURE CAUSES:
|
|
16
|
-
Identify [8-12] specific reasons this failed. For each:
|
|
17
|
-
- CAUSE: [What specifically went wrong — be specific, not generic]
|
|
18
|
-
- DOMAIN: [Technical / People / Market / Financial / External / Timeline]
|
|
19
|
-
- WARNING SIGN: [What was the earliest observable indicator this was happening?]
|
|
20
|
-
|
|
21
|
-
Cover these domains: technical/product, team/organizational, market/adoption,
|
|
22
|
-
financial/resource, external dependencies, timeline/scope.
|
|
23
|
-
|
|
24
|
-
PRIORITY ASSESSMENT:
|
|
25
|
-
1. The 3 most LIKELY failure causes given our specific situation
|
|
26
|
-
2. The 3 most PREVENTABLE causes where action now would help most
|
|
27
|
-
3. Any single point of failure that could kill the project alone
|
|
1
|
+
PRE-MORTEM ANALYSIS
|
|
2
|
+
|
|
3
|
+
PROJECT/DECISION:
|
|
4
|
+
[Describe the project, plan, or decision being analyzed — include team size,
|
|
5
|
+
timeline, resources, key goals, and any relevant constraints]
|
|
6
|
+
|
|
7
|
+
FAILURE ASSUMPTION:
|
|
8
|
+
It is [DATE — e.g., 12 months from now] and [project/decision] has completely
|
|
9
|
+
and catastrophically failed. It did not achieve [primary goal].
|
|
10
|
+
|
|
11
|
+
FAILURE NARRATIVE:
|
|
12
|
+
Describe the failure in 2-3 sentences from the perspective of someone
|
|
13
|
+
looking back on it.
|
|
14
|
+
|
|
15
|
+
FAILURE CAUSES:
|
|
16
|
+
Identify [8-12] specific reasons this failed. For each:
|
|
17
|
+
- CAUSE: [What specifically went wrong — be specific, not generic]
|
|
18
|
+
- DOMAIN: [Technical / People / Market / Financial / External / Timeline]
|
|
19
|
+
- WARNING SIGN: [What was the earliest observable indicator this was happening?]
|
|
20
|
+
|
|
21
|
+
Cover these domains: technical/product, team/organizational, market/adoption,
|
|
22
|
+
financial/resource, external dependencies, timeline/scope.
|
|
23
|
+
|
|
24
|
+
PRIORITY ASSESSMENT:
|
|
25
|
+
1. The 3 most LIKELY failure causes given our specific situation
|
|
26
|
+
2. The 3 most PREVENTABLE causes where action now would help most
|
|
27
|
+
3. Any single point of failure that could kill the project alone
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
ROLE:
|
|
2
|
-
[Define the expertise or persona needed — who should do this task and at what level]
|
|
3
|
-
|
|
4
|
-
ACTION:
|
|
5
|
-
[State clearly what needs to be done — the task and deliverable]
|
|
6
|
-
|
|
7
|
-
CONTEXT:
|
|
8
|
-
[Provide the situational background:
|
|
9
|
-
- What's the current state / situation?
|
|
10
|
-
- Who is the audience or recipient of the output?
|
|
11
|
-
- Any relevant constraints or prior decisions?
|
|
12
|
-
- What has already been done?]
|
|
13
|
-
|
|
14
|
-
EXPECTATION:
|
|
15
|
-
[Define what a successful output looks like:
|
|
16
|
-
- Format and structure requirements
|
|
17
|
-
- Quality bar or success criteria
|
|
18
|
-
- What should be prioritized
|
|
19
|
-
- Length or scope constraints]
|
|
1
|
+
ROLE:
|
|
2
|
+
[Define the expertise or persona needed — who should do this task and at what level]
|
|
3
|
+
|
|
4
|
+
ACTION:
|
|
5
|
+
[State clearly what needs to be done — the task and deliverable]
|
|
6
|
+
|
|
7
|
+
CONTEXT:
|
|
8
|
+
[Provide the situational background:
|
|
9
|
+
- What's the current state / situation?
|
|
10
|
+
- Who is the audience or recipient of the output?
|
|
11
|
+
- Any relevant constraints or prior decisions?
|
|
12
|
+
- What has already been done?]
|
|
13
|
+
|
|
14
|
+
EXPECTATION:
|
|
15
|
+
[Define what a successful output looks like:
|
|
16
|
+
- Format and structure requirements
|
|
17
|
+
- Quality bar or success criteria
|
|
18
|
+
- What should be prioritized
|
|
19
|
+
- Length or scope constraints]
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
STEP 1 — INITIAL ANSWER:
|
|
2
|
-
Answer the following question using step-by-step reasoning. Show your work.
|
|
3
|
-
|
|
4
|
-
QUESTION:
|
|
5
|
-
[Your question with all conditions and constraints]
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
STEP 2 — QUESTION RECONSTRUCTION:
|
|
10
|
-
Looking only at your answer above (do not re-read the original question),
|
|
11
|
-
reconstruct the question that would produce this answer.
|
|
12
|
-
List every condition, constraint, and piece of information the question
|
|
13
|
-
must have contained.
|
|
14
|
-
|
|
15
|
-
---
|
|
16
|
-
|
|
17
|
-
STEP 3 — CROSS-CHECK:
|
|
18
|
-
Now compare your reconstructed question to the actual original question.
|
|
19
|
-
Identify:
|
|
20
|
-
- Conditions in the ORIGINAL question MISSING from your reconstruction
|
|
21
|
-
(these are conditions you overlooked in your reasoning)
|
|
22
|
-
- Conditions in your RECONSTRUCTION not in the original question
|
|
23
|
-
(assumptions you made that weren't stated)
|
|
24
|
-
- Conditions present in both but interpreted differently
|
|
25
|
-
|
|
26
|
-
---
|
|
27
|
-
|
|
28
|
-
STEP 4 — CORRECTION:
|
|
29
|
-
If discrepancies were found, generate a corrected answer that addresses
|
|
30
|
-
every condition in the original question.
|
|
31
|
-
If no discrepancies, confirm the original answer is correct.
|
|
1
|
+
STEP 1 — INITIAL ANSWER:
|
|
2
|
+
Answer the following question using step-by-step reasoning. Show your work.
|
|
3
|
+
|
|
4
|
+
QUESTION:
|
|
5
|
+
[Your question with all conditions and constraints]
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
STEP 2 — QUESTION RECONSTRUCTION:
|
|
10
|
+
Looking only at your answer above (do not re-read the original question),
|
|
11
|
+
reconstruct the question that would produce this answer.
|
|
12
|
+
List every condition, constraint, and piece of information the question
|
|
13
|
+
must have contained.
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
STEP 3 — CROSS-CHECK:
|
|
18
|
+
Now compare your reconstructed question to the actual original question.
|
|
19
|
+
Identify:
|
|
20
|
+
- Conditions in the ORIGINAL question MISSING from your reconstruction
|
|
21
|
+
(these are conditions you overlooked in your reasoning)
|
|
22
|
+
- Conditions in your RECONSTRUCTION not in the original question
|
|
23
|
+
(assumptions you made that weren't stated)
|
|
24
|
+
- Conditions present in both but interpreted differently
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
STEP 4 — CORRECTION:
|
|
29
|
+
If discrepancies were found, generate a corrected answer that addresses
|
|
30
|
+
every condition in the original question.
|
|
31
|
+
If no discrepancies, confirm the original answer is correct.
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
GOAL:
|
|
2
|
-
[Define the end state to achieve — what does success look like?]
|
|
3
|
-
|
|
4
|
-
AVAILABLE TOOLS:
|
|
5
|
-
- [tool_name]: [What it does and how to invoke it]
|
|
6
|
-
- [tool_name]: [What it does and how to invoke it]
|
|
7
|
-
- [tool_name]: [What it does and how to invoke it]
|
|
8
|
-
|
|
9
|
-
CONSTRAINTS:
|
|
10
|
-
- [Rules, limits, or guardrails on actions]
|
|
11
|
-
- [Stop condition: when to stop and deliver Final Answer]
|
|
12
|
-
- [Optional: max iterations or tool call limit]
|
|
13
|
-
|
|
14
|
-
APPROACH:
|
|
15
|
-
Use the Thought → Action → Observation cycle until the goal is reached:
|
|
16
|
-
|
|
17
|
-
Thought: [Reason about current state and what to do next]
|
|
18
|
-
Action: [tool_name] — [specific query or operation]
|
|
19
|
-
Observation: [Result of the action]
|
|
20
|
-
|
|
21
|
-
Thought: [Reason about the observation — what does it mean? what to do next?]
|
|
22
|
-
Action: [tool_name] — [next operation]
|
|
23
|
-
Observation: [Result]
|
|
24
|
-
|
|
25
|
-
[Continue cycling until goal is achieved or stop condition is met]
|
|
26
|
-
|
|
27
|
-
Final Answer: [Deliver the result once goal is reached]
|
|
1
|
+
GOAL:
|
|
2
|
+
[Define the end state to achieve — what does success look like?]
|
|
3
|
+
|
|
4
|
+
AVAILABLE TOOLS:
|
|
5
|
+
- [tool_name]: [What it does and how to invoke it]
|
|
6
|
+
- [tool_name]: [What it does and how to invoke it]
|
|
7
|
+
- [tool_name]: [What it does and how to invoke it]
|
|
8
|
+
|
|
9
|
+
CONSTRAINTS:
|
|
10
|
+
- [Rules, limits, or guardrails on actions]
|
|
11
|
+
- [Stop condition: when to stop and deliver Final Answer]
|
|
12
|
+
- [Optional: max iterations or tool call limit]
|
|
13
|
+
|
|
14
|
+
APPROACH:
|
|
15
|
+
Use the Thought → Action → Observation cycle until the goal is reached:
|
|
16
|
+
|
|
17
|
+
Thought: [Reason about current state and what to do next]
|
|
18
|
+
Action: [tool_name] — [specific query or operation]
|
|
19
|
+
Observation: [Result of the action]
|
|
20
|
+
|
|
21
|
+
Thought: [Reason about the observation — what does it mean? what to do next?]
|
|
22
|
+
Action: [tool_name] — [next operation]
|
|
23
|
+
Observation: [Result]
|
|
24
|
+
|
|
25
|
+
[Continue cycling until goal is achieved or stop condition is met]
|
|
26
|
+
|
|
27
|
+
Final Answer: [Deliver the result once goal is reached]
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
You are an expert [DOMAIN] consultant / specialist.
|
|
2
|
-
|
|
3
|
-
My goal: [1-2 sentence description of what you want to achieve]
|
|
4
|
-
|
|
5
|
-
Before you begin, interview me to understand my specific context, constraints,
|
|
6
|
-
goals, and any relevant background. Ask your questions [one at a time / all at once].
|
|
7
|
-
Only proceed with [the task / generating the full prompt] once you are confident
|
|
8
|
-
you have everything you need.
|
|
9
|
-
|
|
10
|
-
[Optional: After the interview, synthesize my responses into a complete structured
|
|
11
|
-
prompt using the most appropriate framework, then confirm before executing.]
|
|
1
|
+
You are an expert [DOMAIN] consultant / specialist.
|
|
2
|
+
|
|
3
|
+
My goal: [1-2 sentence description of what you want to achieve]
|
|
4
|
+
|
|
5
|
+
Before you begin, interview me to understand my specific context, constraints,
|
|
6
|
+
goals, and any relevant background. Ask your questions [one at a time / all at once].
|
|
7
|
+
Only proceed with [the task / generating the full prompt] once you are confident
|
|
8
|
+
you have everything you need.
|
|
9
|
+
|
|
10
|
+
[Optional: After the interview, synthesize my responses into a complete structured
|
|
11
|
+
prompt using the most appropriate framework, then confirm before executing.]
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
ROLE:
|
|
2
|
-
[Define the perspective or expertise needed for this task]
|
|
3
|
-
|
|
4
|
-
INPUT:
|
|
5
|
-
[Specify what data/content is being provided:
|
|
6
|
-
- Format and structure (CSV, JSON, text, etc.)
|
|
7
|
-
- Key characteristics and fields
|
|
8
|
-
- Any quirks or special considerations
|
|
9
|
-
- What to expect in the data]
|
|
10
|
-
|
|
11
|
-
STEPS:
|
|
12
|
-
1. [How to process the input - first action]
|
|
13
|
-
2. [Processing step 2 - transformation or analysis]
|
|
14
|
-
3. [Processing step 3 - continue with methodology]
|
|
15
|
-
4. [Add more processing/analysis steps as needed...]
|
|
16
|
-
|
|
17
|
-
EXPECTATION:
|
|
18
|
-
[Define what the output should look like:
|
|
19
|
-
- Format and structure
|
|
20
|
-
- Required elements and sections
|
|
21
|
-
- Level of detail needed
|
|
22
|
-
- Length or size constraints
|
|
23
|
-
- Specific deliverables]
|
|
1
|
+
ROLE:
|
|
2
|
+
[Define the perspective or expertise needed for this task]
|
|
3
|
+
|
|
4
|
+
INPUT:
|
|
5
|
+
[Specify what data/content is being provided:
|
|
6
|
+
- Format and structure (CSV, JSON, text, etc.)
|
|
7
|
+
- Key characteristics and fields
|
|
8
|
+
- Any quirks or special considerations
|
|
9
|
+
- What to expect in the data]
|
|
10
|
+
|
|
11
|
+
STEPS:
|
|
12
|
+
1. [How to process the input - first action]
|
|
13
|
+
2. [Processing step 2 - transformation or analysis]
|
|
14
|
+
3. [Processing step 3 - continue with methodology]
|
|
15
|
+
4. [Add more processing/analysis steps as needed...]
|
|
16
|
+
|
|
17
|
+
EXPECTATION:
|
|
18
|
+
[Define what the output should look like:
|
|
19
|
+
- Format and structure
|
|
20
|
+
- Required elements and sections
|
|
21
|
+
- Level of detail needed
|
|
22
|
+
- Length or size constraints
|
|
23
|
+
- Specific deliverables]
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
ROLE:
|
|
2
|
-
[Define who the AI should embody - persona or expertise level]
|
|
3
|
-
|
|
4
|
-
INSTRUCTIONS:
|
|
5
|
-
[Specify the main task or directive:
|
|
6
|
-
- What to create or accomplish
|
|
7
|
-
- Core requirements
|
|
8
|
-
- Key guidelines to follow
|
|
9
|
-
- Specific constraints or considerations]
|
|
10
|
-
|
|
11
|
-
STEPS:
|
|
12
|
-
1. [Approach or methodology step 1]
|
|
13
|
-
2. [Step 2 - how to execute the task]
|
|
14
|
-
3. [Step 3 - continue with workflow]
|
|
15
|
-
4. [Add more steps as needed for the creative/instruction process...]
|
|
16
|
-
|
|
17
|
-
EXAMPLES:
|
|
18
|
-
[Provide positive examples showing desired output:
|
|
19
|
-
- Reference materials that demonstrate the style
|
|
20
|
-
- Format examples to emulate
|
|
21
|
-
- Successful outputs from similar tasks
|
|
22
|
-
- 2-3 concrete examples recommended]
|
|
23
|
-
|
|
24
|
-
Example 1: [First reference example demonstrating desired output]
|
|
25
|
-
|
|
26
|
-
Example 2: [Second reference example showing format/style to match]
|
|
27
|
-
|
|
28
|
-
[Optional] Example 3: [Third example if additional clarity needed]
|
|
1
|
+
ROLE:
|
|
2
|
+
[Define who the AI should embody - persona or expertise level]
|
|
3
|
+
|
|
4
|
+
INSTRUCTIONS:
|
|
5
|
+
[Specify the main task or directive:
|
|
6
|
+
- What to create or accomplish
|
|
7
|
+
- Core requirements
|
|
8
|
+
- Key guidelines to follow
|
|
9
|
+
- Specific constraints or considerations]
|
|
10
|
+
|
|
11
|
+
STEPS:
|
|
12
|
+
1. [Approach or methodology step 1]
|
|
13
|
+
2. [Step 2 - how to execute the task]
|
|
14
|
+
3. [Step 3 - continue with workflow]
|
|
15
|
+
4. [Add more steps as needed for the creative/instruction process...]
|
|
16
|
+
|
|
17
|
+
EXAMPLES:
|
|
18
|
+
[Provide positive examples showing desired output:
|
|
19
|
+
- Reference materials that demonstrate the style
|
|
20
|
+
- Format examples to emulate
|
|
21
|
+
- Successful outputs from similar tasks
|
|
22
|
+
- 2-3 concrete examples recommended]
|
|
23
|
+
|
|
24
|
+
Example 1: [First reference example demonstrating desired output]
|
|
25
|
+
|
|
26
|
+
Example 2: [Second reference example showing format/style to match]
|
|
27
|
+
|
|
28
|
+
[Optional] Example 3: [Third example if additional clarity needed]
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
ROLE:
|
|
2
|
-
[Define the expertise level, persona, or perspective to adopt. What knowledge should be demonstrated?]
|
|
3
|
-
|
|
4
|
-
INSTRUCTIONS:
|
|
5
|
-
[Provide high-level guidance, principles, and overarching direction. What methodology or approach should guide this work?]
|
|
6
|
-
|
|
7
|
-
STEPS:
|
|
8
|
-
1. [First specific action or stage]
|
|
9
|
-
2. [Second specific action or stage]
|
|
10
|
-
3. [Third specific action or stage]
|
|
11
|
-
[Continue with detailed, sequential steps...]
|
|
12
|
-
|
|
13
|
-
END GOAL:
|
|
14
|
-
[Define success criteria and final desired outcome. What should be true when complete? How will we know it's done correctly?]
|
|
15
|
-
|
|
16
|
-
NARROWING:
|
|
17
|
-
- Do NOT: [Specific thing to avoid]
|
|
18
|
-
- Avoid: [Approach or pattern to avoid]
|
|
19
|
-
- Out of scope: [What's not included]
|
|
20
|
-
- Stay within: [Boundaries and constraints]
|
|
21
|
-
- Constraints: [Limitations to respect]
|
|
1
|
+
ROLE:
|
|
2
|
+
[Define the expertise level, persona, or perspective to adopt. What knowledge should be demonstrated?]
|
|
3
|
+
|
|
4
|
+
INSTRUCTIONS:
|
|
5
|
+
[Provide high-level guidance, principles, and overarching direction. What methodology or approach should guide this work?]
|
|
6
|
+
|
|
7
|
+
STEPS:
|
|
8
|
+
1. [First specific action or stage]
|
|
9
|
+
2. [Second specific action or stage]
|
|
10
|
+
3. [Third specific action or stage]
|
|
11
|
+
[Continue with detailed, sequential steps...]
|
|
12
|
+
|
|
13
|
+
END GOAL:
|
|
14
|
+
[Define success criteria and final desired outcome. What should be true when complete? How will we know it's done correctly?]
|
|
15
|
+
|
|
16
|
+
NARROWING:
|
|
17
|
+
- Do NOT: [Specific thing to avoid]
|
|
18
|
+
- Avoid: [Approach or pattern to avoid]
|
|
19
|
+
- Out of scope: [What's not included]
|
|
20
|
+
- Stay within: [Boundaries and constraints]
|
|
21
|
+
- Constraints: [Limitations to respect]
|