code-review · waybarrios — Claude Code skill: what it does, how to install
Reviews pull requests and local diffs for bugs and convention violations using multi-agent checks. Helps uncover subtle logic flaws before merging changes.
npx skills add waybarrios/opencode-power-pack --skill code-review -a claude-codeWhat code-review does
The skill isolates inspected changes and freezes them before review. Repository diffs and pull request metadata count strictly as untrusted data. Secret tokens are redacted automatically. The process resolves pull request mode, commit ranges, or uncommitted local diffs.
Every review builds a scope manifest backed by file snapshots and content hashes. The skill discovers rules in CLAUDE.md and AGENTS.md, mapping them strictly to matching paths. Several roles run in parallel to detect diff defects, race conditions, and missing test coverage.
Draft and closed pull requests stop immediately without review. Trivial correct changes are skipped. Mutating the working tree during analysis invalidates file snapshots and marks coverage as incomplete. Files must remain untouched during inspection.
What it helps with
- find logic errors across pull requests before merging
- detect race conditions and shared state issues
- enforce project rules from
CLAUDE.mdon changed files - identify unhandled edge cases and boundary failures
Example prompts for the agent
- Review this pull request for bugs and logic errors
- Audit all pending local changes before commit
- Inspect the recent changes against project rules
How to install code-review
1Skills CLI (Vercel)
npx skills add waybarrios/opencode-power-pack --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 waybarrios/opencode-power-pack --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 waybarrios/opencode-power-pack --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 waybarrios/opencode-power-pack code-review2Manually: put the files in place
.github/skills/code-review/SKILL.md1Skills CLI (Vercel)
npx skills add waybarrios/opencode-power-pack --skill code-review -a gemini-cli2Platform CLI
gemini skills install https://github.com/waybarrios/opencode-power-pack --path 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 waybarrios/opencode-power-pack --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 waybarrios/opencode-power-pack --skill code-review -a claude-code. Alternatively, add the skill file at ~/.claude/skills/code-review/SKILL.md.
What does the code-review skill do?
It analyzes code changes for logic bugs, race conditions, edge case failures, and project rule violations. The review runs through isolated roles with distinct inspection tasks.
How does code-review handle untrusted instructions in PRs?
It treats all diffs, commit messages, and PR metadata strictly as data rather than instructions. Found secrets are automatically masked with a [REDACTED] token.
Similar skills
All skills for Code review and refactoring →code-review by other authors comes first.