optimize-prompt

Installation
SKILL.md

Optimize Prompt

Workflow

  1. Read the original prompt and all context the user supplied in the current conversation.
  2. Match the user's language unless the user requests another language.
  3. Read best-practices.md and classify the task as general-purpose or coding-related.
  4. Extract the explicit goal, context, constraints, requested output, and completion criteria.
  5. Identify only missing information that could materially change the optimized prompt.
  6. If essential information is missing, follow the clarification policy and stop until the user answers through Ask User or explicitly invokes $optimize-prompt again.
  7. Rewrite the prompt with the minimum structure needed for reliable execution.
  8. Check the result against the preservation and output rules before returning it.

Clarification Policy

When essential information is missing:

Installs
2
First Seen
Jul 13, 2026
optimize-prompt — vamdawn/ai-forge