Skip to main content

Using Commands

Learn how to use commands with your AI assistant.

Triggering a Command

Commands are triggered using the / prefix followed by the command slug:

/my-command

When triggered, the command's output content is inserted into your chat.

Enabling Commands

  1. Navigate to the Commands page
  2. Find the command you want to use
  3. Click the Use button to enable it

Enabled commands become available in your AI assistant.

How Commands Work

When you type / in your AI chat:

  1. Available commands are shown
  2. Select or type the command slug
  3. The command's output content is inserted
  4. The AI processes the content as part of your message

Example Commands

Code Review Command

Slug: /code-review

Output:

Review this code for:
- Bugs and potential issues
- Performance problems
- Security vulnerabilities
- Code style and best practices

Provide specific suggestions for improvement.

Create PR Command

Slug: /create-pr

Output:

Create a pull request with:
- Clear, descriptive title
- Summary of changes
- List of affected areas
- Testing instructions

Command Output

The output content can include:

  • Plain text instructions
  • Markdown formatting
  • Checklists and templates
  • Any content you want to reuse

Tips for Using Commands

  • Use descriptive slugs that are easy to remember
  • Combine commands with your own context
  • Share useful commands with your team