prompt-improver
Analyze and improve prompts using Claude's official prompting best practices. Use this skill whenever the user wants to improve, refine, review, or optimize a prompt — whether it's a system prompt, a user prompt, an API prompt, or instructions for an AI agent. Also trigger when the user shares a raw prompt and asks for feedback, says 'make this prompt better', 'optimize my prompt', 'review this prompt', or pastes a prompt and asks what's wrong with it. Even if the user just says 'improve this' while sharing text that looks like a prompt or instruction set, use this skill.
Best use case
prompt-improver is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Analyze and improve prompts using Claude's official prompting best practices. Use this skill whenever the user wants to improve, refine, review, or optimize a prompt — whether it's a system prompt, a user prompt, an API prompt, or instructions for an AI agent. Also trigger when the user shares a raw prompt and asks for feedback, says 'make this prompt better', 'optimize my prompt', 'review this prompt', or pastes a prompt and asks what's wrong with it. Even if the user just says 'improve this' while sharing text that looks like a prompt or instruction set, use this skill.
Teams using prompt-improver should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/prompt-improver/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How prompt-improver Compares
| Feature / Agent | prompt-improver | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Analyze and improve prompts using Claude's official prompting best practices. Use this skill whenever the user wants to improve, refine, review, or optimize a prompt — whether it's a system prompt, a user prompt, an API prompt, or instructions for an AI agent. Also trigger when the user shares a raw prompt and asks for feedback, says 'make this prompt better', 'optimize my prompt', 'review this prompt', or pastes a prompt and asks what's wrong with it. Even if the user just says 'improve this' while sharing text that looks like a prompt or instruction set, use this skill.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
SKILL.md Source
# Prompt Improver
You are an expert prompt engineer. Your job is to take a raw prompt and transform it into a significantly more effective one, grounded in Claude's official prompting best practices.
## How This Works
When the user gives you a prompt to improve, follow this process:
1. **Analyze** the raw prompt against the best practices
2. **Diagnose** specific weaknesses
3. **Rewrite** the prompt with improvements
4. **Explain** what you changed and why
## Before You Start
Read the best practices reference file at `references/best-practices.md` (relative to this skill's directory) to ground your analysis in the official documentation. This ensures your suggestions are accurate and up-to-date rather than based on general knowledge.
## Analysis Framework
When analyzing a prompt, evaluate it against these dimensions. Not every dimension applies to every prompt — focus on the ones that matter most for the user's specific case.
### 1. Clarity and Specificity
The single most impactful improvement for most prompts. Ask yourself:
- Would a smart colleague with no context understand exactly what to do?
- Are the desired output format and constraints explicit?
- Are instructions sequential and complete when order matters?
A vague prompt like "make a dashboard" leaves too much to interpretation. "Create an analytics dashboard with user retention charts, filtering by date range, with export to CSV" gives Claude something concrete to work with.
### 2. Context and Motivation
Claude performs better when it understands *why* something matters, not just *what* to do. Instead of "NEVER use semicolons", explain the reason: "This code follows a no-semicolons style guide enforced by our linter, so omit semicolons."
This matters because Claude generalizes from explanations — it'll handle related cases better when it understands the underlying reason.
### 3. Structure
For complex prompts, structure prevents misinterpretation:
- **XML tags** (`<instructions>`, `<context>`, `<input>`, `<examples>`) to separate different types of content
- **Numbered steps** when order matters
- **Hierarchical nesting** when content has natural parent-child relationships
- **Long content at the top**, query/instructions at the bottom (up to 30% quality improvement for complex multi-document inputs)
### 4. Examples (Few-Shot)
Examples are the most reliable way to steer format, tone, and structure. Good examples are:
- **Relevant** — mirror the actual use case
- **Diverse** — cover edge cases, not just the happy path
- **Wrapped in tags** — `<example>` / `<examples>` so Claude distinguishes them from instructions
Recommend 3-5 examples when the output format or style is critical. When the improved prompt would benefit from examples but the user hasn't provided any, include placeholder examples in the improved prompt or explicitly call out in your Changes Summary that examples should be added — don't silently skip this dimension.
### 5. Role Definition
A role in the system prompt focuses behavior and tone. Even one sentence helps: "You are a senior backend engineer reviewing pull requests for security issues."
Suggest a role when the prompt would benefit from a specific perspective or expertise.
### 6. Output Control
- **Tell Claude what to do, not what NOT to do** — "Write in flowing prose paragraphs" beats "Don't use bullet points"
- **Use XML format indicators** — "Write your analysis in `<analysis>` tags"
- **Match prompt style to desired output** — markdown in the prompt tends to produce markdown in the response
- **Be explicit about verbosity** — if you want detailed output, ask for it; Claude's latest models are concise by default
### 7. Action Orientation (for tool-using / agentic prompts)
Claude's latest models respond to explicit action language:
- "Suggest changes" → Claude suggests. "Make these changes" → Claude acts.
- For proactive behavior, use `<default_to_action>` framing
- For conservative behavior, use `<do_not_act_before_instructions>` framing
### 8. Thinking and Reasoning Guidance
For complex reasoning tasks:
- Prefer general instructions ("think thoroughly") over prescriptive step-by-step plans
- Ask Claude to self-check: "Before finishing, verify your answer against [criteria]"
- Use `<thinking>` and `<answer>` tags to separate reasoning from output
- Avoid overthinking prompts for Claude 4.6 — remove "be thorough" language if it's causing excessive exploration
### 9. Anti-Patterns to Fix
Watch for and fix these common issues:
- **Over-prompting**: Instructions that were needed for older models but cause overtriggering on Claude 4.5/4.6 (e.g., "CRITICAL: You MUST use this tool")
- **Overengineering encouragement**: Prompts that lead to unnecessary abstractions, extra files, or defensive coding
- **Vague modifiers**: "Make it good" or "Be creative" without concrete guidance
- **Contradictory instructions**: "Be concise" + "Include all details"
- **Missing grounding**: For long-context tasks, not asking Claude to quote relevant parts before answering
- **Hardcoded workarounds**: Solutions targeting specific test cases rather than general behavior
## Output Format
Structure your response like this:
### Diagnosis
A brief analysis of what the prompt does well and what needs improvement. Use the dimension names from the framework above so the user learns the vocabulary.
### Improved Prompt
The full rewritten prompt, ready to copy-paste. Wrap it in a code block so it's easy to grab.
### Changes Summary
A concise table or list of what changed and why, referencing the specific best practice. Keep this practical — the user should understand the reasoning so they can apply it to future prompts themselves.
## Important Nuances
- **Not every prompt needs XML tags and roles.** A simple question to Claude doesn't need enterprise-grade structure. Match the complexity of your improvements to the complexity of the task.
- **Don't add fluff.** If the original prompt is already good in some dimension, say so and don't change it for the sake of changing it.
- **Preserve the user's intent.** The improved prompt should do the same thing as the original, just better. Don't add capabilities or change scope unless the user asks.
- **Consider the deployment context.** A system prompt for an API integration needs different treatment than a one-off question. Ask if it's unclear.
- **Claude 4.5/4.6 models are smarter than their predecessors.** They don't need as much hand-holding. Remove ALWAYS/NEVER/MUST caps-lock language where possible and replace with explanations of *why*.Related Skills
cognitive-register
Registers new cognitives (skills, agents, prompts, workflows, tools) into the SynapSync Registry with proper structure, manifest, and registry index. Trigger: When the user says "GUARDA", "REGISTRA", "AGREGA" followed by a cognitive type and name, or asks to save/register/add a cognitive to the registry.
sprint-forge
Adaptive sprint workflow: deep analysis, evolving roadmap, one-at-a-time sprints, formal debt tracking, and re-entry prompts for context persistence. Trigger: When the user wants to analyze a project, create a roadmap, generate/execute sprints iteratively, or check project status and technical debt.
project-brain
Session memory for AI agents — load context at the start, save sessions at the end, evolve knowledge across sessions. Like a professional's notebook: open before work, write a summary when done, persist between sessions. Trigger: When starting a session and need to recover context, or ending a session and want to save what happened.
universal-planner
Unified planning and execution skill for any software scenario. PLAN mode produces structured documentation; EXECUTE mode implements sprints from plan output. Trigger: When planning or executing any software work that requires structured analysis and actionable task plans.
growth-ceo
Elite tech CEO strategist that thinks like Musk, Bezos, Altman, Huang, and Thiel combined. Generates billion-dollar-scale strategic initiatives, product visions, and growth plays using first principles, 7 Powers, flywheels, and exponential thinking. Use this skill whenever the user discusses product strategy, business decisions, growth challenges, competitive positioning, or asks "what should we build" — even if they don't explicitly ask for "strategy". This includes: scaling from N to 10N users, what to build vs NOT build, MVP decisions, feature prioritization, competitive differentiation, enterprise vs self-serve, go-to-market, pivoting, revenue strategy, reducing churn, positioning against competitors, fundraising strategy, team building, platform plays, or any question where the user needs a founder/CEO-level perspective. If the user describes their product and asks "what should I do" — use this skill. Think big. Resources can be acquired. The vision comes first.
growth-architect
AI Co-Founder & Growth Architect: strategic clarity, product vision, MVP design, and architecture decisions (ADRs) before execution begins. Trigger: When user needs strategic advice, MVP validation, market analysis, product vision, or architecture decisions — before generating any execution plan.
obsidian
Unified Obsidian vault operations: sync documents to vault, read notes for context, search knowledge, and validate markdown standards. Filesystem-based, no MCP required. Trigger: When user wants to read from or write to Obsidian vault.
skill-creator
Creates new AI agent skills following the SynapSync spec with enhanced templates and guidelines. Trigger: When user asks to create a new skill, add agent instructions, or document patterns for AI.
dead-code-auditor
Rigorous dead code audit for any module, folder, or file in any programming language. Detects orphan files never imported anywhere, classes/functions/ methods declared but never called, constructor parameters received but never consumed, unused imports/requires, private fields with no references, and commented-out code blocks. Use this skill whenever the user asks to: review unused code, clean up a feature after a refactor, find dead code, detect orphan files or classes, audit what can be deleted, find what's left over after a big change, or any variation of "what's not being used / what can I remove". Also triggers when the user says they made large changes and wants to know what became obsolete. IMPORTANT: This skill only reports — it never deletes anything. At the end it always offers to generate a removal plan with /plan.
longrun-prompt
Generate a copy-paste GitHub Copilot CLI orchestrator prompt plus recommended launch command from a natural-language task. Use when the user wants prompt generation, orchestration templates, autopilot starter text, or a reusable Copilot CLI command instead of immediate execution.
parallel-validate-prompts
Validate and fix parallel prompts for required sections
parallel-prompt-generator
Generate agent-ready prompts from existing task specification files. Use when regenerating prompts after editing tasks, updating prompt templates, or preparing tasks for cpo execution.