From prompt-optimizer
Rewrites an AI prompt with structured sections, specific instructions, and guardrails, then explains each change made.
How this command is triggered — by the user, by Claude, or both
Slash command
/prompt-optimizer:optimize-promptThe summary Claude sees in its command listing — used to decide when to auto-load this command
# /optimize-prompt - Optimize AI Prompt Rewrite and optimize an AI prompt for better performance and reliability. ## Steps 1. Read the original prompt and understand its intended purpose 2. Identify the target model and use case (chat, completion, function calling) 3. Restructure the prompt with clear sections: role, context, task, constraints, format 4. Rewrite ambiguous instructions with specific, measurable language 5. Add or improve output format specification with examples 6. Include edge case handling instructions 7. Add few-shot examples if the task benefits from them 8. Implement...
Rewrite and optimize an AI prompt for better performance and reliability.
6plugins reuse this command
First indexed Mar 30, 2026
npx claudepluginhub avelikiy/awesome-claude-code-toolkit --plugin prompt-optimizer/optimize-promptRewrites an AI prompt with structured sections, specific instructions, and guardrails, then explains each change made.
/devkit.prompt-optimizeOptimizes a given prompt using advanced techniques (CoT, few-shot, constitutional AI) with model-specific formatting. Saves the optimized prompt to optimized-prompt.md and produces an enhancement report.
/prompt-optimizeOptimizes a prompt for production by applying chain-of-thought, few-shot examples, and constitutional AI self-critique patterns. Accepts prompt text or a file path.
/xpromptOptimizes a given prompt into production-grade format with annotations and rationale, without triggering any development workflow.
/improve-promptAnalyzes and improves AI prompts by evaluating clarity, specificity, context, constraints, and examples, then rewrites with structured sections.
/new-promptBuilds new prompts from parameters or optimizes existing ones using Anthropic's best practices, producing structured enhanced prompts with improvements.