coderabbit
БесплатноЗапускает вложенные скриптыНе проверенCodeRabbit AI code review. Covers CLI usage, .coderabbit.yaml configuration, supported linters/tools, PR commands, and triage workflow. Use when running…
от itechmeat★ 24 звезды на GitHubОб этом скилле
CodeRabbit
AI-powered code review for pull requests and local changes.
Quick Navigation
| Task | Reference |
|---|---|
| Install & run CLI | cli-usage.md |
| Configure .coderabbit.yaml | configuration.md |
| Supported tools (40+ linters) | tools.md |
| Git platform setup | platforms.md |
| PR commands (@coderabbitai) | pr-commands.md |
| Claude/Cursor/Codex workflow | agent-integration.md |
| Triage findings | triage.md |
| Fix single issue | fix.md |
| Reporting & metrics | end-to-end-workflow.md |
| End-to-end workflow | end-to-end-workflow.md |
| Windows/WSL setup | windows-wsl.md |
Prerequisites Check (MUST RUN BEFORE REVIEW)
Before running CodeRabbit CLI, verify ALL of the following:
# 1. CLI installed?
which coderabbit || echo "MISSING: install with: curl -fsSL https://cli.coderabbit.ai/install.sh | sh"
# 2. Authenticated?
coderabbit auth status 2>&1 | grep -q "Logged in" || echo "MISSING: run coderabbit auth login"
# 3. Git repo has at least one commit? (CRITICAL — CLI crashes with GitError on empty repos)
git rev-parse HEAD >/dev/null 2>&1 || echo "MISSING: repo has no commits — make at least one commit first"
# 4. Base branch exists? (CLI defaults to 'main')
git rev-parse main >/dev/null 2>&1 || echo "WARNING: 'main' branch not found — use --base <branch>"
If any check fails, fix it before running the review. Do NOT proceed with a broken state.
Authentication failure rule: If authentication check fails (step 2), the agent MUST:
- Stop immediately — do not attempt to run the review
- Notify the user that CodeRabbit CLI is not authenticated
- Show the user the exact command to authenticate:
coderabbit auth login - Wait for the user to complete authentication before retrying
- Do NOT attempt to run
coderabbit auth loginon behalf of the user — it requires interactive browser redirect
Quick Start
Run Review
# AI agent workflow (most common) — note: 'review' subcommand is optional
coderabbit review --prompt-only --type uncommitted --no-color
# If base branch is not 'main' (e.g., master, develop):
coderabbit review --prompt-only --type uncommitted --base master --no-color
# Plain text output (human-readable)
coderabbit review --plain --type uncommitted --no-color
Local Capture Script
Persist output to a file for later analysis:
# IMPORTANT: use absolute path to the skill's script directory
python3 ~/.claude/skills/coderabbit/scripts/run_coderabbit.py --output coderabbit-report.txt
Options:
--outputto choose a different file name (saved to.code-review/in repo root)--timeoutto adjust the timeout in seconds (default: 1800)--baseto specify base branch (default: auto-detect from git)
PR Commands
@coderabbitai review # Incremental review
@coderabbitai full review # Complete review
@coderabbitai simplify # Apply targeted simplifications to changed files
@coderabbitai fix merge conflict # Attempt automatic merge-conflict resolution
@coderabbitai pause # Stop auto-reviews
@coderabbitai resume # Resume auto-reviews
@coderabbitai resolve # Mark comments resolved
Severity Matrix
| Severity | Action | Examples |
|---|---|---|
| CRITICAL | Fix immediately | Security, data loss, tenant isolation |
| HIGH | Should fix | Reliability, performance, architecture violations |
| MEDIUM | Judgment call | Maintainability, type safety (quick wins) |
| LOW | Skip | Style/formatting, subjective nits |
AI Agent Workflow Pattern
Implement [feature] and then run CodeRabbit CLI in a background terminal.
Wait for it to complete, then read the report. Fix CRITICAL/HIGH issues. Ignore nits.
Step-by-step:
- Run prerequisites check (see above) — fix any issues before proceeding
- Detect base branch:
git symbolic-ref refs/remotes/origin/HEAD 2>/dev/nullor fall back tomain/master - Run CLI in background:
coderabbit review --prompt-only --type uncommitted --base <branch> --no-color - Reviews
Установить coderabbit в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл coderabbit?
CodeRabbit AI code review. Covers CLI usage, .coderabbit.yaml configuration, supported linters/tools, PR commands, and triage workflow. Use when running AI-powered code reviews on pull requests or local changes, configuring review rules, or triaging CodeRabbit findings. Keywords: @coderabbitai, code review, CLI, .coderabbit.yaml.
Как установить скилл coderabbit?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл coderabbit запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic