Prompt Optimizer
Analyze raw prompts, identify intent and gaps, match ECC components (skills/commands/agents/hooks), and output a ready-to-paste optimized prompt. Advisory role only — never executes the task itself. TRIGGER when: user says "optimize prompt", "improve my prompt", "how to write a prompt for", "help me prompt", "rewrite this prompt", or explicitly asks to enhance prompt quality. Also triggers on Chinese equivalents: "优化prompt", "改进prompt", "怎么写prompt", "帮我优化这个指令". DO NOT TRIGGER when: user wants the task executed directly, or says "just do it" / "直接做". DO NOT TRIGGER when user says "优化代码", "优化性能", "optimize performance", "optimize this code" — those are refactoring/performance tasks, not prompt optimization.
- Type
- Skill
- Author
- affaan-m
- Category
- AI Agents
- GitHub stars
- 290.0K
- Installs
- 5.3K
- Last updated
- November 2, 2026
Install
npx skills add https://github.com/affaan-m/ecc --skill prompt-optimizerUse cases
- Rewrite a vague prompt into a ready-to-paste version before sending it.
- Find which skills, commands, or agents match the task you described.
- Spot missing context in a prompt and get suggestions to fill the gaps.
Frequently Asked Questions
Does the skill execute the task in my prompt?
No, it stays advisory and only returns an optimized prompt — it never runs the task itself.
What triggers the skill?
Phrases like "optimize prompt," "improve my prompt," "help me prompt," or "rewrite this prompt," plus Chinese equivalents such as "优化prompt."
Will it trigger on requests to optimize code or performance?
No — code refactoring and performance optimization requests are explicitly out of scope.
About this skill
Analyzes a raw prompt, identifies its intent and gaps, matches relevant ECC components, and returns a ready-to-paste improved prompt. It stays advisory and never executes the task itself. Triggers on phrases like "optimize prompt" or "help me prompt" (and Chinese equivalents), but deliberately ignores code or performance optimization requests.
Summary written with AI assistance from the project's public description.
Categories
More from affaan-m
Video Editing
AI-assisted video editing workflows for cutting, structuring, and augmenting real footage. Covers the full pipeline from raw capture through FFmpeg...
by affaan-m
Docker Patterns
Docker and Docker Compose patterns for local development, container security, networking, volume strategies, and multi-service orchestration.
by affaan-m
Security Review
Use this skill when adding authentication, handling user input, working with secrets, creating API endpoints, or implementing payment/sensitive fea...
by affaan-m
Backend Patterns
Backend architecture patterns, API design, database optimization, and server-side best practices for Node.js, Express, and Next.js API routes.
by affaan-m
Similar Skills
Find Skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", o...
by vercel-labs
Grill Me
A relentless interview to sharpen a plan or design.
by mattpocock
Ai Video Generation
Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0,...
by inference-sh
Ai Image Generation
Generate AI images with GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: GPT-Image-2, FLUX Dev LoRA, FL...
by inference-sh