code-review · coder — Claude Code skill: find bugs and security issues
code-review scans code changes for logic bugs, security vulnerabilities, and resource leaks. Works on a single PR, branch, or local diff in one pass.
AGPL-3.0 12 installs ★ 17,455 updated 2026-10-24
npx skills add coder/coder --skill code-review -a claude-codeWhat code-review does
The skill examines diffs and catches critical problems: auth bypass, injection, data exposure, race conditions, panics, and unhandled errors. It reads full context — related files in the repo, project patterns — before flagging anything. Spots logic errors, nil/null handling bugs, missing error checks.
For large PRs spanning multiple subsystems, use the deep-review skill instead. Results are marked by severity: CRITICAL (crash, auth failure, data loss), IMPORTANT (logic bugs, leaks), NITPICK (style). It skips code matching the project's style guide and avoids speculation — only facts count.
What it helps with
- catch auth bypass and access control flaws
- spot race conditions and deadlocks in concurrent code
- find resource leaks and unclosed file handles
- verify error handling and panic paths
- detect logic bugs and off-by-one errors
Example prompts for the agent
- Review PR #1234 for bugs and security issues
- Run code review on the branch before merging to main
- Check local diff against main for correctness problems
How to install code-review
1Skills CLI (Vercel)
npx skills add coder/coder --skill code-review -a claude-code2Manually: put the files in place
~/.claude/skills/code-review/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/code-review/
1Skills CLI (Vercel)
npx skills add coder/coder --skill code-review -a codex2Manually: put the files in place
.agents/skills/code-review/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add coder/coder --skill code-review -a cursor2Manually: put the files in place
.cursor/skills/code-review/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install coder/coder .claude/skills/code-review2Manually: put the files in place
.github/skills/code-review/SKILL.md1Skills CLI (Vercel)
npx skills add coder/coder --skill code-review -a gemini-cli2Platform CLI
gemini skills install https://github.com/coder/coder --path .claude/skills/code-reviewManually: put the files in place
.devin/skills/code-review/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add coder/coder --skill code-review -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about code-review
How do I install code-review in Claude Code?
Run npx skills add coder/coder --skill code-review -a claude-code, then open ~/.claude/skills/code-review/SKILL.md. The skill will be ready in Claude Code.
What does code-review do?
It scans code changes for bugs, security flaws, concurrency issues, resource leaks, and error handling problems. Works in one pass on PRs, branches, or local diffs.
When should I use code-review instead of deep-review?
Use code-review for single-pass checks on a PR or branch. If the PR is large and touches multiple subsystems, run deep-review for comprehensive analysis.
Similar skills
All skills for Code review and refactoring →code-review by other authors comes first.