Skip to content

User Commands

User commands allow you to trigger specific gitStream actions manually by adding comments to pull requests. These commands provide on-demand execution of automation actions without requiring changes to your .cm configuration files.

GitHub Only & v2 Action Required

User commands are only supported on GitHub and require the linear-b/gitstream-github-action@v2. This feature is not available on GitLab or Bitbucket.

Overview

gitStream supports comment-triggered actions that allow you to execute specific automations on-demand. Commands are only processed when new comments are added, not when existing comments are edited.

gitStream provides visual feedback through emoji reactions on command comments. 👀 is added when a command is recognized and processing begins and 👍 is added when the command has been successfully executed.

Available Commands

Command Platform Description Action
/gs review Run an AI-powered code review on this PR Executes code-review@v1 once on the current PR
/gs desc Generate a description of the changes in this PR Executes describe-changes@v1 once on the current PR with concat_mode: append
/gs etr Add estimated time to review label Adds a label with the estimated review time based on the PR changes
/gs experts Add a comment with codeExperts suggestion for current changes Executes explain-code-experts@v1 once on the current PR
/gs help Show help message with available commands Displays a comment with the list of all available gitStream commands