
Prompt Optimizer
This is a meta-prompt tool that analyzes your draft prompts and rewrites them into optimized versions you can paste and run. It doesn't execute tasks. Instead, it classifies your intent (bug fix, new feature, refactor), estimates scope, auto-detects your tech stack from project files, then maps everything to the right ECC skills, commands, and agents. Useful when you know what you want but not how to ask for it, or when your prompt is vague and you want Claude Code to actually understand the full context. Supports both English and Chinese triggers. The six-phase pipeline is thorough but the real value is in the tech-specific component matching, which pulls in Django patterns for Python projects or Quarkus skills for Java without you having to remember they exist.
- skills.sh installs
- 6.3K
- GitHub stars
- 229.1K
- last updated
- Jul 14, 2026
Install
$ npx -y skills add affaan-m/everything-claude-code --skill prompt-optimizer --agent claude-codeInstalls into .claude/skills of the current project.
Files
Prompt Optimizer
Analyze a draft prompt, critique it, match it to ECC ecosystem components, and output a complete optimized prompt the user can paste and run.
When to Use
- User says "optimize this prompt", "improve my prompt", "rewrite this prompt"
- User says "help me write a better prompt for..."
- User says "what's the best way to ask Claude Code to..."
- User says "优化prompt", "改进prompt", "怎么写prompt", "帮我优化这个指令"
- User pastes a draft prompt and asks for feedback or enhancement
- User says "I don't know how to prompt for this"
- User says "how should I use ECC for..."
- User explicitly invokes
/prompt-optimize
Do Not Use When
- User wants the task done directly (just execute it)
- User says "优化代码", "优化性能", "optimize this code", "optimize performance" — these are refactoring tasks, not prompt optimization
- User is asking about ECC configuration (use
configure-eccinstead) - User wants a skill inventory (use
skill-stocktakeinstead) - User says "just do it" or "直接做"
How It Works
Advisory only — do not execute the user's task.
Sponsors
Details
- Repository
- github.com/affaan-m/everything-claude-code
- Category
- AI & Agent Building
- First seen
- Apr 16, 2026
More from affaan-m/everything-claude-code
All 256- Cpp Coding Standards6.2K
- Market Research6.2K
- Strategic Compact6.1K
- Android Clean Architecture6K
- Springboot Tdd6K
- Continuous Learning5.9K
- Database Migrations5.9K
- Django Tdd5.9K
- E2e Testing5.9K
- Liquid Glass Design5.9K
- Security Scan5.9K
- Deployment Patterns5.8K
- Jpa Patterns5.8K
- Laravel Patterns5.8K
- Clickhouse Io5.7K
- Eval Harness5.7K
- Laravel Security5.7K
- Cpp Testing5.6K
- Iterative Retrieval5.6K
- Agent Harness Construction5.5K
- Configure Ecc5.5K
- Nutrient Document Processing5.5K
- Search First5.5K
- Verification Loop5.5K