/code-review:code-reviewfrom code-review
Reviews local changes or a Git target (branch, PR, MR) at configurable effort levels, with optional fixes and PR/MR comments.
Ships in code-review. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
code-review [low|medium|high|xhigh|max] [--fix] [--comment] [--max-findings <n>|all|default] [target]
Review only by default. Treat explicit plain-language requests to fix or post as the corresponding flag. Respect the client's permission mode and the repository's instructions throughout.
| Effort | Review depth | Default findings |
|---|---|---|
low | One pass over the diff. Skip test and fixture hunks, full-file reads, and delegation. Report only issues visible in the diff, including clear runtime bugs, reimplemented helpers visible in the hunk, or dead code. | 4 |
medium | Run the first eight angles below. Favor findings a maintainer can act on. | 8 |
high | Run the first eight angles and trace rare but reachable states in more depth. Carry realistic edge cases into verification. | 10 |
xhigh or max | Run all ten angles, then sweep for missed defects after verification. | 15 |
If omitted, reuse the last explicit local effort in this conversation, otherwise use the client's session effort if it maps to a listed level, or medium. Reuse an explicit findings limit in the same conversation until --max-findings default. Accept a positive integer or all. Say when an invalid limit was ignored.
git merge-base <base> HEAD to pin that comparison. If no separate base is available, use HEAD for local changes, or the empty tree on an unborn branch. Review git diff --cached <comparison> for the commit candidate and git diff for unstaged edits. Include relevant untracked source files and distinguish findings that apply only to unstaged work. If the scope is empty, report that.!123, get the review diff and exact head SHA from the host. On a GitLab checkout, a bare number or branch can identify an MR. Read supporting files at the reviewed revision. Keep the current checkout intact.For medium and above, use independent read-only finders and verifiers when the host and repository permit delegation. Otherwise run those passes inline. Group angles by file or subsystem on small diffs. Record each finding with its file and line, a one-sentence claim, and a concrete failure scenario or maintenance cost.
xhigh and max, examine language-specific semantics, time zones, concurrency, cancellation, and retry behavior.xhigh and max, trace delegation, method forwarding, and cache or registry lookups for recursion, bypasses, or broken contracts.Deduplicate by failure mechanism. At low, report directly from the diff. At other levels, for each candidate, check the triggering source, the caller path, and any counterexample such as a guard, invariant, or documented behavior. A focused test or reproduction can settle uncertain behavior when allowed. Label each candidate:
At xhigh and max, take one fresh pass for gaps, especially removed guards, changed defaults, setup and teardown asymmetry, and rare error paths. Verify new candidates the same way. Report which review depth ran, rank findings by severity, and prioritize correctness when a limit forces a cut. Add a focused fix direction. Label plausible findings as such. Say when no findings survive.
--fix applies confirmed findings, including actionable cleanups, after the report is formed. Fix only in a checkout that contains the reviewed change. Skip false positives, unverified candidates, changes to intended behavior, and fixes requiring substantial work outside the reviewed diff. Preserve unrelated work. Run the relevant checks and report which findings were fixed or skipped and why. Leave commits and pushes to separate requests.--comment publishes findings from the reviewed revision. For GitHub, use one inline comment per finding via the client's GitHub tool or gh api, with the reviewed commit and a valid diff anchor. Add a suggestion block only if applying it fully fixes the finding. Honor pending-review rules. For GitLab, use glab mr note to post a single note with all findings and their file and line references. Verify the target and current head before posting and avoid duplicates. If the target is local, the head moved, or the host tool is unavailable, report in the session and explain why posting was skipped.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub fcakyon/claude-codex-settings --plugin code-reviewOther plugins' skills for the same job