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
- Navigate to the Commands page
- Find the command you want to use
- 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:
- Available commands are shown
- Select or type the command slug
- The command's output content is inserted
- 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