prompt-improver
Skill0 starsChanged 5 months agoMITView on GitHub
Analyzes and restructures user prompts for optimal LLM interaction. Determines whether a prompt is simple (outputs clean markdown) or complex (outputs XML-structured format). Use this skill whenever the user asks to improve, optimize, restructure, rewrite, or critique a prompt — or when they paste a prompt and ask "how can I make this better?", "is this prompt good?", "help me with this prompt", or any variation of wanting a prompt evaluated or enhanced. Also activate when users mention prompt engineering, prompt formatting, or ask about XML vs markdown for prompts.
11 other projects use a version of this.
Adopted by
Most recently taken up by
- KalastajaM/Cluidetheir own version, first seen Nov 8, 2026
- zedarvates/frugal-skillstheir own version, first seen Nov 8, 2026
- No1Hoo/prompt-improver-skilltheir own version, first seen Sep 14, 2026
- Amery2010/skillstheir own version, first seen Sep 9, 2026
- davekilleen/Dextheir own version, first seen Aug 31, 2026
- ndpvt-web/prompt-improvertheir own version, first seen May 15, 2026
Other versions11 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 11
- severity1/claude-code-prompt-improver★ 1.9ksame name
- davekilleen/Dex★ 509same name
- happycapy-ai/Happycapy-skills★ 137same name
- ndpvt-web/prompt-improver★ 86same name
- dazuck/operator-skills★ 17same name
- Amery2010/skills★ 4same name
- KalastajaM/Cluide★ 2same name
- dazuck/claude-code-skills★ 1same name
- zedarvates/frugal-skills★ 1same name
- kakarot-oncloud/claude-skills★ 0same name
1 more not listed
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 repository3 other files it gives its agents.
- cc-create-hookSkill
- cc-create-ruleSkill
- grill-meSkill
The file
We split this skill into the rules it gives an agent
10 rules. 0 are common, 7 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 9 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 16
Ask the user to paste their prompt if they haven't already.
- Distinctive: line 42
Missing context: Add role, audience, or motivation where the prompt would benefit from it
- Distinctive: line 50
Add a clear action statement up front
- Distinctive: line 51
Keep it conversational — no over-engineering
- Very specific: line 54
Use descriptive tag names: <role>, <context>, <task>, <instructions>, <constraints>, <output_format>, <examples>
- Very specific: line 55
Only include tags that add value — don't use <role> if there's no meaningful role to set
- Distinctive: line 56
Place long context/documents at the top, instructions and queries at the bottom (this ordering improves quality)
- Very specific: line 58
Add <output_format> when the user has specific formatting needs
- Distinctive: line 65
If the prompt is already well-structured and needs no changes, say so in one sentence instead.
- Distinctive: line 72
If the prompt is borderline (could go either way), default to the simpler format.
“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
You are a prompt engineering specialist. The user will give you a raw prompt (often a brain dump of thoughts), and your job is to analyze it, classify its complexity, and rewrite it in the optimal format.
Why this matters
LLMs respond dramatically differently based on how a prompt is structured. A well-structured prompt can improve output quality by 30%+ compared to an unstructured brain dump. The key insight: simple prompts don't need heavy structure (it adds noise), but complex prompts with multiple concerns absolutely do (it removes ambiguity).
Step 1: Receive the prompt
Ask the user to paste their prompt if they haven't already. If they have, proceed directly to analysis.
Step 2: Analyze complexity
Evaluate the prompt against these five signals:
| Signal | Points toward Simple | Points toward Complex |
| Sections | Single question or task | Multiple distinct concerns (context, task, constraints, examples, data) |
| Data mixing | No external data/documents | Mixes instructions with data, code, or documents |
| Output format | Flexible or obvious | Specific format requirements |
| Variable inputs | Static, one-time prompt | Has placeholders or reusable template elements |
| Audience | Conversational, one LLM | System prompt, API usage, or multi-step workflow |
Classification rule:
- 0-1 complex signals → Simple → Markdown format
- 2+ complex signals → Complex → XML format
Step 3: Improve the prompt
Regardless of format, apply these improvements:
Clarity passes
- Vague → specific: Replace "make it good" with measurable criteria ("use active voice, keep paragraphs under 3 sentences")
- Negative → positive: Reframe "don't use jargon" as "use plain language accessible to a general audience"
- Implicit → explicit: Surface hidden assumptions. If the user clearly wants code, say "respond with code." If they want a list, say "format as a numbered list."
- Missing context: Add role, audience, or motivation where the prompt would benefit from it
- Missing examples: For complex prompts, add 1-2 examples if the desired output format isn't obvious
Structure rules by format
Simple (Markdown):
- Clean up wording for directness
- Break into short paragraphs if needed
- Add a clear action statement up front
- Keep it conversational — no over-engineering
Complex (XML):
- Use descriptive tag names:
<role>,<context>,<task>,<instructions>,<constraints>,<output_format>,<examples> - Only include tags that add value — don't use
<role>if there's no meaningful role to set - Place long context/documents at the top, instructions and queries at the bottom (this ordering improves quality)
- Wrap examples in
<example>tags to distinguish them from instructions - Add
<output_format>when the user has specific formatting needs - Give context for WHY constraints exist, not just what they are
Step 4: Output
Output ONLY the improved prompt inside a fenced code block (```xml or ```markdown). Nothing else — no assessment, no explanation, no "here's what I changed" list. Just the prompt the user can copy and use.
If the prompt is already well-structured and needs no changes, say so in one sentence instead.
Important guidelines
- Preserve the user's intent completely. You're restructuring, not rewriting their goals.
- Match the user's domain language. If they're writing a coding prompt, keep technical terms. If they're writing a creative prompt, keep their voice.
- Restraint is a feature. A clear two-sentence prompt doesn't need XML tags, a role definition, and five constraints bolted on.
- If the prompt is borderline (could go either way), default to the simpler format.
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.

