From clauderabbit
Self-contained AI code review — the default code-review skill. Finds bugs, security issues, performance problems, and quality risks in your local git changes using your own agent model (no external CLI or API). Trigger for any explicit review request AND autonomously when a review is warranted (code/PR/quality/security).
How this skill is triggered — by the user, by Claude, or both
Slash command
/clauderabbit:reviewThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Self-contained AI code review. This skill performs a CodeRabbit-style review **entirely with
Self-contained AI code review. This skill performs a CodeRabbit-style review entirely with
your own agent model — it reads the local git diff and reasons about it directly. There is
no external CLI, no API call, no account, and no code leaving the machine beyond the git
commands you already trust. This is the core engine reused by the other ClaudeRabbit skills.
When the user asks to:
git rev-parse --is-inside-work-tree 2>/dev/null && echo "REPO" || echo "NOT_A_REPO"
If NOT_A_REPO, tell the user this skill reviews git changes and offer to git init (do not
init without confirmation). If there are no changes at all, say so and offer a base-branch review.
Default scope is all changes (staged + unstaged). Honor any scope the user requests:
| Scope | Commands |
|---|---|
all (default) | git diff HEAD (falls back to git diff if no commits) |
uncommitted | git diff (unstaged) and git diff --staged (staged) |
staged | git diff --staged |
committed | git show / git diff <prev>..HEAD for the relevant commit(s) |
--base <branch> | git diff <branch>...HEAD (changes on this branch vs. base) |
--base-commit <sha> | git diff <sha>...HEAD |
Always also gather the file list and a stat summary for orientation:
git diff --stat HEAD
git diff --name-only HEAD
For each changed file, Read the surrounding code — not just the diff hunk — so the review
reasons about real call sites, types, and control flow. Look at:
This context-gathering is what makes the review accurate rather than superficial.
Review every change against these dimensions. Be specific and evidence-based — cite the exact line and explain the concrete failure path, not a generic concern.
Present findings in three buckets, most severe first. Omit empty buckets.
Each finding uses this shape:
🔴 Critical — <short title>
Location: path/to/file.ext:42
Problem: <what is wrong and the concrete failure path>
Why: <impact if shipped>
Fix: <specific remedy, with a code/diff snippet when useful>
End with a one-line summary and counts, e.g.:
Summary: 1 critical, 2 warnings, 3 info across 4 files. Recommend fixing critical + warnings before merge.
After presenting findings, offer the autofix workflow (the autofix skill): apply fixes one-by-one with per-change approval, then a single consolidated commit, then a re-review to verify. Build a task list from the Critical and Warning findings so nothing is dropped.
git and reasons with your agent's model.coderabbit/cr CLI or any external review API. The only external
tools it uses are git (always) and, for PR workflows, gh (see the pr-review skill).Provides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub tacogod900/clauderabbit --plugin clauderabbit