diff --git a/docs/en/guide/getting-started.md b/docs/en/guide/getting-started.md index dec6116..6e3fa41 100644 --- a/docs/en/guide/getting-started.md +++ b/docs/en/guide/getting-started.md @@ -2,22 +2,27 @@ ## What is CCG -In short: **Claude Code directs Codex and Gemini to write code for you.** +In short: **Codex and Gemini analyze. Claude writes the code. Fully transparent.** ``` -Claude Code (Director) - │ - ┌───┴───┐ - ↓ ↓ -Codex Gemini -(Backend) (Frontend) - │ │ - └───┬───┘ - ↓ - Unified Patch → Claude reviews → Written to files +Your request + │ + ↓ +Claude Code (orchestration + code writing) + │ + ├── Backend related → sent to Codex for analysis + ├── Frontend related → sent to Gemini for analysis + │ + ↓ +Codex/Gemini return analysis (patches / proposals) + │ + ↓ +Claude synthesizes and writes the code ← you see every change ``` -You describe what you want. CCG figures out who should handle it. The result goes through Claude's review before touching any file. Codex and Gemini never write directly to your codebase. +**The key point**: by default, Claude is the one writing code — not a black box. You see the full process in Claude Code. Codex and Gemini are "advisors" that never directly touch your files. + +There's also **codex-exec mode**: Codex writes the code instead, then Claude + Gemini do multi-model cross-review. Good for well-defined tasks with lower token cost. See [Workflow Guide](/en/guide/workflows). ## What you need diff --git a/docs/en/index.md b/docs/en/index.md index 30b38fc..4cf0f52 100644 --- a/docs/en/index.md +++ b/docs/en/index.md @@ -3,8 +3,8 @@ layout: home hero: name: CCG - text: Three AIs, one codebase - tagline: Claude orchestrates. Codex writes backend. Gemini writes frontend. You just describe what you want. + text: Three AIs, fully transparent + tagline: Codex analyzes backend. Gemini analyzes frontend. Claude writes the code. You see every line. image: src: /logo.svg alt: CCG @@ -22,10 +22,10 @@ hero: features: - icon: 🔀 title: Automatic task routing - details: Say "fix the login page" and it goes to Gemini. Say "add an API endpoint" and it goes to Codex. You don't decide who does what. + details: Say "fix the login page" — Gemini analyzes. Say "add an API endpoint" — Codex analyzes. Claude takes their analysis and writes the code. You see every change. - icon: 🔒 - title: Claude reviews everything - details: Codex and Gemini can only return patches. Claude reviews before anything touches your files. Your codebase stays under control. + title: Transparent, no black box + details: By default, Claude writes the code and you see the full process. Or use codex-exec to let Codex write code, with Claude + Gemini multi-model review. Either way, nothing is hidden. - icon: 📐 title: No AI improvisation details: OPSX integration turns requirements into constraints. The AI works within boundaries, not freestyle. diff --git a/docs/guide/getting-started.md b/docs/guide/getting-started.md index ae21cd5..86b53f9 100644 --- a/docs/guide/getting-started.md +++ b/docs/guide/getting-started.md @@ -2,22 +2,27 @@ ## CCG 是什么 -一句话:**Claude Code 指挥 Codex 和 Gemini 帮你写代码。** +一句话:**Codex 和 Gemini 负责分析,Claude 负责写代码。全程透明。** ``` -Claude Code (指挥) - │ - ┌───┴───┐ - ↓ ↓ -Codex Gemini -(后端) (前端) - │ │ - └───┬───┘ - ↓ - 统一 Patch → Claude 审核 → 写入文件 +你的需求 + │ + ↓ +Claude Code (编排 + 写代码) + │ + ├── 后端相关 → 发给 Codex 分析 + ├── 前端相关 → 发给 Gemini 分析 + │ + ↓ +Codex/Gemini 返回分析结果(Patch / 方案) + │ + ↓ +Claude 综合分析结果,写入代码 ← 你能看到每一行改动 ``` -你发一条需求,CCG 判断该给谁干,干完了 Claude 审核,没问题才写入代码。Codex 和 Gemini 全程碰不到你的文件。 +**关键点**:默认模式下最终写代码的是 Claude,不是黑盒——你在 Claude Code 里能看到完整的改动过程。Codex 和 Gemini 是"参谋",不直接碰你的文件。 + +还有一种 **codex-exec 模式**:让 Codex 来写代码,写完后 Claude + Gemini 多模型交叉审查。适合目标明确的任务,token 消耗更低。详见[工作流指南](/guide/workflows)。 ## 需要什么 diff --git a/docs/index.md b/docs/index.md index 18bc257..d9bbd04 100644 --- a/docs/index.md +++ b/docs/index.md @@ -3,8 +3,8 @@ layout: home hero: name: CCG - text: 让三个 AI 帮你写代码 - tagline: Claude 当指挥,Codex 写后端,Gemini 写前端。你只管提需求。 + text: 三个 AI 协作,代码你看得见 + tagline: Codex 分析后端,Gemini 分析前端,Claude 写代码。全程透明,没有黑盒。 image: src: /logo.svg alt: CCG @@ -22,10 +22,10 @@ hero: features: - icon: 🔀 title: 前端后端自动分流 - details: 你说"改登录页",任务自动给 Gemini;你说"加个接口",任务自动给 Codex。不用操心谁干什么。 + details: 你说"改登录页",Gemini 分析方案;你说"加个接口",Codex 分析方案。Claude 拿到分析结果后写代码——你能看到每一行改动。 - icon: 🔒 - title: Claude 全程把关 - details: Codex 和 Gemini 只能返回 Patch,最终由 Claude 审核才能写入文件。你的代码库永远在控制之中。 + title: 代码透明,没有黑盒 + details: 默认模式下 Claude 写代码,你看得见过程。也可以用 codex-exec 让 Codex 写代码,最后 Claude + Gemini 多模型审查。怎么选都不是黑盒。 - icon: 📐 title: 不让 AI 自由发挥 details: 集成 OPSX 规范驱动,需求先变成约束条件,AI 只能在框框里干活。