Prompt snippets & roles
What it is
Prompt templates (snippets) are quick-insert message presets. Type / in the chat input, pick a template — its text is inserted into the input. 11 built-in templates ship with the app; add your own in the templates manager.
Built-in development templates
| Command | What it does |
|---|---|
/review | Code review of workspace files: quality issues, bugs, suggestions — critical first. |
/bugs | Bug hunt in the project: logic, exceptions, concurrency, leaks — with file, line and a fix. |
/tests | Unit tests for {{file}} using the project's own test framework (detected automatically). |
/explain | Explains how {{file}} works: purpose, key entities, data flow, pitfalls. |
/docs | Writes a project README: overview, install, usage, API — based on the actual code. |
/refactor | Refactors {{file}} without changing behavior, explaining every significant edit. |
Ready-made roles
| Command | Role |
|---|---|
/translator | Professional translator: accurate and natural, preserving style and terminology. |
/writer | Copywriter: clear, lively text in a given tone, no filler. |
/architect | Software architect: trade-offs, scalability, mermaid diagrams, concrete recommendations. |
/teacher | Teacher: simple to complex, with examples and comprehension checks. |
/analyst | Analyst: structure, key points, risks and opportunities, facts vs assumptions. |
Template variables
{{file}}— the last file the agent worked with in this chat (if none yet, the variable stays in the text — fill it in manually).{{workspace}}— the chat workspace folder name.{{selection}}— the text selected in the input at the moment of insertion.
How to use
- Type
/in the input — the template list appears. - Keep typing — the list filters by name and command.
↑/↓to navigate,EnterorTabto insert,Escto close.- The "Manage templates…" button sits at the bottom of the list.
A template is inserted into the message, not sent immediately: add task details, then send.
Your own templates
Settings → "Prompt templates" (or "Manage templates…" in the picker) → "+ Create":
- Name — how the template appears in the list.
- Command — the word after
/(unique, no spaces). - Template text — any text, optionally with variables.
Templates are available in all chats. Any template can be edited or deleted — built-ins included. Stored locally and included in data export.