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

CommandWhat it does
/reviewCode review of workspace files: quality issues, bugs, suggestions — critical first.
/bugsBug hunt in the project: logic, exceptions, concurrency, leaks — with file, line and a fix.
/testsUnit tests for {{file}} using the project's own test framework (detected automatically).
/explainExplains how {{file}} works: purpose, key entities, data flow, pitfalls.
/docsWrites a project README: overview, install, usage, API — based on the actual code.
/refactorRefactors {{file}} without changing behavior, explaining every significant edit.

Ready-made roles

CommandRole
/translatorProfessional translator: accurate and natural, preserving style and terminology.
/writerCopywriter: clear, lively text in a given tone, no filler.
/architectSoftware architect: trade-offs, scalability, mermaid diagrams, concrete recommendations.
/teacherTeacher: simple to complex, with examples and comprehension checks.
/analystAnalyst: 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

  1. Type / in the input — the template list appears.
  2. Keep typing — the list filters by name and command.
  3. / to navigate, Enter or Tab to insert, Esc to close.
  4. 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.