SKILL5.3K installs290.0K

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-optimizer

Use cases


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


Similar Skills