Skip to content
Data
Command

/review

Run a read-only Grok code review of your uncommitted changes or a branch

From plugin
grok-build-plugin
257 skills1 agent7 commands
Install
$ npx -y skills add VasiHemanth/grok-build-plugin --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 read-only Grok code review of your uncommitted changes or a branch

Command definition

review.md
description: Run a read-only Grok code review of your uncommitted changes or a branch
argument-hint: "[--base <ref>] [--background|--wait] [--model <model>] [optional focus text]"
allowed-tools: Bash(node:*)

Run a read-only code review with Grok. Grok will not modify any files.

Raw user request: $ARGUMENTS

Run:

node "${CLAUDE_PLUGIN_ROOT}/scripts/grok-companion.mjs" review $ARGUMENTS

Rules:

  • Default target is uncommitted changes. `--base <ref>` reviews the current branch against that ref (e.g. `--base main`).
  • Any leftover text after the flags is forwarded as extra reviewer focus.
  • `--background` runs the review detached; report the job id and point the user at `/grok:status` and `/grok:result`. Otherwise run in the foreground.
  • This command is read-only. It does not change code.
  • Return the companion's stdout verbatim. Do not summarize or editorialize.
  • If the companion reports no changes, relay that. If it reports Grok is missing or not logged in, tell the user to run `/grok:setup`.
Ships withgrok-build-plugin

Want Claude Code, Codex, or Cursor to drive Grok Build? If you already pay for a Grok subscription, this gives any of those agents live X search and data right in their context. A couple of ways to wire it up.

Get the whole plugin, auto-invoked
Stats
25
Stars
0
Views
4
Forks
Active
Maintenance
JavaScript
Language
Apache-2.0
License
16d ago
Last commit
2mo ago
Created

Repo: VasiHemanth/grok-build-plugin