Skip to main content

coderabbit-cli

Review local code changes before commit, surface bugs and security issues, and feed findings back into an AI coding loop. Use when an agent needs to run terminal-native code review on a Git repo and act on the results.

来源信息

仓库
composio-community/awesome-agent-clis
最近来源活动
2026年3月27日 19:19
检测到的 SKILL.md 语言
英语
星标
224
Forks
41

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
CodeRabbit CLI
description
Review local code changes before commit, surface bugs and security issues, and feed findings back into an AI coding loop. Use when an agent needs to run terminal-native code review on a Git repo and act on the results.
# CodeRabbit CLI AI code reviews directly in the terminal before commit. Reviews uncommitted changes, supports agent-friendly output modes, and integrates well with coding-agent fix loops. - **Docs**: https://docs.coderabbit.ai/cli/overview - **Docs Index**: https://docs.coderabbit.ai/llms.txt - **Status**: Open beta ## Installation ```bash # Install script curl -fsSL https://cli.coderabbit.ai/install.sh | sh # Homebrew brew install coderabbit ``` The CLI binary is `coderabbit`, with `cr` as a short alias. ## Authentication ```bash # Browser-based login cr auth login # API key login coderabbit auth login --api-key "cr-************" ``` CodeRabbit links the CLI to your account so reviews can use plan limits, team learnings, and codebase context where available. ## Key Commands ```bash # Review current repo changes cr # Plain text output cr --plain # Minimal output for AI coding agents cr --prompt-only # Review against a non-main base branch cr --base develop # Explicitly review uncommitted changes cr --prompt-only --type uncommitted ``` The CLI must be run from inside a Git repository. ## Agent-Friendly Features - `cr --prompt-only` for minimal agent-oriented output - `--plain` for detailed terminal review output without the full interactive UI - Works well in background review/fix loops for coding agents - Reviews local, uncommitted changes before code reaches a PR - Can apply simple suggested fixes directly from the interactive interface - Native guidance for Claude Code and Codex workflows in the docs ## Suggested Agent Workflow ```text Implement the task, then run cr --prompt-only --type uncommitted in the background. Fix major issues only. Run one final pass after the fixes and stop after two loops. ``` Use CodeRabbit to detect issues, then use the coding agent to implement the fixes. This is especially useful for race conditions, memory leaks, logic bugs, and security findings that are easier to address before commit.
在 GitHub 查看