Install any skill in seconds. Free to start, no credit card required.
Get Started Free →zrosenbauer/code-reviewer
This skill should be used when the user wants to review code, audit a diff, get a second opinion on changes, or run an adversarial review of files in the current working tree. Common triggers include "review this code", "audit this diff", "find issues in", "second opinion on this", "harsh review of", "adversarial review", and "security review of". Picks one or more reviewer personas (adversarial, security, architecture, performance). Reviews local files, `git diff`, or `git diff --staged` only —
Passed 10 of 19 test cases with the skill, and 8 of 19 without it.
and 4 more in the full report
6 fixed7 passed either way8 still failing3 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 6 test cases the skill fixed. Same model, same prompt, with and without the skill.
After running `detect-clis.mjs` and finding no available external CLIs for a single-persona review, what step must be taken before executing the review?
| Checked | Without skill | With skill |
|---|---|---|
| Asks the user to confirm the recommended execution mode before starting the review | Missed | Passed |
The instructions your model reads when the skill loads.
Reviews code in the current working tree through a chosen persona. Reference docs in references/ are loaded on demand — load only the persona and mode refs the user picks.
$ARGUMENTS — one of:
src/foo.ts, src/)diff — review git diffstaged — review git diff --stagedResolve $ARGUMENTS to a concrete set of files + diff:
| Input | Action |
|---|---|
| File/dir path | Read the file(s) directly |
diff | git diff |
staged | git diff --staged |
| empty | Ask: "What should I review? (file path / diff / staged)" |
Ask the user which review angle. In Claude Code use AskUserQuestion with multiSelect: true; in other agents use the equivalent multi-select prompt. Always present these exact 5 options (4 personas + an "All" convenience option):
references/personas/adversarial.mdreferences/personas/security.mdreferences/personas/architecture.mdreferences/personas/performance.mdIf the user picks "All", treat it as [adversarial, security, architecture, performance]. Don't omit the "All" option even when the user already named a persona in their request — they may want to broaden it.
Only load the references the user actually picked. Don't pre-load all four unless they chose "All" — that's the whole point of progressive disclosure.
test cases passed, vs 8 / 19 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.