一键导入
review
Review pending changes with external LLMs (Gemini, Codex, Claude, or all).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Review pending changes with external LLMs (Gemini, Codex, Claude, or all).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Autonomously create a plan, consult Gemini and Codex for improvements, apply feedback, and implement. No user interaction - uses best judgment throughout.
Turn an idea into a concrete design through structured dialogue.
Gemini and Codex collaboratively brainstorm solutions, building on each other's ideas across rounds. Agent synthesizes the best ideas into a plan.
Claude brainstorms with an opponent LLM (Gemini or Codex) in alternating turns, building on each other's ideas. Synthesizes the best ideas into a plan.
Commit the staged changes. If there are no staged changes, stage all changes first.
Consult Gemini and Codex for high-level planning, synthesize into a detailed plan, implement, then get final review. No user interaction.
| name | review |
| description | Review pending changes with external LLMs (Gemini, Codex, Claude, or all). |
| allowed-tools | Bash, Glob, Grep, Read, Task, mcp__consult-llm__consult_llm |
| disable-model-invocation | true |
Review pending changes with external LLMs.
Arguments: $ARGUMENTS
Check arguments for reviewer flags (mutually exclusive):
--gemini → review with Gemini only--codex → review with Codex only--claude → review with a Claude subagentStrip flags from arguments. Remaining text is optional scope/focus for the review.
git diff to get unstaged changes and git diff --cached for staged changesgit log main..HEAD for committed changes on the branchBased on the flag, consult the reviewer(s):
--gemini: Gemini onlyCall mcp__consult-llm__consult_llm with:
model: "gemini"prompt: Review prompt belowtask_mode: "review"git_diff: {"files": [<changed files>], "base_ref": "HEAD"}files: Array of relevant source files for context--codex: Codex onlyCall mcp__consult-llm__consult_llm with:
model: "openai"prompt: Review prompt belowtask_mode: "review"git_diff: {"files": [<changed files>], "base_ref": "HEAD"}files: Array of relevant source files for context--claude: Claude subagentUse the Task tool with subagent_type: "general-purpose" and a prompt like:
Review the pending changes in this repository.
Run `git diff` and `git diff --cached` to see the changes, then read relevant files for context.
Consider:
- Any obvious bugs or edge cases missed?
- Code quality issues (error handling, naming, structure)?
- Deviations from best practices or existing patterns?
- Security concerns?
Provide specific, actionable feedback. Be concise.
Spawn BOTH as parallel subagents (Agent tool, subagent_type: "general-purpose", model: "sonnet"). NEVER run subagents in the background — always run them in the foreground so you can process their results immediately. Each subagent prompt must include the full review prompt, git_diff details, and file list so it can make the MCP call independently.
Gemini subagent — prompt must include:
mcp__consult-llm__consult_llm with model: "gemini", prompt: the review prompt, task_mode: "review", git_diff: {"files": [<changed files>], "base_ref": "HEAD"}, files: [array of relevant source files]Codex subagent — prompt must include:
mcp__consult-llm__consult_llm with model: "openai", prompt: the review prompt, task_mode: "review", git_diff: {"files": [<changed files>], "base_ref": "HEAD"}, files: [array of relevant source files]Review prompt:
Review these changes. Consider:
- Any obvious bugs or edge cases missed?
- Code quality issues (error handling, naming, structure)?
- Deviations from best practices or existing patterns?
- Security concerns?
- Anything that could break existing functionality?
Provide specific, actionable feedback. Be concise. Only flag issues worth fixing.
If the user provided scope/focus text, append it to the review prompt.
Present the feedback to the user: