Loading...
Loading...
Compare original and translation side by side
bothcodexgeminiAskUserQuestionbothcodexgeminiAskUserQuestionAskUserQuestionheader: "Review tool"
question: "Which tool should run the review?"
options:
- "Both Codex and Gemini (Recommended)" -> run both in parallel
- "Codex only" -> mcp__codex__codex
- "Gemini only" -> gemini CLIheader: "Review scope"
question: "What should be reviewed?"
options:
- "Uncommitted changes" -> git diff HEAD + untracked files
- "Branch diff vs main" -> git diff <branch>...HEAD
- "Specific commit" -> follow up for SHAheader: "Review focus"
question: "Any specific focus areas?"
options:
- "General review"
- "Security & auth"
- "Performance"
- "Error handling"AskUserQuestionheader: "Review tool"
question: "Which tool should run the review?"
options:
- "Both Codex and Gemini (Recommended)" -> run both in parallel
- "Codex only" -> mcp__codex__codex
- "Gemini only" -> gemini CLIheader: "Review scope"
question: "What should be reviewed?"
options:
- "Uncommitted changes" -> git diff HEAD + untracked files
- "Branch diff vs main" -> git diff <branch>...HEAD
- "Specific commit" -> follow up for SHAheader: "Review focus"
question: "Any specific focus areas?"
options:
- "General review"
- "Security & auth"
- "Performance"
- "Error handling"git symbolic-ref refs/remotes/origin/HEAD 2>/dev/null | sed 's@^refs/remotes/origin/@@' || echo maingit symbolic-ref refs/remotes/origin/HEAD 2>/dev/null | sed 's@^refs/remotes/origin/@@' || echo mainCLAUDE.mdmcp__codex__codexBash(gemini ...)CLAUDE.mdmcp__codex__codexBash(gemini ...)undefinedundefined
When running a single tool, present its findings directly with your assessment of which findings are valid vs uncertain.
如果仅运行单个工具,请直接展示其评审结果,并对结果的有效性或不确定性给出你的评估。| Error | Action |
|---|---|
| Run Gemini only, |
| Run Codex only. |
| Both unavailable | Stop and inform the user |
| Gemini extension missing | Install: |
| Empty diff | Stop: no changes to review |
| Timeout | Suggest narrowing the scope |
| One tool fails | Present the other's results, note the failure |
| 错误 | 处理操作 |
|---|---|
| 仅运行Gemini |
| 仅运行Codex |
| 两者均不可用 | 停止操作并告知用户 |
| 缺少Gemini扩展 | 安装: |
| 差异内容为空 | 停止操作:无变更可评审 |
| 超时 | 建议缩小评审范围 |
| 其中一个工具运行失败 | 展示另一个工具的结果,并说明该工具运行失败 |
User: /second-opinions
Agent: [asks 3 questions: tool, scope, focus]
User: picks "Both", "Branch diff", "Security"
Agent: [detects default branch = main, shows diff --stat]
Agent: [auto-includes CLAUDE.md, dispatches mcp__codex__codex + gemini in parallel]
Agent: [presents both reviews, highlights agreements/differences]User: /second-opinions
Agent: [asks 3 questions: tool, scope, focus]
User: picks "Codex only", "Uncommitted", "General"
Agent: [shows diff --stat]
Agent: [calls mcp__codex__codex with review prompt]
Agent: [presents findings with assessment]User: /second-opinions
Agent: [asks questions] -> user picks "Both", "Uncommitted", "General"
Agent: [shows diff --stat: 45 files, +3200 -890]
Agent: "Large diff (3200+ lines). Proceed, or narrow the scope?"
User: "proceed"
Agent: [runs both reviews]User: /second-opinions
Agent: [询问3个问题:工具、范围、重点]
User: 选择“双工具”、“分支差异”、“安全性”
Agent: [检测到默认分支为main,展示diff --stat结果]
Agent: [自动包含CLAUDE.md,并行调用mcp__codex__codex和gemini]
Agent: [展示两份评审结果,突出共识与差异]User: /second-opinions
Agent: [询问3个问题:工具、范围、重点]
User: 选择“仅Codex”、“未提交变更”、“通用评审”
Agent: [展示diff --stat结果]
Agent: [调用mcp__codex__codex并传入评审提示词]
Agent: [展示评审结果并给出评估]User: /second-opinions
Agent: [询问问题] -> 用户选择“双工具”、“未提交变更”、“通用评审”
Agent: [展示diff --stat结果:45个文件,+3200 -890]
Agent: “差异内容过大(超过3200行)。是否继续,还是缩小评审范围?”
User: “继续”
Agent: [运行双工具评审]