coderabbit-review

star 57

Run CodeRabbit AI code review on your changes

opendatahub-io By opendatahub-io schedule Updated 4/30/2026

Vendored from: https://github.com/coderabbitai/skills/tree/main (commands/review.md)

Version: 1.1.0 (plugin version)

License: MIT

Requires: CodeRabbit CLI (coderabbit or cr) installed and authenticated

To update: copy commands/review.md from the source repo

name: coderabbit-review description: Run CodeRabbit AI code review on your changes argument-hint: [type] [--base ] allowed-tools: Bash(coderabbit:) Bash(cr:) Bash(git:*)

CodeRabbit Code Review

Run an AI-powered code review using CodeRabbit.

Context

  • Current directory: !pwd
  • Git repo: !git rev-parse --is-inside-work-tree 2>/dev/null && echo "Yes" || echo "No"
  • Branch: !git branch --show-current 2>/dev/null || echo "detached HEAD"
  • Has changes: !git status --porcelain 2>/dev/null | head -1 | grep -q . && echo "Yes" || echo "No"

Instructions

Review code based on: $ARGUMENTS

Prerequisites Check

Skip these checks if you already verified them earlier in this session.

Otherwise, run:

coderabbit --version 2>/dev/null && coderabbit auth status 2>&1 | head -3

If CLI not found, tell user:

CodeRabbit CLI is not installed. Run in your terminal:

curl -fsSL https://cli.coderabbit.ai/install.sh | sh

Then restart your shell and try again.

If "Not logged in", tell user:

You need to authenticate. Run in your terminal:

coderabbit auth login

Then try again.

Run Review

Once prerequisites are met:

coderabbit review --agent -t <type>

Where <type> from $ARGUMENTS:

  • all (default) - All changes
  • committed - Committed changes only
  • uncommitted - Uncommitted only

Add --base <branch> if specified.

Present Results

Group findings by severity:

  1. Critical - Security, bugs
  2. Suggestions - Improvements
  3. Positive - What's good

Offer to apply fixes if codegenInstructions are present.

Install via CLI
npx skills add https://github.com/opendatahub-io/odh-dashboard --skill coderabbit-review
Repository Details
star Stars 57
call_split Forks 303
navigation Branch main
article Path SKILL.md
More from Creator
opendatahub-io
opendatahub-io Explore all skills →