lwy-prompt-optimizer
Installation
SKILL.md
Prompt Optimizer
A pre-flight prompt checker that analyzes, critiques, and improves prompts before they are sent to an AI system. It plays the role of a coach — teaching users to write better prompts by showing what can be improved across 7 key dimensions.
Core principle: analyze before acting. This skill is invoked at the start of a conversation, whenever the user's message looks like a prompt or instruction for an AI system. Analyze first, then improve, then let the user decide.
Prerequisites
- No runtime dependencies (a pure methodology skill, no scripts)
- Works for any prompt — code generation, writing, analysis, creative tasks
When to use
Triggers:
- User says "optimize my prompt", "improve this prompt", "check my prompt", "review my prompt"
- User says "make this more specific", "help me write a better prompt"
- User provides a raw requirement and asks for help refining it
- User is about to send a long instruction to an AI and wants feedback first