SponsoredSkillry: Agent Skills with taste. Designed and tested in-house, so one prompt gives you polished slides, web pages and launch videos.Skillry: Agent Skills with taste Try free Skills
Agent Skills
  • Skills
  • Picks
  • ShopSoon
  • Solutions
  • Specification
  • Submit
Agent Skills
Agent Skills

Discover and share powerful Agent Skills for AI assistants

GitHubX (Twitter)
Skills
  • View All
  • Install Guide
  • Documentation
  • Solutions
  • Product Launch Video
  • Submit
Tools
  • Claude Code
  • Cursor
  • OpenCode
  • Codex CLI
  • Gemini CLI
Resources
  • anthropics/skills
  • awesome-claude-skills
  • vercel-labs/agent-skills
  • kepano/obsidian-skills
Company
  • About
  • Changelog
  • Privacy Policy
  • Terms of Service

Sponsored by Vectrust @ OpenDev Org & NextRouter Alliance

© 2026 EvergreenAI. Built with JimmyLv
code-reviewer - Agent Skill - Agent Skills
Home/Skills/code-reviewer

code-reviewer

92,171

Use this skill to review code. It supports both local changes (staged or working tree) and remote Pull Requests (by ID or URL). It focuses on correctness, maintainability, and adherence to project standards.

Download FolderView on GitHub

CLI Install

Recommended

Use the skills CLI to install this skill with one command. Auto-detects all installed AI assistants.

Method 1 - skills CLI

npx skills i google-gemini/gemini-cli/.gemini/skills/code-reviewer

Method 2 - openskills (supports sync & update)

npx openskills install google-gemini/gemini-cli

Auto-detects Claude Code, Cursor, Codex CLI, Gemini CLI, and more. One install, works everywhere.

Installation Path

Download and extract to one of the following locations:

~/.claude/skills/code-reviewer/
SKILL.md

Skill Instructions

Back

Run with Cloud Agent

No setup needed. Let our cloud agents run this skill for you.

Select Provider

Select Model

ClaudeClaude Sonnet 5.5
$0.20/task

Best for coding tasks

Join Cloud Agent Waitlist

No setup required

Before you install

Read from this skill's files on GitHub on 2026-11-09. These are facts about the files, not a review of how well the skill works.

Files
1 file, 0 scripts, SKILL.md is 425 words
Needs on your machine
Node.js, GitHub CLI
Web addresses in its scripts
No URLs in its scripts
Worth a look before running
No sudo, rm -rf, curl | sh or shell=True in its scripts
Agent Skills spec
name and description present, name matches the folder
Last upstream change
2026-01-21

We ran this skill ourselves. Here is what went in and what came out.

Field noteRan on 2026-11-04

Input

Review getSkillBySlug in src/data/skill.ts. Intent in one sentence, as the skill requires before the comments: one skill page should render that skill's SKILL.md. I read the function and the report template. I did not review the whole repository.

Output

Verdict: Request changes.

Major. src/data/skill.ts getSkillBySlug. The page 404s when the GitHub fetch returns nothing, even if Sanity already lists the skill. Current: fetch the whole catalog, find the slug, then fetch SKILL.md, and return null on a miss. Suggested: render the catalog record and say the body could not be loaded. Impact: a GitHub blip, or a renamed path, removes a page the directory still links to.

Minor. The same function loads every skill to resolve one slug. Fine at a few hundred rows, noisy in the logs, and it hides a missing index.

Tests: no test covers the GitHub miss. Happy path is not covered either.

No SQL or string-built query in this function. That checklist item is clean.

Positive: the body is fetched for one skill, not for the whole catalog.

What happened

The template forces a verdict, which is the useful part. I would not have written 'request changes' in a casual read. I did not change the function in this pass. The review was the task, and fixing the 404 behavior is a separate change. The skill's 50 minute time box was not used. This was one function.

Use it when

A diff or a single function, when you are willing to leave with a verdict.

Skip it when

A drive-by review of a repo you have not read. The skill tells you to stop and ask if you cannot state the intent. I could state it here only because I had just read the loader.

Where this skill sits

  • Review the diff, then commit

On the diff, before you commit. It asks for a verdict. A review with no verdict is a summary.

Code Reviewer

This skill guides the agent in conducting professional and thorough code reviews for both local development and remote Pull Requests.

Workflow
1. Determine Review Target
  • Remote PR: If the user provides a PR number or URL (e.g., "Review PR #123"), target that remote PR.
  • Local Changes: If no specific PR is mentioned, or if the user asks to "review my changes", target the current local file system states (staged and unstaged changes).
2. Preparation

For Remote PRs:

  1. Checkout: Use the GitHub CLI to checkout the PR.
    gh pr checkout <PR_NUMBER>
  2. Preflight: Execute the project's standard verification suite to catch automated failures early.
    npm run preflight
  3. Context: Read the PR description and any existing comments to understand the goal and history.

For Local Changes:

  1. Identify Changes:
    • Check status: git status
    • Read diffs: git diff (working tree) and/or git diff --staged (staged).
  2. Preflight (Optional): If the changes are substantial, ask the user if they want to run npm run preflight before reviewing.
3. In-Depth Analysis

Analyze the code changes based on the following pillars:

  • Correctness: Does the code achieve its stated purpose without bugs or logical errors?
  • Maintainability: Is the code clean, well-structured, and easy to understand and modify in the future? Consider factors like code clarity, modularity, and adherence to established design patterns.
  • Readability: Is the code well-commented (where necessary) and consistently formatted according to our project's coding style guidelines?
  • Efficiency: Are there any obvious performance bottlenecks or resource inefficiencies introduced by the changes?
  • Security: Are there any potential security vulnerabilities or insecure coding practices?
  • Edge Cases and Error Handling: Does the code appropriately handle edge cases and potential errors?
  • Testability: Is the new or modified code adequately covered by tests (even if preflight checks pass)? Suggest additional test cases that would improve coverage or robustness.
4. Provide Feedback

Structure

  • Summary: A high-level overview of the review.
  • Findings:
    • Critical: Bugs, security issues, or breaking changes.
    • Improvements: Suggestions for better code quality or performance.
    • Nitpicks: Formatting or minor style issues (optional).
  • Conclusion: Clear recommendation (Approved / Request Changes).

Tone

  • Be constructive, professional, and friendly.
  • Explain why a change is requested.
  • For approvals, acknowledge the specific value of the contribution.
5. Cleanup (Remote PRs only)
  • After the review, ask the user if they want to switch back to the default branch (e.g., main or master).