Skip to content

Commit 5e430cf

Browse files
committed
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.
1 parent a266b2a commit 5e430cf

1 file changed

Lines changed: 4 additions & 18 deletions

File tree

‎skills/prompt-optimizer/SKILL.md‎

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -35,19 +35,13 @@ Either way: no brackets, no fill-in-the-blank, no template syntax. The prompt is
3535

3636
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.
3737

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:
3939

40-
For models with reasoning capabilities (like Claude with extended thinking):
4140
```
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).
4842
```
4943

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.
5145

5246
## Why these principles work
5347

@@ -121,15 +115,7 @@ These are sharp tools for specific task types. Apply only when relevant.
121115

122116
## Output format
123117

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".
133119

134120
No text before the code block. No text after. No "here you go." No "I added X and Y." Just the prompt.
135121

0 commit comments

Comments
 (0)