You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 5e430cf
Browse filesBrowse the repository at this point in the historyBrowse files
Make prompt-optimizer output format and closing line consistent
The output format section forced a generic template that contradicted the workflow and examples, and two different closing lines were given. Describe the output in line with the workflow and use the closing line from the examples.
Copy file name to clipboardExpand all lines: skills/prompt-optimizer/SKILL.md
+4-18Lines changed: 4 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,19 +35,13 @@ Either way: no brackets, no fill-in-the-blank, no template syntax. The prompt is
35
35
36
36
A single fenced code block containing the optimized prompt. Nothing else. No preamble like "Here's your prompt:". No trailing explanation of what you changed.
37
37
38
-
The prompt should end with a closing instruction that signals depth of reasoning. Choose one that matches your target model:
38
+
The prompt should end with this closing line, which signals depth of reasoning:
39
39
40
-
For models with reasoning capabilities (like Claude with extended thinking):
41
40
```
42
-
Think before answering (maximum reasoning)
43
-
```
44
-
45
-
For general-purpose LLM models:
46
-
```
47
-
Take time to think through this carefully before responding.
41
+
Think before answering (take time to reason through this carefully).
48
42
```
49
43
50
-
This signals to the LLM model that a thorough, reasoned approach is needed. The exact wording can be adapted to fit your model's strengths.
44
+
This signals to the LLM model that a thorough, reasoned approach is needed. The wording can be adapted to the language of the prompt.
51
45
52
46
## Why these principles work
53
47
@@ -121,15 +115,7 @@ These are sharp tools for specific task types. Apply only when relevant.
121
115
122
116
## Output format
123
117
124
-
Always exactly this:
125
-
126
-
````
127
-
```
128
-
You are helping with the user's request. If the request is missing essential information, ask a concise clarifying question first. Otherwise, complete the task directly and clearly.
129
-
130
-
Think before answering (take time to reason through this carefully).
131
-
```
132
-
````
118
+
Always a single fenced code block containing the finished prompt: the content, structure, and length come from the rewrite workflow and the two hard rules above (see the examples below), and the prompt ends with the closing line from "What you output".
133
119
134
120
No text before the code block. No text after. No "here you go." No "I added X and Y." Just the prompt.
0 commit comments