Skip to content
Development
Command

/review

Run an agy code review against local git state

From plugin
agy
611 skills1 agent11 commands
> /plugin marketplace add Vit129/agy-plugin-cc
> /plugin install agy@agy-plugin-cc

Command definition

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

Run an agy review by delegating to agy with a structured review prompt.

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 agy's output verbatim to the user.

Execution mode rules:

  • If the raw arguments include `--dry-run`, do not ask. Run in the foreground — it only prints the resolved options and available models, no review is performed.
  • If the raw arguments include `--wait`, do not ask. Run the review in the foreground.
  • If the raw arguments include `--background`, do not ask. Run the review in a Claude background task.
  • Otherwise, estimate the review size before asking:
  • For working-tree review, run `git status --short --untracked-files=all`.
  • For working-tree review, also inspect `git diff --shortstat --cached` and `git diff --shortstat`.
  • For base-branch review, use `git diff --shortstat <base>...HEAD`.
  • Treat untracked files as reviewable work even when `git diff --shortstat` is empty.
  • Only conclude there is nothing to review when the relevant scope is actually empty.
  • Recommend waiting only when the scoped review is clearly tiny (roughly 1–2 files, no sign of a broader change).
  • In every other case, recommend background.
  • Then use `AskUserQuestion` exactly once with two options, putting the recommended option first and suffixing its label with `(Recommended)`:
  • `Wait for results`
  • `Run in background`

Argument handling:

  • Preserve the user's arguments exactly.
  • Do not strip `--wait` or `--background` yourself.

Foreground flow:

  • Run:
node "${CLAUDE_PLUGIN_ROOT}/scripts/agy-companion.mjs" review "$ARGUMENTS"
  • Return the command stdout verbatim, exactly as-is.
  • Do not paraphrase, summarize, or add commentary before or after it.
  • Do not fix any issues mentioned in the review output.

Background flow:

  • Launch the review with `Bash` in the background:
Bash({
  command: `node "${CLAUDE_PLUGIN_ROOT}/scripts/agy-companion.mjs" review "$ARGUMENTS"`,
  description: "agy review",
  run_in_background: true
})
  • Do not wait for completion in this turn.
  • After launching the command, tell the user: "agy review started in the background. Check `/agy:status` for progress."
Read more
@vit129
Ships withagy

Unofficial community project. Not affiliated with, sponsored or endorsed by Google. "Antigravity" and "Google" are trademarks of Google LLC.

64 skills1 agent
Get the whole plugin

Stars on GitHub

Momentum

stars in total
6
Star history of Vit129/agy-plugin-cc on GitHub, a chart by star-history.com

Other commands on agy.

agy-update

agy-update

Command

Check for a newer git-clone version of this plugin and pull it after confirmation

@vit129@vit129Install Command
agy

agy

Command

Delegate a prompt to the Antigravity (agy) CLI agent

@vit129@vit129Install Command
rescue

rescue

Command

Delegate investigation, an explicit fix request, or follow-up rescue work to the agy (Antigravity) agent

@vit129@vit129Install Command
setup

setup

Command

Check whether the Antigravity (agy) CLI is installed and ready

@vit129@vit129Install Command
adversarial-review

adversarial-review

Command

Run an agy adversarial review that challenges the implementation approach and design choices

@vit129@vit129Install Command
cancel

cancel

Command

Cancel an active background agy job in this repository

@vit129@vit129Install Command

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command