
Prompt Optimizer
This one sits between you and Claude Code to make your prompts actually work. Instead of executing tasks, it analyzes what you're asking for, figures out which ECC skills and commands apply, checks your tech stack from project files, and hands back a complete optimized prompt you can paste. It's especially useful when you're working cross-domain or don't know which skills exist for your stack. The six-phase pipeline catches missing context like acceptance criteria or security requirements before you waste a round trip. Supports both English and Chinese triggers. Think of it as a prompt linter that knows the entire ECC ecosystem.
- skills.sh installs
- 6.3K
- GitHub stars
- 300.3K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add affaan-m/ecc --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/ecc
- Categories
- Frontend Development, Code Review & Quality, AI & Agent Building, Debugging
- First seen
- Jul 14, 2026
More from affaan-m/ecc
All 263- Golang Patterns6.3K
- Postgres Patterns6.3K
- Verification Loop6.3K
- Article Writing6.3K
- Django Patterns6.2K
- Cpp Coding Standards6.2K
- Golang Testing6.2K
- Deep Research6.2K
- Java Coding Standards6.2K
- Blender Motion State Inspection6.1K
- Laravel Patterns6.1K
- Rust Patterns6.1K
- Springboot Patterns6.1K
- Context Budget6.1K
- Accessibility6.1K
- Nestjs Patterns6.1K
- Seo6.1K
- Django Security6.1K
- Git Workflow6K
- Python Testing6K
- Strategic Compact6K
- Design System6K
- Browser Qa6K
- Springboot Security6K