# 外部审查协议
此步骤将 `claude-plan.md` 发送给外部智能体(Gemini 和 Codex)进行独立审查,使用命令行子智能体。
## 概述
启动两个并行的 Bash 命令以获取外部审查:
1. **Gemini CLI** - Google 的 Gemini 3 Pro
2. **Codex CLI** - OpenAI 的 GPT-5.2
两位审查者都会收到相同的计划并返回他们的分析。
## 审查提示词
对两位审查者使用此提示词:
You are a senior software architect reviewing an implementation plan.
The plan is self-contained - it includes all background, context, and requirements.
Identify:
- Potential footguns and edge cases
- Missing considerations
- Security vulnerabilities
- Performance issues
- Architectural problems
- Unclear or ambiguous requirements
- Anything else worth adding to the plan
Be specific and actionable. Reference specific sections. Give your honest, unconstrained assessment.
Here is the plan to review:
{PLAN_CONTENT}
## 执行
### 第一步:读取计划
bash
plan_content=$(cat "/claude-plan.md")
### 第二步:并行启动两次审查
在单个消息中使用两个 Bash 工具调用:
**Gemini 审查:**
bash
gemini -m gemini-3-pro-preview --approval-mode yolo "You are a senior software architect reviewing an implementation plan.
The plan is self-contained - it includes all background, context, and requirements.
Identify:
- Potential footguns and edge cases
- Missing considerations
- Security vulnerabilities
- Performance issues
- Architectural problems
- Unclear or ambiguous requirements
- Anything else worth adding to the plan
Be specific and actionable. Reference specific sections. Give your honest, unconstrained assessment.
Here is the plan to review:
$(cat '/claude-plan.md')"
**Codex 审查:**
bash
echo "You are a senior software architect reviewing an implementation plan.
The plan is self-contained - it includes all background, context, and requirements.
Identify:
- Potential footguns and edge cases
- Missing considerations
- Security vulnerabilities
- Performance issues
- Architectural problems
- Unclear or ambiguous requirements
- Anything else worth adding to the plan
Be specific and actionable. Reference specific sections. Give your honest, unconstrained assessment.
Here is the plan to review:
$(cat '/claude-plan.md')" | codex exec -m gpt-5.2 --sandbox read-only --skip-git-repo-check --full-auto 2>/dev/null
### 第三步:编写审查文件
创建 `<planni
数据来源:claude-code-templates(MIT),中文翻译由 AI 生成。详见关于我们。