Skip to content
Development
Command

/review

Run a Gemini code review against local git state

From plugin
gemini-plugin-cc
488 skills1 agent8 commands
Install
$ npx -y skills add abiswas97/gemini-plugin-cc --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/review

Context preview

What this command does when you run it.

Run a Gemini code review against local git state

Command definition

review.md
description: Run a Gemini code review against local git state
argument-hint: '[--wait|--background] [--base <ref>] [--scope auto|working-tree|branch]'
disable-model-invocation: true
allowed-tools: Read, Glob, Grep, Bash(node:*), Bash(git:*), AskUserQuestion

Run a Gemini code review.

Raw slash-command arguments: `$ARGUMENTS`

Core constraint:

  • This command is review-only.
  • Do not fix issues, apply patches, or suggest that you are about to make changes.
  • Your only job is to run the review and return Gemini's output verbatim to the user.

Execution mode rules:

  • If `--wait` is in the arguments, run in the foreground without asking.
  • If `--background` is in the arguments, run in the background without asking.
  • Otherwise, estimate the size using `git status --short` and `git diff --shortstat`:
  • Recommend waiting only for 1-2 file diffs. Recommend background for everything else.
  • Use `AskUserQuestion` exactly once with: `Wait for results` and `Run in background`

Foreground flow:

  • Run:
node "${CLAUDE_PLUGIN_ROOT}/scripts/gemini-companion.mjs" review "$ARGUMENTS"
  • Return stdout verbatim. Do not fix any issues mentioned.

Background flow:

Bash({
  command: `node "${CLAUDE_PLUGIN_ROOT}/scripts/gemini-companion.mjs" review "$ARGUMENTS"`,
  description: "Gemini review",
  run_in_background: true
})
  • Tell the user: "Gemini review started in the background. Check `/gemini:status` for progress."
Read more
Ships withgemini-plugin-cc

Use Gemini from inside Claude Code for code reviews or to delegate tasks to Gemini. Based on openai/codex-plugin-cc, adapted for the Gemini CLI. Also adds /gemini:task for direct task delegation.

Get the whole plugin, auto-invoked
Stats
48
Stars
0
Views
11
Forks
Maintained
Maintenance
JavaScript
Language
Apache-2.0
License
3mo ago
Last commit
4mo ago
Created

Repo: abiswas97/gemini-plugin-cc