Skip to main content
Mesa has an internal command parser that allows you to use slash commands or @ mention commands to control Mesa via pull requests comments. For the most part, the available actions are the same for both slash commands and mention commands, although mention commands allow for a flexible natural language interface, whereas slash commands are more explicit. Unless otherwise specified, these commands work only in discussion comments, not in inline comments.

Slash Commands

These are commands that you can use in your pull requests comments by typing / followed by the command.

Review Commands

  • /review or /review full: Review the changes in the pull request. If you don’t specify a scope, it will default to a full review.
  • /review latest: Review the changes in the pull request. If you specify “latest”, it will review only the changes since the last Mesa review.
  • /review [instructions]: Review the changes in the pull request with custom instructions. For example, /review focus on security will review the changes in the pull request with a focus on security.

Describe Commands

  • /describe: Generate or update the pull request description.

Help Commands

  • /help: Show the help message outlining all available commands and their usage.

Mention Commands

When using mention commands, you can use the @mesa-dot-dev string anywhere in your comment to trigger a command. When Mesa sees the @mesa-dot-dev string, we will use a LLM to determine what action the user is trying to execute. We support the following actions in mention commands:
  • @mesa-dot-dev review: Review the changes in the pull request. You can specify whether you want a full review or a partial review by adding keywords like “full”, “review all” vs. “latest”, “partial”, “incremental”, “review recent”, etc.
  • @mesa-dot-dev describe: Generate or update the pull request description.
  • @mesa-dot-dev add rule: Add a rule to one of your review agents. You can specify the rule text, the agent to add the rule to, and the application mode (always, auto, or manual). If you leave out any details, the LLM command process will attempt to guess the missing information.