> ## Documentation Index
> Fetch the complete documentation index at: https://docs.qoder.com/llms.txt
> Use this file to discover all available pages before exploring further.

# One-click prompt optimization

Prompts entered in the chat box can be automatically optimized using attached context and conversation history.

* **Enter a prompt**: Type an initial idea in the input box (for example: "Add a ticket escalation feature").
* **Enhance prompt**: Click the **Enhance prompt <svg style={{display: "inline", verticalAlign: "baseline", margin: "0 2px"}} viewBox="0 0 24 24" width="14" height="14" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path d="M1 11C6.52285 11 11 6.52285 11 1H13C13 6.52285 17.4772 11 23 11V13C17.4772 13 13 17.4772 13 23H11C11 17.4772 6.52285 13 1 13V11ZM5.80342 12C8.56895 13.2093 10.7907 15.431 12 18.1966C13.2093 15.431 15.431 13.2093 18.1966 12C15.431 10.7907 13.2093 8.56895 12 5.80342C10.7907 8.56895 8.56895 10.7907 5.80342 12Z" /></svg>** button on the right side of the input box. The system generates a detailed, actionable prompt based on the input and available context.
* **Review and edit**: The generated prompt includes goals, constraints, and implementation guidance, and can be edited before submission.
* **Undo or submit**: The enhancement can be undone, or the optimized prompt can be submitted directly.
