prompt-improver
Skill3 starsChanged 7 months agoMITView on GitHub
Rewrites a natural-language prompt into a structured, high-quality prompt that follows Anthropic's prompting best practices: explicit role, XML-tagged inputs, clear output format, examples, chain-of-thought scaffolding when warranted, and concrete success criteria. Use when the user says 'improve this prompt,' 'make this prompt better,' 'rewrite this prompt,' 'design a better prompt,' 'tune this prompt,' 'output a better prompt,' 'design your own prompt,' 'prompt for me,' or invokes /prompt-improver. Also use when the user pastes a draft prompt and asks for feedback or a stronger version.
9 other projects use a version of this.
Adopted by
Most recently taken up by
- Amery2010/skillstheir own version, first seen Sep 9, 2026
- davekilleen/Dextheir own version, first seen Aug 31, 2026
- shinzoxD/knackboxtheir own version, first seen Jul 10, 2026
- ndpvt-web/prompt-improvertheir own version, first seen May 15, 2026
- kakarot-oncloud/claude-skillstheir own version, first seen Apr 18, 2026
- dazuck/operator-skillstheir own version, first seen Feb 27, 2026
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 9
- severity1/claude-code-prompt-improver★ 1.9ksame name
- davekilleen/Dex★ 492same name
- ndpvt-web/prompt-improver★ 87same name
- dazuck/operator-skills★ 17same name
- Amery2010/skills★ 4same name
- namearth5005/claude-skills★ 2same name
- dazuck/claude-code-skills★ 1same name
- kakarot-oncloud/claude-skills★ 0same name
- shinzoxD/knackbox★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository12 other files it gives its agents.
- captain-opusSkill
- chrome-headlessSkill
- clear-prepSkill
- dispatchSkill
- fleet-executeSkill
- jobsSkill
- plan-reviewSkill
- planSkill
- preflightSkill
- pre-goalSkill
- spawn-agent-teamSkill
- tool-suggestSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. 0 are common, 10 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 9 edited versions we read keep these.
10
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
Treat all three the same way: they are inputs to the gate.
- Distinctive: line 23
Ask exactly these two numbered questions, then wait for answers.
- Distinctive: line 45
One-shot mode: no follow-ups. Go straight to Step 4.
- Distinctive: line 47
Standard mode: ask these 3 follow-up questions, numbered:
- Distinctive: line 55
Interview mode: ask these 6 follow-up questions in one batch, numbered:
- Distinctive: line 66
If the user gave any of this in Step 1, fill it in yourself and ask only the missing items.
- Very specific: line 70
Read references/checklist.md.
- Very specific: line 74
Read references/rewrite-template.md.
- Very specific: line 88
After One-shot: "If this needs to run repeatedly or accuracy matters more than I assumed, run /prompt-improver --standard to add inputs, …
- Very specific: line 89
After Standard: "If this is high-stakes or you have examples, run /prompt-improver --full for the full interview-style rewrite with …
- Distinctive: line 90
After Interview: no escalation line.
- Distinctive: line 95
No em dashes or double-hyphens as em-dash substitutes in prose.
- Distinctive: line 96
Never commit or push files.
- Distinctive: line 97
If the user's input is already a strong prompt, say so directly and propose only the changes worth making.
- Very specific: line 101
When a rewrite misfires (user pushes back, the prompt does not produce the expected behavior), append a one-line gotcha to gotchas.md for …
“Common” is measured: kept by at least 6 in 10 of the 9 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Prompt Improver
Rewrites a natural-language prompt into a structured prompt that follows Anthropic's prompting best practices. The depth of the rewrite scales to the job, set by a 2-question triage gate at the start.
Step 1: Capture
Take whatever the user provided as the prompt-to-improve. It may be:
- A pasted draft prompt
- A natural-language task description ("write me a prompt that classifies tickets")
- A vague ask ("design your own prompt for X")
Treat all three the same way: they are inputs to the gate.
Step 2: Triage gate (always)
Ask exactly these two numbered questions, then wait for answers. Do not skip, do not add a third.
1. How important is getting this exactly right? low / medium / high
2. Will this prompt run once, or repeatedly? once / repeatedlyMap the answers to a tier:
| Importance | Reuse | Tier |
| low | once | One-shot |
| medium | once | Standard |
| low | repeatedly | Standard |
| medium | repeatedly | Interview |
| high | once | Standard |
| high | repeatedly | Interview |
The user may also override directly with --light (one-shot), --standard, or --full (interview). If an override flag is present, skip the gate.
Step 3: Mode-specific follow-ups
One-shot mode: no follow-ups. Go straight to Step 4.
Standard mode: ask these 3 follow-up questions, numbered:
1. What inputs will this prompt receive at runtime? (e.g. "a ticket title and body")
2. What output format do you want? (e.g. "one of: bug / feature / question")
3. What does "good enough" look like? (one line)Interview mode: ask these 6 follow-up questions in one batch, numbered:
1. Who reads or consumes the output?
2. What inputs will this prompt receive at runtime?
3. What output format do you want?
4. What does "good enough" look like?
5. Do you have 1 to 3 example input/output pairs I can draw from?
6. Anything to explicitly avoid (anti-patterns, banned phrases, scope creep)?If the user gave any of this in Step 1, fill it in yourself and ask only the missing items.
Step 4: Diagnose
Read references/checklist.md. Score the original input against the 12 axes. Note the top 3 to 5 weaknesses the rewrite will address. Skip axes the chosen tier does not support.
Step 5: Rewrite
Read references/rewrite-template.md. Use the template that matches the tier.
For shape and tone of the output, read references/examples.md and pattern-match to the example closest to the user's task.
Output the rewritten prompt in a fenced code block so the user can copy it directly.
Step 6: Explain the diff
Below the rewritten prompt, add a short "What changed and why" block. Each change maps to one best-practice axis from the checklist. Two to four bullets max in One-shot, four to seven in Standard, seven plus in Interview.
Step 7: Offer escalation
End with one line offering the next tier up if the user wants more rigor:
- After One-shot: "If this needs to run repeatedly or accuracy matters more than I assumed, run
/prompt-improver --standardto add inputs, output format, and success criteria." - After Standard: "If this is high-stakes or you have examples, run
/prompt-improver --fullfor the full interview-style rewrite with chain-of-thought and examples." - After Interview: no escalation line. Offer to run the rewritten prompt against a test input if the user provided one.
Constraints
- Numbered questions only. Always.
- No em dashes or double-hyphens as em-dash substitutes in prose. Code blocks exempt.
- Never commit or push files. The user owns when to ship.
- If the user's input is already a strong prompt, say so directly and propose only the changes worth making. Do not rewrite for the sake of rewriting.
Failure modes
When a rewrite misfires (user pushes back, the prompt does not produce the expected behavior), append a one-line gotcha to gotchas.md for next time.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

