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.

RajanthaR a85ea60 16.0 KB Updated 0 repo stars

File contents

RajanthaR/0-Rajantha-SKILLS/tree/main/skills/AI-Agent-Engineering/Prompting-and-Context-Management/prompt-optimizer commit a85ea602f5

Frequently asked questions

npx skillmds add rajanthar/prompt-optimizer