Limyrx Studio IDE

Magic Prompts

Magic Prompts are reusable, parameterized prompt templates that speed up common workflows.

What Are Magic Prompts?

A magic prompt is a template with placeholders ({{variable}}) that you fill in when running. The IDE provides a form UI for each template.

Creating Prompts

Define them in .opencode.jsonc:

{
  "magicPrompts": {
    "add-test": "Write tests for {{file}} using {{framework}}\nInclude edge cases.",
    "refactor": "Refactor {{component}} to use {{pattern}} pattern."
  }
}

Using Prompts

Open the command palette, select Magic Prompt, choose a template, fill in the fields, and the prompt is inserted into the chat input.