Skip to content

[FEATURE]: Context-Aware Prompt Enhancement #10237

@Faddz

Description

@Faddz

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Introduce a "Prompt Enhancement" feature similar to Kilo Code and Augment Code. This tool allows users to transform brief, informal instructions into high-fidelity, structured prompts by leveraging a dedicated secondary model and local project context.

Core Functionalities

  • Dedicated Enhancer Model Selection: Allow users to select a separate, lightweight model (e.g., GPT-4o-mini, Claude 4.5 Haiku, etc.) specifically for the enhancement task.
  • Custom Enhancement Instructions: Provide a settings field where users can define their own system prompt for the enhancer. This allows for personalized coding standards, such as "always include error handling and JSDoc comments in the generated requirements."
  • Contextual Injection:
    • AGENTS.md Integration: Automatically include the content of the AGENTS.md file (if present).
    • Chat History: Pass the recent chat history (if present) to the enhancer model so it can resolve pronouns (e.g., "fix that bug") and maintain continuity without the user needing to repeat context.

UX & Interaction Design

  • Trigger: Use the hotkey Ctrl + e to trigger the enhancement of the current text in the input field.
  • Behavior: Upon activation, the current draft is replaced entirely by the enhanced version.
  • Undo Action: If the user is unsatisfied with the result, pressing Esc immediately reverts the text in the input field to the original draft.
  • Visual Feedback: A subtle loading state (e.g., a "Magic Wand" icon animation) should appear in the input bar while the enhancer model is processing the request.

Metadata

Metadata

Assignees

Labels

discussionUsed for feature requests, proposals, ideas, etc. Open discussion

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions