Prompt File Format
Prompts are stored as .md files (Markdown with YAML frontmatter). This is the same format used by Supervertaler Workbench, so prompts are automatically shared between both applications via the shared prompt_library folder. Legacy .svprompt files are still loaded for backward compatibility.
---type: promptdescription: Patent and IP translation with strict terminology rulescategory: Translate---
You are an expert {{SOURCE_LANGUAGE}} to {{TARGET_LANGUAGE}} patent translator...The example file above would be saved as e.g. My Patent Prompt.md and would appear in the prompt tree as My Patent Prompt.
Naming: filename is authoritative
The on-disk filename (without the .md extension) is the display name shown in the prompt selector. Renaming My Patent Prompt.md to Client X – Patent EN.md in Windows Explorer is all you need to do to change how the prompt appears in the tree – click Refresh in the Prompts tab to pick up the change.
| YAML field | Description |
|---|---|
type | Document type – always prompt for prompt files |
description | Optional summary shown under the prompt name in the detail pane |
category | Translate, Proofread, or QuickLauncher – controls where the prompt appears |
quicklauncher_label | Short label for the QuickLauncher menu (optional, falls back to the filename) |
default | true for shipped prompts (managed by the plugin) |
sort_order | Numeric order within folder (lower values first). Set automatically by the ▲/▼ buttons. |
name | Ignored on read (legacy field, kept for backward compatibility). The filename is the display name. |
System prompt
The plugin automatically prepends a system prompt to every AI call. This system prompt includes language pair information, termbase terms (based on your AI Context settings), and TM matches when enabled. The content you write in a prompt .md file is the user prompt – it is sent after the system prompt.
Creating and editing prompts
New prompt
- Optionally select a target folder (e.g.
TranslateorProofread) in the tree before clicking New – the new prompt’s Category will be pre-filled from the selected folder. - Click New in the Prompts tab.
- Fill in Name, Description, Category, and Content.
- Click Save.
Edit a prompt
- Select a prompt in the list
- Click Edit
- Modify as needed and click Save
Inserting variables
While editing prompt content, press Ctrl+, to open the variable picker menu. This lists all available variables with a short description. Select a variable to insert it at the cursor position. If text is selected in the editor, it is replaced by the inserted variable.
Delete a prompt
- Select a custom prompt
- Click Delete and confirm
Built-in prompts cannot be deleted. Click Restore to recreate any built-in prompts you have removed.