prompt-improver
Analyze and improve plugin prompts, skill definitions, and command instructions for clarity, safety, and effectiveness. Use when the user asks to "improve a prompt", "review a skill", "enhance instructions", "make this prompt better", "optimize this command", or "audit prompt quality".
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 plugin prompts, skill definitions, and command instructions for clarity, safety, and effectiveness. Use when the user asks to "improve a prompt", "review a skill", "enhance instructions", "make this prompt better", "optimize this command", or "audit prompt quality".
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 plugin prompts, skill definitions, and command instructions for clarity, safety, and effectiveness. Use when the user asks to "improve a prompt", "review a skill", "enhance instructions", "make this prompt better", "optimize this command", or "audit prompt quality".
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
Best AI Skills for Claude
Explore the best AI skills for Claude and Claude Code across coding, research, workflow automation, documentation, and agent operations.
ChatGPT vs Claude for Agent Skills
Compare ChatGPT and Claude for AI agent skills across coding, writing, research, and reusable workflow execution.
AI Agents for Coding
Browse AI agent skills for coding, debugging, testing, refactoring, code review, and developer workflows across Claude, Cursor, and Codex.
SKILL.md Source
# Prompt Improver This skill automatically analyzes and improves plugin prompts, SKILL.md files, command definitions, and agent instructions. ## Overview The prompt-improver skill evaluates plugin content across five dimensions — clarity, safety, effectiveness, completeness, and conciseness — then provides scored assessments and concrete rewrites. ## When to Use This Skill This skill activates when you need to: - Review and improve a SKILL.md file's instructions - Enhance command or agent markdown definitions - Audit prompt quality across a plugin - Optimize instructions for better Claude performance - Ensure prompts follow marketplace best practices ## Instructions 1. **Identify the target** — Locate the SKILL.md, command, or agent file to analyze 2. **Read the content** — Use Read tool to get the full file contents 3. **Score each dimension** on a 1-5 scale: - **Clarity (1-5)**: Are instructions unambiguous? - **Safety (1-5)**: Does it avoid encouraging dangerous operations? - **Effectiveness (1-5)**: Will it reliably produce intended results? - **Completeness (1-5)**: Are edge cases addressed? - **Conciseness (1-5)**: Is it free of unnecessary verbosity? 4. **Identify improvements** — List specific weaknesses with line references 5. **Generate rewrites** — Provide improved versions preserving original intent 6. **Apply changes** — If requested, use Edit tool to apply improvements ## Output Format ``` ## Prompt Analysis: [filename] ### Scores | Dimension | Score | Notes | |-----------|-------|-------| | Clarity | X/5 | ... | | Safety | X/5 | ... | | Effectiveness | X/5 | ... | | Completeness | X/5 | ... | | Conciseness | X/5 | ... | **Overall: X/25** ### Improvements 1. [Specific improvement with before/after] ### Suggested Rewrite [Full improved prompt text] ``` ## Best Practices - Preserve the original author's intent and style - Prioritize safety improvements over stylistic ones - Keep suggestions actionable and specific - Reference marketplace conventions from CLAUDE.md - Validate frontmatter fields match the 2026 spec ## Examples ### Example 1: Improving a vague skill description **Before:** ```yaml description: Does stuff with code ``` **After:** ```yaml description: | Analyze source code for common anti-patterns and suggest refactoring improvements. Use when the user asks to "review code quality", "find code smells", or "refactor this file". ``` ### Example 2: Adding missing safety guidance **Before:** ```markdown Delete all temporary files from the project. ``` **After:** ```markdown Identify temporary files (*.tmp, *.bak, *.swp) in the project. List them for user confirmation before deletion. Never delete files outside the project root. ``` ## Prerequisites - A plugin directory containing at least one SKILL.md, command, or agent markdown file - Read access to the target plugin's `.claude-plugin/plugin.json` for context - Familiarity with the [2026 SKILL.md frontmatter spec](https://docs.anthropic.com/en/docs/claude-code/plugins) ## Output The skill produces a structured analysis report containing: - **Score card**: 5 dimensions rated 1-5 with notes and an overall score out of 25 - **Improvement list**: Specific weaknesses with file paths and line references - **Suggested rewrite**: Full improved prompt text preserving original intent ## Error Handling | Error | Cause | Resolution | |-------|-------|------------| | No SKILL.md found | Target path has no skill files | Verify the plugin path and check for `skills/*/SKILL.md` | | Invalid frontmatter | YAML parsing failure in target file | Report the specific YAML error and suggest corrections | | Empty skill body | File has frontmatter but no instructions | Flag as critical and generate a starter template | ## Resources - [Claude Code plugins documentation](https://docs.anthropic.com/en/docs/claude-code/plugins) — official plugin and SKILL.md spec - [Prompt engineering guide](https://docs.anthropic.com/en/docs/build-with-claude/prompt-engineering) — Anthropic best practices for prompt design - Marketplace conventions: see the repository CLAUDE.md for field requirements and structure
Related Skills
windsurf-custom-prompts
Create and manage custom prompt libraries for Cascade. Activate when users mention "custom prompts", "prompt library", "prompt templates", "cascade prompts", or "prompt management". Handles prompt library creation and organization. Use when working with windsurf custom prompts functionality. Trigger with phrases like "windsurf custom prompts", "windsurf prompts", "windsurf".
cursor-custom-prompts
Create effective custom prompts for Cursor AI using project rules, prompt engineering patterns, and reusable templates. Triggers on "cursor prompts", "prompt engineering cursor", "better cursor prompts", "cursor instructions", "cursor prompt templates".
optimizing-prompts
Execute this skill optimizes prompts for large language models (llms) to reduce token usage, lower costs, and improve performance. it analyzes the prompt, identifies areas for simplification and redundancy removal, and rewrites the prompt to be more conci... Use when optimizing performance. Trigger with phrases like 'optimize', 'performance', or 'speed up'.
schema-optimization-orchestrator
Multi-phase schema optimization workflow orchestrator. Creates session directories, spawns phase agents sequentially, validates outputs, aggregates results. Trigger: "run schema optimization", "optimize schema workflow", "execute schema phases"
test-skill
Test skill for E2E validation. Trigger with "run test skill" or "execute test". Use this skill when testing skill activation and tool permissions.
example-skill
Brief description of what this skill does and when the model should activate it. Use when [describe the user's intent or situation]. Trigger with "example phrase", "another trigger", "/example-skill".
testing-visual-regression
Detect visual changes in UI components using screenshot comparison. Use when detecting unintended UI changes or pixel differences. Trigger with phrases like "test visual changes", "compare screenshots", or "detect UI regressions".
generating-unit-tests
Test automatically generate comprehensive unit tests from source code covering happy paths, edge cases, and error conditions. Use when creating test coverage for functions, classes, or modules. Trigger with phrases like "generate unit tests", "create tests for", or "add test coverage".
generating-test-reports
Generate comprehensive test reports with metrics, coverage, and visualizations. Use when performing specialized testing. Trigger with phrases like "generate test report", "create test documentation", or "show test metrics".
orchestrating-test-execution
Test coordinate parallel test execution across multiple environments and frameworks. Use when performing specialized testing. Trigger with phrases like "orchestrate tests", "run parallel tests", or "coordinate test execution".
managing-test-environments
Test provision and manage isolated test environments with configuration and data. Use when performing specialized testing. Trigger with phrases like "manage test environment", "provision test env", or "setup test infrastructure".
generating-test-doubles
Generate mocks, stubs, spies, and fakes for dependency isolation. Use when creating mocks, stubs, or test isolation fixtures. Trigger with phrases like "generate mocks", "create test doubles", or "setup stubs".