Skip to main content

Code review commands

This page lists the various commands that you can issue to CodeRabbit through its chat interface during code reviews. For more information about working with CodeRabbit through chat, see Interact with CodeRabbit reviews.

CommandDescriptionUse Case
@coderabbitai reviewTriggers an incremental review of new changesWhen automatic reviews are disabled or you want to manually trigger a review
@coderabbitai full reviewPerforms a complete review of all files from scratchWhen you want to get fresh insights on the entire PR
@coderabbitai summaryRegenerates the PR summaryWhen you want an updated overview after making changes

Code review flow control

CommandDescriptionUse Case
@coderabbitai pauseTemporarily stops reviews on the PRWhen you're making multiple rapid changes
@coderabbitai resumeRestarts reviews after a pauseWhen you're ready for CodeRabbit to review again
@coderabbitai ignorePermanently disables reviews for this PRWhen you want to handle the review process manually

Comment management

CommandDescriptionUse Case
@coderabbitai resolveResolves all CodeRabbit review commentsWhen you've addressed all feedback and want to clean up

Documentation commands

CommandDescriptionUse Case
@coderabbitai generate docstringsGenerates docstrings for functions in the PRWhen you need automatic documentation for your code
@coderabbitai configurationShows current CodeRabbit settingsWhen you need to check or export your configuration

Agentic chat commands

CommandDescriptionUse Case
@coderabbitai planGet the agentic chat to plan an edit for previous commentsWhen you want CodeRabbit to change your code for you

Help and support

CommandDescriptionUse Case
@coderabbitai helpDisplays available commands and usage infoWhen you need guidance on using CodeRabbit