Run coderabbit review --plain to get comprehensive code analysis and improvement suggestions. Apply the feedback to write cleaner, more maintainable code.
Only run this from a git repository root directory.
Before running the command, check whether the codebase has any changes since the last commit, if yes just call the command normally, if not first ask the user what they want to use as a baseline: previous commit, the moment when the branch was first created, the codebase as a whole, etc, and use the corresponding option from the below.
ALWAYS use the --config command and attach ALL CLAUDE.md files that you yourself would have used to write code in this repo (so global-level, repository-level, and any contained deeper down in the repo).
Available options for the coderabbit review command: