prompt-improver
Transform vague prompts into rich, structured prompts with automatic fallback
npx skills add majiayu000/claude-skill-registry --skill prompt-improver-davekilleen-dex --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
## Purpose Transform vague, ambiguous prompts into rich, well-structured prompts. Uses Anthropic's prompt improvement capabilities when available, with graceful fallback to the current LLM. **How it works:** 1. User provides a vague prompt (e.g., "critique this doc") 2. Skill improves the prompt using best available method 3. Executes the improved prompt and returns results 4. User sees the answer **without seeing the improved prompt** (unless flags are set) --- ## Arguments **$PROMPT** - The prompt to improve (required) **$FEEDBACK** - Optional feedback on what to improve (e.g., "Make it more detailed", "Add examples", "Focus on clarity") **$TARGET_MODEL** - Optional target model for the improved prompt (defaults to current model) **$SYSTEM** - Optional system prompt to improve alongside the user prompt --- ## Qualifiers Check if $PROMPT starts with a flag: | Flag | Behavior | |------|----------| | `-p` | **Prompt only** - Show the improved prompt, don't execute | | `-v` | **Verbose** - Show the improved prompt, then execute | | (none) | **Quick** - Execute immediately without showing full prompt | Strip the flag from $PROMPT before processing. --- ## Process ### Step 1: Parse Fla
- Purpose
- Arguments
- Qualifiers
- Process
- Step 1: Parse Flags and Extract Prompt
- Step 2: Determine Improvement Method
- Step 3: Improve the Prompt
- Step 4: Handle Based on Mode
- Prompt Engineering System Prompt
- Examples
- Improvement Template Reference
- Error Handling
- Setup (Optional)
- Philosophy
node .scripts/improve-prompt.cjs "$PROMPT" "$FEEDBACK" "$TARGET_MODEL" "$SYSTEM"
What does the prompt-improver skill do?
Transform vague prompts into rich, structured prompts with automatic fallback
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill prompt-improver-davekilleen-dex --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
