All commands must be used with the @coderabbitai mention in PR comments or descriptions to trigger CodeRabbit’s response.

Review control commands

These commands control CodeRabbit’s automatic review behavior for your pull request.

Manual review triggers

Review flow control

Content generation commands

These commands help generate and update PR content and documentation.

Summary and documentation

Comment management

Information and configuration

Agentic chat commands

Agentic chat allows CodeRabbit to make actual code changes to your repository. Use with caution.

Command reference table

For quick reference, here’s a summary of all available commands:
CommandTypeDescriptionLocation
@coderabbitai reviewReviewIncremental review of new changesPR comment
@coderabbitai full reviewReviewComplete review from scratchPR comment
@coderabbitai pauseControlTemporarily stop reviewsPR comment
@coderabbitai resumeControlRestart reviews after pausePR comment
@coderabbitai ignoreControlPermanently disable reviewsPR description
@coderabbitai summaryContentRegenerate PR summaryPR comment
@coderabbitai generate docstringsContentGenerate function documentationPR comment
@coderabbitai generate unit testsContentGenerate test casesPR comment
@coderabbitai generate sequence diagramContentCreate visual diagramPR comment
@coderabbitai resolveManagementResolve all CR commentsPR comment
@coderabbitai configurationInfoShow current settingsPR comment
@coderabbitai helpInfoShow command referencePR comment
@coderabbitai planAgenticPlan and execute changesPR comment
Many of these commands are affected by your CodeRabbit configuration. Key configuration options include:
  • Automatic reviews: reviews.auto_review.enabled
  • Docstring generation: reviews.finishing_touches.docstrings.enabled
  • Unit test generation: reviews.finishing_touches.unit_tests.enabled
  • High-level summaries: reviews.high_level_summary
  • Sequence diagrams: reviews.sequence_diagrams
For complete configuration options, see Configuration Reference.