Skills google-gemini gemini-cli

code-reviewer

Use it when:
You want a review of your staged and unstaged changes, or of a pull request you name by number or URL.
It does:
Reads the diff, or checks the PR out with gh and runs the project's checks, then weighs correctness, maintainability, readability, efficiency, security, edge cases and tests.
You get:
A summary, findings sorted into critical, improvements and optional nitpicks, and a clear verdict: Approved or Request Changes.
Needs:
The gh CLI for pull requests; local reviews use git alone.
Written for:
The Gemini CLI repository, where it lives: its pull-request step runs npm run preflight, that project's verification suite.

Written for gemini-cli's own repo: on a pull request it runs npm run preflight, that project's check script, which most other repos don't have.

TL;DR

A general code-review routine from the Gemini CLI repository. With no PR named, it reviews your working tree: git status, then git diff for unstaged and staged changes, and on a substantial change it asks whether to run npm run preflight first. Given a PR number or URL, it checks the PR out with gh pr checkout, runs npm run preflight to catch automated failures, and reads the PR description and existing comments. It then weighs the changes for correctness, maintainability, readability against the project's style, efficiency, security, edge cases and error handling, and whether tests cover the new code, suggesting extra test cases. Feedback opens with a summary, lists critical findings (bugs, security issues, breaking changes), then improvements and optional nitpicks, explains why each change is requested, and ends with a recommendation. The tone is constructive, and approvals name what the contribution adds. After a PR review it asks whether to switch back to the default branch. None of its steps post the review to GitHub.

Summarizes the skill at 62bab5b.

npx skills add https://github.com/google-gemini/gemini-cli --skill code-reviewer
Total Downloads
9,700 on skills.sh, Nov 9, 2026
Repo stars
108,792 google-gemini/gemini-cli
First seen
Jan 21, 2026 on skills.sh
Weekly Downloads
40
-57% over the 8 weeks to Nov 9
Weekly values
Week toInstalls
Sep 2193
Sep 28164
Oct 5219
Oct 1259
Oct 1927
Oct 2631
Nov 221
Nov 940
Category

Find root causes, review code and test what you built.

Everything for building software: planning, coding, debugging, design, frameworks, cloud, agents and skills.

Type

A multi-step process the agent follows: interview, debug, run a TDD loop, review.

Effect

Its own steps create or change files, git state or local tools.

Needs

A specific command-line tool or desktop app must be installed, such as gh, agent-browser, LibreOffice, Obsidian or a vendor CLI.

Publisher

A verified publisher on skills.sh, or the company or maintainer behind the product the skill operates.

Topics
Stack

SKILL.md

No copy of its SKILL.md yet.