gemini-review

Review local code diffs for bugs, security, and performance using Gemini CLI.

16|2|Updated Nov 9, 2025
One-click install
npx skills add https://github.com/maroffo/claude-forge --skill gemini-review-maroffo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gemini-review
Source: https://github.com/maroffo/claude-forge/tree/main/skills/gemini-review
Command: npx skills add https://github.com/maroffo/claude-forge --skill gemini-review-maroffo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates local code reviews using the Gemini CLI, ensuring code quality before commits and providing a structured review process.

Core Features & Use Cases

  • Pre-commit Code Review: Review staged, uncommitted, or branch differences locally.
  • Configurable Prompts: Utilize default or custom prompt templates for tailored reviews.
  • Use Case: Before committing your changes, run gemini review to get immediate feedback on potential bugs, security issues, and performance bottlenecks directly in your terminal.

Quick Start

Run a local code review of your staged changes using the gemini review skill.

Frequently Asked Questions about gemini-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I perform a local pre-commit code review using an AI assistant?

You can perform a local code review by running the Gemini CLI against staged, uncommitted, or branch-based diffs to identify bugs, security issues, and performance bottlenecks before committing.

Can I customize the AI prompts for my local code review workflow?

Yes, local code review supports configurable prompt templates, allowing you to toggle between detailed terminal feedback and CI-style analysis based on your specific pre-commit workflow requirements.

Do I need a Gemini API key to run AI code reviews in my terminal?

Yes, running AI code reviews locally requires the Gemini CLI to be installed and the GEMINI_API_KEY environment variable to be configured to authenticate your pre-commit analysis requests.

What is the best way to analyze branch differences for bugs before a commit?

The best way to analyze branch differences is using a local code review tool that processes branch-based diffs with the Gemini CLI to detect security vulnerabilities and performance issues directly in your terminal.

Does local AI code review work with uncommitted changes?

Yes, local AI code review processes uncommitted changes, staged files, and branch differences, providing immediate feedback on potential bugs and performance bottlenecks before you finalize your commit.