Analyze and enhance vague or incomplete prompts before execution.
Analyzes vague prompts and enhances them with clarifying questions and specific details.
/plugin marketplace add onmyway133/claude-code-plugins/plugin install onmyway133-super-plugins-super@onmyway133/claude-code-pluginsAnalyze and enhance vague or incomplete prompts before execution.
/prompt-improver [prompt]
Arguments:
prompt - The original prompt to analyze and improveEvaluate for:
Look for missing information:
| Gap Type | Example |
|---|---|
| Ambiguous target | "Fix the bug" - which bug? |
| Missing context | "Update the API" - what change? |
| Unclear scope | "Improve performance" - where? how much? |
| No success criteria | "Make it better" - better how? |
| Missing constraints | "Add a feature" - any limitations? |
Before asking questions, gather context:
Ask targeted questions to fill gaps:
To help you effectively, I need to clarify:
1. **Target**: [Specific question about what to change]
2. **Scope**: [Question about boundaries]
3. **Constraints**: [Question about limitations]
4. **Priority**: [Question about what matters most]
Keep questions:
Once clarified, rewrite as a clear, actionable prompt:
Original: "Fix the login"
Improved: "Fix the login issue where users with special characters in their password cannot authenticate. The bug is in the password validation logic in auth.ts. Success criteria: users can login with any valid password."
## Prompt Analysis
**Original**: [original prompt]
**Clarity Score**: Low / Medium / High
**Gaps Identified**:
- [Gap 1]
- [Gap 2]
**Context Found**:
- [Relevant context from codebase]
**Clarifying Questions**:
1. [Question 1]
2. [Question 2]
---
After user responds:
## Improved Prompt
[Clear, specific, actionable version]