Lyna
SupportBlogOpen Lyna
Get startedFeaturesIntegrationsPromptingTips & TricksChangelog
Build with AI

Slash commands

Type / in the chat to switch modes, run workflows, manage context, open settings and call your own commands and skills.

Type / at the start of a message to open the command menu. Keep typing to filter it, then press Enter to run a command.

The slash command menu with the Modes, Workflow, Context, Your commands and Actions groups.

Modes

CommandWhat it does
/buildSwitch to Build mode to make changes.
/planSwitch to Plan mode to outline an approach first.
/askSwitch to Ask mode to ask without changing code.

Workflow

CommandWhat it does
/deep-planningMulti-step reasoning with an analysis of the project structure.
/newtaskCondense the context and start fresh with the key information.
/newruleCreate or edit project rules.
/fixAnalyze errors and fix them.
/reviewReview code changes for quality and correctness.
/refactorRestructure code safely, then check the result.
/iterateImprove existing code or UI in small rounds.

Context

CommandWhat it does
/explain-changesRead the Git changes and summarize their intent and impact.

Actions

CommandWhat it does
/clearStart a new conversation.
/compactSummarize the conversation to save tokens.
/screenshotCapture the preview and add it to the chat.
/fix (Doctor)Detect and fix errors in your code.
/knowledgeOpen project knowledge.
/figmaImport designs from Figma.
/rulesOpen the project's AI rules.
/skillsBrowse and manage skills.
/mcpTurn MCP servers on or off.
/hooksTurn hooks on or off.
/apiCall REST, GraphQL, Auth or Storage endpoints of your Lyna Cloud backend.
/modelSwitch the AI model.
/effortSet the thinking effort.
/contextShow how many messages and tokens the conversation holds.
/diffShow the files changed in this session.
/helpList all commands.

Commands with a submenu (Skills, MCP Servers, Hooks and API) open a second list. Choose Back to return.

The API command

/api builds a request to your project's backend for you. Pick REST, GraphQL, Auth or Storage, then an action such as List rows or Insert row. Actions that change data (insert, update, delete) ask for your approval before they run. Your project needs a database connected in project settings.

Your commands and skills

  • Your commands appear in their own group, marked User or Plugin. Create them in Settings > AI > Customize > Commands.
  • Skills can be called by name: type / and the skill name.

A slash with no match stays text

If nothing matches what you typed after /, pressing Enter sends your message as plain text.

Next steps