用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/materialofair/oh-my-codex --skill architect-planner命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | architect-planner |
| description | 架构规划专家 - 使用 Codex 本地上下文、仓库证据和只读 child agent 进行大型系统架构设计与规划。 |
| auto_invoke | true |
| tags | ["architecture","planning","codex-native","system-design"] |
| version | 0.2.0 |
| source | fork |
| checksum | 8d45cc8e68cd1f71940dc4393ebdc3e3a1672cfea5c6fc9de7723d2244532555 |
| updated_at | 2026-06-08T02:50:00.000Z |
| layer | research |
面向复杂系统设计、架构评审和迁移规划。默认使用 Codex 当前会话、仓库检索、项目文档和只读 child agent;不调用外部模型 CLI。
手动触发:
使用 architect-planner 设计:<架构需求>
明确以下信息:
优先读取本地证据:
rg --files
rg -n "architecture|deploy|service|database|queue|auth|cache" README.md docs . 2>/dev/null
如在代码仓内,先用本地 ProjectMind 或直接检索建立事实基础:
PROJECT_PATH="$(pwd)"
PROJECTMIND_HOME="${PROJECTMIND_HOME:-/Users/WangQiao/claude-enhanced-quality}"
PYTHON_BIN="${PYTHON_BIN:-$(command -v python3 || command -v python || true)}"
if [ -z "$PYTHON_BIN" ]; then
echo "ProjectMind error: no python3 or python interpreter found" >&2
exit 1
fi
"$PYTHON_BIN" "$PROJECTMIND_HOME/project_mind.py" "$PROJECT_PATH"
补充读取:
README.mddocs/复杂场景使用 explorer 做只读架构调研:
spawn_agent(agent_type="explorer", message="<architecture exploration prompt>")
wait_agent
close_agent
Prompt 框架:
Your task is architecture exploration. Read-only.
<agent-instructions>
Inputs:
- Goal: <架构目标>
- Constraints: <约束>
- Known files/docs: <本地证据>
Trace the current architecture and produce:
1. Current system map
2. Critical dependencies and coupling points
3. Architecture risks
4. Candidate target architectures
5. Migration constraints and unknowns
Cite concrete files and configuration paths.
</agent-instructions>
至少给出:
高风险架构变更派发 reviewer:
spawn_agent(agent_type="reviewer", message="<review architecture plan for risks>")
要求 reviewer 从正确性、安全、运维、迁移风险和测试缺口角度给 findings。
## Architecture Plan
### Context
[事实、约束、目标]
### Current State
[基于本地证据的现状]
### Recommendation
[推荐方案]
### Alternatives
| Option | Pros | Cons | When to choose |
### Target Architecture
[组件、边界、数据流]
### Migration Plan
1. [step] -> verify: [check]
### Risks
[风险和缓解]
### Validation
[命令、测试、指标]
如果 child agent 不可用,在当前回复中用 [EXPLORER] / [REVIEWER] 块自演分析,但必须引用本地文件和命令结果。