zvadaadam/az-skills/code-review
Claude Code and agent skill by zvadaadam/az-skills
- community
Checking that the SKILL.md file is still in the repository.
Multi-lens code review — spawns parallel sub-agents to independently review branch changes for bugs, security, and design, then validates and reports only high-signal findings. Use when you want a thorough review before merging or when self-reviewing your own changes.
Install
npx vskill@latest install zvadaadam/az-skills/code-reviewSKILL.md
Code Review
Run a rigorous, multi-perspective code review of the current branch's changes. Three independent reviewers examine the diff through different lenses, a validator filters false positives, and you get a structured report of only high-signal findings.
Scoping the Review
Always review the branch diff, never the full codebase.
Review both outputs: the first shows all committed changes relative to the base branch, the second catches any uncommitted WIP.
If $ARGUMENTS is a PR number, use gh pr diff $ARGUMENTS instead.
Before launching reviewers, read the diff yourself to understand the scope and intent of the changes. This context is essential for writing good reviewer prompts.
Process
Phase 0 — Signal Review Started
If reviewing a PR, immediately post a status comment so other tools (e.g., greenlight-pr) know a review is in progress and should wait:
The <!-- code-review-status: in_progress --> marker lets other tools detect that a review is running. The final summary in Phase 5 will include <!-- code-review-status: complete --> to signal completion.
Phase 1 — Understand the Full Picture
Don't just read the diff — understand the world around it. A review without context is just pattern matching.
- Get the diff and list of changed files
- Understand the intent — read the PR description, commit messages, and any linked issues. What is the developer trying to achieve? What problem are they solving?
- Read each changed file in full — understand the surrounding code, not just the changed lines
- Trace the connections — follow imports, function calls, and type definitions into related files. If the diff touches a service, read its callers. If it changes an API, read its consumers. If it modifies a data model, read what queries it.
- Understand the product context — look at the feature area, the module's README or docs, and how this change fits into the larger system. What is this module's purpose? Where is it heading?
- Check conventions — read CLAUDE.md files (root + any in directories of changed files) for project rules
Build a mental model of:
- What the developer built and why (the product goal, not just the code)
- How it fits into the existing architecture
- Where this area of the codebase is heading (are there related TODOs, follow-up issues, or a pattern being established?)
This context is essential — pass it to every reviewer.
Phase 2 — Review (3 Parallel Sub-Agents)
Spawn 3 sub-agents in parallel using the Agent tool. Each receives:
- The branch diff
- PR title/description or commit messages explaining intent
- The list of changed files and their full contents
- Context summary from Phase 1: the product goal, how the change fits into the system, related files and their roles, and where this area of the code is heading
- Any relevant CLAUDE.md rules
Each reviewer operates independently and does not see other reviewers' findings.
Every reviewer must explore the codebase before critiquing. Read the related code, trace call chains, and understand the developer's intent. Judge the code against what it's trying to accomplish, not against an abstract ideal.
Reviewer 1 — Logic & Correctness (model: opus)
Reviewer 2 — Security & Edge Cases (model: opus)
Reviewer 3 — Design & Maintainability (model: sonnet)
Phase 3 — Validate
After all three reviewers report back:
- Deduplicate — merge findings that describe the same issue from different angles. When multiple reviewers flag the same issue, promote its severity (this is a strong signal).
- Validate each finding — for every issue rated HIGH or CRITICAL:
- Read the actual code to confirm the issue exists
- Check if surrounding context (types, middleware, tests) already handles it
- Drop any finding you cannot verify in the code
- Classify each validated finding:
- Blocking — must fix before merge (confirmed bugs, security vulnerabilities, broken tests)
- Should Fix — real issues worth addressing (design problems, missing edge cases, convention violations)
- Consider — optional improvements backed by solid reasoning
- Praise — patterns or decisions done well (reinforces good work)
Phase 4 — Comment
Post each finding as an inline comment on the exact line of code where the issue lives.
If reviewing a PR ($ARGUMENTS is a PR number), post inline review comments using the GitHub API:
If reviewing a branch (no PR), output each comment with its file location — the user can navigate to each one.
Each inline comment must:
- Explain what the code is doing — describe the behavior at this line so the reader doesn't have to re-derive it
- Explain what's wrong — the specific bug, vulnerability, or design flaw
- Explain the impact — what will happen if this ships (crash, data loss, security breach, maintenance pain)
- Suggest a fix — concrete code or approach, not vague advice. For small self-contained fixes, include a code suggestion block. For larger structural changes, describe the approach.
Example inline comment:
Rules for inline comments:
- One comment per issue. Do not post duplicate comments for the same finding.
- Only you post comments. Sub-agents must never post comments themselves — they report findings back to you, and you post.
Phase 5 — Summary
After posting inline comments, output a summary:
If there are no blocking issues, say so clearly: "No blocking issues found."
If reviewing a PR, also post the summary as a top-level PR comment. The <!-- code-review-status: complete --> marker signals to other tools (e.g., greenlight-pr) that the review is finished and the verdict is final.
False Positives (Do NOT Flag)
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/engineering/code-review/SKILL.md
Popularity
- Repository stars
- 42
- Repository forks
- 4
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/zvadaadam/az-skills/code-review)