[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M72VCGY404VND62RF65R9ANE":3,"skill-same:01M72VCGY404VND62RF65R9ANE":51},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M72VCGY404VND62RF65R9ANE","plan",null,"Create or revise a CCG implementation plan with Codex as planner and Gemini as a read-only analysis helper. Use when the user invokes \u002Fccg:plan, asks to generate a .codex\u002Fccg\u002Fplans\u002F*.md CCG plan, asks to revise an existing CCG plan, or wants multi-model Codex+Gemini planning without modifying product code.","jed-zed\u002Fccg-codex-workflow","jed-zed","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F257373686?v=4","01M72VA56KE8Z7DDN0CDNSHBH3","杰","01M72VA575G8GA354F04M68ZHF",2,"MIT","https:\u002F\u002Fgithub.com\u002Fjed-zed\u002Fccg-codex-workflow\u002Fblob\u002Fmain\u002Fplugins\u002Fccg\u002Fskills\u002Fccg-plan\u002FSKILL.md",[],[],"2026-11-10 22:39:42",false,"---\nname: plan\ndescription: Create or revise a CCG implementation plan with Codex as planner and Gemini as a read-only analysis helper. Use when the user invokes \u002Fccg:plan, asks to generate a .codex\u002Fccg\u002Fplans\u002F*.md CCG plan, asks to revise an existing CCG plan, or wants multi-model Codex+Gemini planning without modifying product code.\n---\n\n# CCG Plan\n\nCreate decision-complete CCG plans for later `\u002Fccg:execute`. This skill replaces the original Claude-led `\u002Fccg:plan` with a Codex-native planner: Codex gathers context and writes the final plan under `.codex\u002Fccg\u002Fplans\u002F`; Gemini contributes read-only analysis from a disposable snapshot.\n\n## Boundaries\n\n- Write new plans only to `.codex\u002Fccg\u002Fplans\u002F*.md`. Do not create new `.claude\u002Fplan\u002F*.md` files.\n- Legacy `.claude\u002Fplan\u002F*.md` files are read-compatible inputs. Revise a legacy `.claude\u002Fplan\u002F*.md` file only when the user explicitly names that existing legacy file; mention in Chinese that it is a compatibility write.\n- Do not modify product code, tests, migrations, package files, or original Claude CCG plugin files.\n- Do not call `~\u002F.claude\u002Fbin\u002Fcodeagent-wrapper.exe` or any Claude-side execution wrapper.\n- Do not call `\u002Fccg:execute` automatically and do not ask for a Y\u002FN execution handoff.\n- If no user requirement is provided, answer in Chinese with usage examples and do not write files.\n- If the user explicitly asks to revise an existing plan file, update only that plan file. Otherwise create a new plan and never overwrite an existing plan; use `-v2`, `-v3`, and so on.\n\n## Language Contract\n\nAll `\u002Fccg:plan` user-facing output must be Chinese by default. This includes empty-input usage\u002Fhelp, progress summaries, ambiguity questions, Gemini launch or failure reports, saved-plan summaries, and the final `\u002Fccg:execute \u003Cplan-path>` handoff. English is allowed only for literal commands, file paths, code identifiers, generated English slugs, model names, environment variables, and raw Gemini excerpts that are clearly labeled as excerpts.\n\nThe generated plan file itself must also be Chinese by default. Hard requirement:\n\n- Use Chinese section headings, table headers, checklist labels, narrative text, risk descriptions, test strategy, and handoff explanation.\n- Keep English only for literal commands, file paths, code identifiers, model names, environment variables, generated slugs, URLs, and clearly labeled raw Gemini excerpts.\n- Do not write an English plan template and then summarize it in Chinese; the saved `.codex\u002Fccg\u002Fplans\u002F*.md` content is the final CCG planning output and must be Chinese.\n- If Gemini responds in English, synthesize it into Chinese before writing the final plan, while preserving short literal excerpts only when useful.\n\nInternal prompts to tools or Gemini may use English when that improves retrieval or technical precision, but Codex must translate the final planning interaction and the saved plan content back into concise Chinese for the user.\n\n## Gemini gate\n\nFor any real plan creation or plan revision, Gemini participation is mandatory. Before you write or present a final plan, you must have all of the following:\n\n- a successful Gemini helper launch using `gemini-3.1-pro-preview` by default, unless the user explicitly provided another model;\n- `CCG_GEMINI_PREVIEW_URL` and either `CCG_GEMINI_BROWSER_OPENED=1` or a clear note that the user should open the preview URL manually;\n- a real `CCG_GEMINI_RESPONSE_FILE` path printed by the helper;\n- a non-empty response read from that response file;\n- a final synthesis that includes both Codex analysis and Gemini analysis.\n\nIf the Gemini helper cannot start, exits unsuccessfully, does not print `CCG_GEMINI_RESPONSE_FILE`, writes an empty response, or still fails after two retries, stop and report the failure in Chinese. In that case, do not write or present a final plan, do not create or edit `.codex\u002Fccg\u002Fplans\u002F*.md` or legacy `.claude\u002Fplan\u002F*.md`, and do not emit a fake multi-model `\u003Cproposed_plan>`.\n\nThis gate does not apply to empty-input usage\u002Fhelp responses.\n\n## Workflow\n\n1. **Preflight**\n   - Run `git status --short`.\n   - Read relevant project instructions such as `AGENTS.md`, local README files, and existing plan files only when they affect the requested plan.\n   - Resolve the absolute project root from the current workspace; do not infer it from home paths.\n\n2. **Enhance the requirement**\n   - Convert the user request into structured planning input: goal, in-scope behavior, out-of-scope behavior, constraints, acceptance criteria, likely affected areas, and open questions.\n   - Score the enhanced requirement with the original CCG-style `需求完整性评分（0-10）` before writing a plan:\n     - `目标明确性（0-3）`\n     - `预期结果（0-3）`\n     - `边界范围（0-2）`\n     - `约束条件（0-2）`\n     - `总分：X\u002F10`\n     - `判定：>=7 继续；\u003C7 停止并提出补充问题`\n   - If high-impact ambiguity remains, ask the user before writing any plan.\n   - If the requirement score is `\u003C7`, stop and ask concise follow-up questions instead of creating or revising a plan.\n\n3. **Search project context**\n   - Prefer `mcp__ace-tool__search_context` when available.\n   - Fall back to `mcp__fast-context__fast_context_search` if available, then `rg`, PowerShell-native search, `Glob`, `Grep`, and targeted file reads.\n   - If ace-tool, fast-context, or `rg` fail because credentials are missing or access is denied, continue with targeted reads and exact search instead of aborting.\n   - Gather enough evidence to name key files, symbols, existing patterns, and verification commands. Do not invent paths.\n\n4. **Run Gemini read-only analysis**\n   - Use the bundled helper from `..\u002Fccg-executor\u002Fscripts\u002Finvoke_gemini_preview.py`.\n   - Invoke Gemini with `--approval-mode plan --detach --prompt-template plan`, default model `gemini-3.1-pro-preview`, no `--direct-workdir`, and no `--no-browser` unless the user explicitly asks for headless mode.\n   - Confirm the helper prints `CCG_GEMINI_BROWSER_OPENED=1` or report the printed `CCG_GEMINI_PREVIEW_URL` so the user can open it manually.\n   - Record `CCG_GEMINI_PROMPT_TEMPLATE=plan` and `CCG_GEMINI_AUTO_CLOSE_BROWSER_SECONDS`; the preview should close itself after completion unless the user explicitly disables auto-close.\n   - Treat `CCG_GEMINI_SNAPSHOT_EXCLUDES` as a security boundary. If excluded secret\u002Fconfig files are relevant, ask the user for sanitized details instead of weakening the snapshot exclusions.\n   - Include the enhanced requirement, context evidence, and a request for concise analysis: alternative approaches, edge cases, UI\u002FUX concerns when relevant, tests, risks, and recommended plan steps.\n   - Retry failed Gemini calls up to 2 times. If all attempts fail, stop and report the failure; do not generate a fake multi-model plan.\n   - After detach, Poll `CCG_GEMINI_RESPONSE_FILE` every 5 seconds. Stop only when the file exists and has size > 0, then read it before writing the final plan.\n   - If the response file is still missing or empty after 10 minutes, inspect `CCG_GEMINI_LAUNCHER_LOG`; if the launcher log shows a failure, retry the helper call. After two retries or 10 minutes on the final attempt, stop and report failure without writing a plan.\n\n5. **Synthesize the plan**\n   - Codex is authoritative for backend, data, architecture, repository patterns, and final sequencing.\n   - Treat Gemini as a strong reference for frontend, UX, accessibility, integration risks, and missing test cases.\n   - Record disagreements and the final tradeoff instead of hiding them.\n   - Translate or synthesize all Gemini findings into Chinese before saving the final plan.\n\n6. **Write the plan**\n   - Create `.codex\u002Fccg\u002Fplans\u002F` if missing.\n   - Generate an English kebab-case slug from the task name. If it cannot be inferred cleanly, use `ccg-plan`.\n   - For a new plan, choose `.codex\u002Fccg\u002Fplans\u002F\u003Cslug>.md`; if it exists, use `.codex\u002Fccg\u002Fplans\u002F\u003Cslug>-v2.md`, then `-v3`, etc.\n   - For an explicit revision request, write only the specified existing plan file. If that file is under `.claude\u002Fplan\u002F`, treat it as a legacy compatibility write and say so in Chinese.\n   - Ensure the saved plan content follows the Chinese plan template below. Then show the full plan summary in Chinese and stop. Do not continue into implementation.\n\n## Plan Template\n\nUse this Chinese Markdown structure:\n\n```markdown\n# CCG 计划：\u003C任务名称>\n\n**生成者**：Codex CCG Planner\n**任务类型**：后端 \u002F 前端 \u002F 全栈 \u002F 文档 \u002F 重构\n**计划路径**：`.codex\u002Fccg\u002Fplans\u002F\u003Cfile>.md`\n**Gemini 模型**：`gemini-3.1-pro-preview`\n**Gemini 预览**：`\u003CCCG_GEMINI_PREVIEW_URL>`；浏览器已打开：\u003C是\u002F否>\n**Gemini 响应文件**：`\u003CCCG_GEMINI_RESPONSE_FILE>`\n\n## 1. 增强需求\n\n### 目标\n\u003C业务或技术目标>\n\n### 范围内\n- \u003C包含的行为>\n\n### 不在范围内\n- \u003C排除的行为>\n\n### 约束\n- \u003C技术或流程约束>\n\n### 验收标准\n- [ ] \u003C可观察的验收条件>\n\n### 需求完整性评分（0-10）\n- 目标明确性（0-3）：X\u002F3 - \u003C理由>\n- 预期结果（0-3）：X\u002F3 - \u003C理由>\n- 边界范围（0-2）：X\u002F2 - \u003C理由>\n- 约束条件（0-2）：X\u002F2 - \u003C理由>\n- 总分：X\u002F10\n- 判定：>=7 继续；\u003C7 停止并提出补充问题\n\n## 2. 上下文证据\n\n| 区域 | 证据 |\n|------|------|\n| \u003C模块> | `\u003Cfile-or-symbol>` - \u003C关键点> |\n\n## 3. 多模型分析\n\n### Codex 分析\n\u003C架构、后端\u002F数据影响、仓库模式适配>\n\n### Gemini 分析\n\u003C从响应文件综合后的只读助手发现，用中文表述>\n\n### 分歧与最终决策\n| 主题 | 决策 | 原因 |\n|------|------|------|\n\n## 4. WBS 实施步骤\n\n### 模块 A：\u003C名称>（\u003C点数> 任务点）\n\n**文件**：`\u003Cpath>`\n\n- [ ] **任务 A.1**：\u003C任务>（\u003C点数> 点）\n  - **输入**：\u003C依赖>\n  - **输出**：\u003C交付物>\n  - **步骤**：\n    1. \u003C机械步骤>\n    2. \u003C机械步骤>\n\n## 5. 关键文件\n\n| 文件 | 动作 | 说明 |\n|------|------|------|\n| `\u003Cpath>` | 新建 \u002F 修改 \u002F 验证 | \u003C原因> |\n\n## 6. 测试策略\n\n- **单元测试**：\u003C聚焦测试>\n- **集成测试**：\u003CAPI\u002F数据流测试>\n- **E2E\u002F手工验证**：\u003C关键用户流程或手工检查>\n\n## 7. 风险与缓解\n\n| 风险 | 缓解 |\n|------|------|\n\n## 8. Codex 原生交接\n\n审阅后手动运行：\n\n```text\n\u002Fccg:execute .codex\u002Fccg\u002Fplans\u002F\u003Cfile>.md\n```\n\nGemini 模型：`gemini-3.1-pro-preview`\nGemini 预览 URL：`\u003Curl>`\nGemini 浏览器已打开：\u003C是\u002F否>\nGemini 响应文件：`\u003Cpath>`\n```\n\n## 交付消息\n\n保存计划后，用中文回复：\n\n- 说明保存路径。\n- 概括选定的技术方案。\n- 说明 Gemini 是否参与，以及响应文件在哪里。\n- 提供准确的手动执行命令：\n\n```text\n\u002Fccg:execute .codex\u002Fccg\u002Fplans\u002F\u003Cfile>.md\n```\n\n然后停止。不要询问是否要继续执行。\n","# CCG Plan\n\nCreate decision-complete CCG plans for later `\u002Fccg:execute`. This skill replaces the original Claude-led `\u002Fccg:plan` with a Codex-native planner: Codex gathers context and writes the final plan under `.codex\u002Fccg\u002Fplans\u002F`; Gemini contributes read-only analysis from a disposable snapshot.\n\n## Boundaries\n\n- Write new plans only to `.codex\u002Fccg\u002Fplans\u002F*.md`. Do not create new `.claude\u002Fplan\u002F*.md` files.\n- Legacy `.claude\u002Fplan\u002F*.md` files are read-compatible inputs. Revise a legacy `.claude\u002Fplan\u002F*.md` file only when the user explicitly names that existing legacy file; mention in Chinese that it is a compatibility write.\n- Do not modify product code, tests, migrations, package files, or original Claude CCG plugin files.\n- Do not call `~\u002F.claude\u002Fbin\u002Fcodeagent-wrapper.exe` or any Claude-side execution wrapper.\n- Do not call `\u002Fccg:execute` automatically and do not ask for a Y\u002FN execution handoff.\n- If no user requirement is provided, answer in Chinese with usage examples and do not write files.\n- If the user explicitly asks to revise an existing plan file, update only that plan file. Otherwise create a new plan and never overwrite an existing plan; use `-v2`, `-v3`, and so on.\n\n## Language Contract\n\nAll `\u002Fccg:plan` user-facing output must be Chinese by default. This includes empty-input usage\u002Fhelp, progress summaries, ambiguity questions, Gemini launch or failure reports, saved-plan summaries, and the final `\u002Fccg:execute \u003Cplan-path>` handoff. English is allowed only for literal commands, file paths, code identifiers, generated English slugs, model names, environment variables, and raw Gemini excerpts that are clearly labeled as excerpts.\n\nThe generated plan file itself must also be Chinese by default. Hard requirement:\n\n- Use Chinese section headings, table headers, checklist labels, narrative text, risk descriptions, test strategy, and handoff explanation.\n- Keep English only for literal commands, file paths, code identifiers, model names, environment variables, generated slugs, URLs, and clearly labeled raw Gemini excerpts.\n- Do not write an English plan template and then summarize it in Chinese; the saved `.codex\u002Fccg\u002Fplans\u002F*.md` content is the final CCG planning output and must be Chinese.\n- If Gemini responds in English, synthesize it into Chinese before writing the final plan, while preserving short literal excerpts only when useful.\n\nInternal prompts to tools or Gemini may use English when that improves retrieval or technical precision, but Codex must translate the final planning interaction and the saved plan content back into concise Chinese for the user.\n\n## Gemini gate\n\nFor any real plan creation or plan revision, Gemini participation is mandatory. Before you write or present a final plan, you must have all of the following:\n\n- a successful Gemini helper launch using `gemini-3.1-pro-preview` by default, unless the user explicitly provided another model;\n- `CCG_GEMINI_PREVIEW_URL` and either `CCG_GEMINI_BROWSER_OPENED=1` or a clear note that the user should open the preview URL manually;\n- a real `CCG_GEMINI_RESPONSE_FILE` path printed by the helper;\n- a non-empty response read from that response file;\n- a final synthesis that includes both Codex analysis and Gemini analysis.\n\nIf the Gemini helper cannot start, exits unsuccessfully, does not print `CCG_GEMINI_RESPONSE_FILE`, writes an empty response, or still fails after two retries, stop and report the failure in Chinese. In that case, do not write or present a final plan, do not create or edit `.codex\u002Fccg\u002Fplans\u002F*.md` or legacy `.claude\u002Fplan\u002F*.md`, and do not emit a fake multi-model `\u003Cproposed_plan>`.\n\nThis gate does not apply to empty-input usage\u002Fhelp responses.\n\n## Workflow\n\n1. **Preflight**\n   - Run `git status --short`.\n   - Read relevant project instructions such as `AGENTS.md`, local README files, and existing plan files only when they affect the requested plan.\n   - Resolve the absolute project root from the current workspace; do not infer it from home paths.\n\n2. **Enhance the requirement**\n   - Convert the user request into structured planning input: goal, in-scope behavior, out-of-scope behavior, constraints, acceptance criteria, likely affected areas, and open questions.\n   - Score the enhanced requirement with the original CCG-style `需求完整性评分（0-10）` before writing a plan:\n     - `目标明确性（0-3）`\n     - `预期结果（0-3）`\n     - `边界范围（0-2）`\n     - `约束条件（0-2）`\n     - `总分：X\u002F10`\n     - `判定：>=7 继续；\u003C7 停止并提出补充问题`\n   - If high-impact ambiguity remains, ask the user before writing any plan.\n   - If the requirement score is `\u003C7`, stop and ask concise follow-up questions instead of creating or revising a plan.\n\n3. **Search project context**\n   - Prefer `mcp__ace-tool__search_context` when available.\n   - Fall back to `mcp__fast-context__fast_context_search` if available, then `rg`, PowerShell-native search, `Glob`, `Grep`, and targeted file reads.\n   - If ace-tool, fast-context, or `rg` fail because credentials are missing or access is denied, continue with targeted reads and exact search instead of aborting.\n   - Gather enough evidence to name key files, symbols, existing patterns, and verification commands. Do not invent paths.\n\n4. **Run Gemini read-only analysis**\n   - Use the bundled helper from `..\u002Fccg-executor\u002Fscripts\u002Finvoke_gemini_preview.py`.\n   - Invoke Gemini with `--approval-mode plan --detach --prompt-template plan`, default model `gemini-3.1-pro-preview`, no `--direct-workdir`, and no `--no-browser` unless the user explicitly asks for headless mode.\n   - Confirm the helper prints `CCG_GEMINI_BROWSER_OPENED=1` or report the printed `CCG_GEMINI_PREVIEW_URL` so the user can open it manually.\n   - Record `CCG_GEMINI_PROMPT_TEMPLATE=plan` and `CCG_GEMINI_AUTO_CLOSE_BROWSER_SECONDS`; the preview should close itself after completion unless the user explicitly disables auto-close.\n   - Treat `CCG_GEMINI_SNAPSHOT_EXCLUDES` as a security boundary. If excluded secret\u002Fconfig files are relevant, ask the user for sanitized details instead of weakening the snapshot exclusions.\n   - Include the enhanced requirement, context evidence, and a request for concise analysis: alternative approaches, edge cases, UI\u002FUX concerns when relevant, tests, risks, and recommended plan steps.\n   - Retry failed Gemini calls up to 2 times. If all attempts fail, stop and report the failure; do not generate a fake multi-model plan.\n   - After detach, Poll `CCG_GEMINI_RESPONSE_FILE` every 5 seconds. Stop only when the file exists and has size > 0, then read it before writing the final plan.\n   - If the response file is still missing or empty after 10 minutes, inspect `CCG_GEMINI_LAUNCHER_LOG`; if the launcher log shows a failure, retry the helper call. After two retries or 10 minutes on the final attempt, stop and report failure without writing a plan.\n\n5. **Synthesize the plan**\n   - Codex is authoritative for backend, data, architecture, repository patterns, and final sequencing.\n   - Treat Gemini as a strong reference for frontend, UX, accessibility, integration risks, and missing test cases.\n   - Record disagreements and the final tradeoff instead of hiding them.\n   - Translate or synthesize all Gemini findings into Chinese before saving the final plan.\n\n6. **Write the plan**\n   - Create `.codex\u002Fccg\u002Fplans\u002F` if missing.\n   - Generate an English kebab-case slug from the task name. If it cannot be inferred cleanly, use `ccg-plan`.\n   - For a new plan, choose `.codex\u002Fccg\u002Fplans\u002F\u003Cslug>.md`; if it exists, use `.codex\u002Fccg\u002Fplans\u002F\u003Cslug>-v2.md`, then `-v3`, etc.\n   - For an explicit revision request, write only the specified existing plan file. If that file is under `.claude\u002Fplan\u002F`, treat it as a legacy compatibility write and say so in Chinese.\n   - Ensure the saved plan content follows the Chinese plan template below. Then show the full plan summary in Chinese and stop. Do not continue into implementation.\n\n## Plan Template\n\nUse this Chinese Markdown structure:\n\n```markdown\n# CCG 计划：\u003C任务名称>\n\n**生成者**：Codex CCG Planner\n**任务类型**：后端 \u002F 前端 \u002F 全栈 \u002F 文档 \u002F 重构\n**计划路径**：`.codex\u002Fccg\u002Fplans\u002F\u003Cfile>.md`\n**Gemini 模型**：`gemini-3.1-pro-preview`\n**Gemini 预览**：`\u003CCCG_GEMINI_PREVIEW_URL>`；浏览器已打开：\u003C是\u002F否>\n**Gemini 响应文件**：`\u003CCCG_GEMINI_RESPONSE_FILE>`\n\n## 1. 增强需求\n\n### 目标\n\u003C业务或技术目标>\n\n### 范围内\n- \u003C包含的行为>\n\n### 不在范围内\n- \u003C排除的行为>\n\n### 约束\n- \u003C技术或流程约束>\n\n### 验收标准\n- [ ] \u003C可观察的验收条件>\n\n### 需求完整性评分（0-10）\n- 目标明确性（0-3）：X\u002F3 - \u003C理由>\n- 预期结果（0-3）：X\u002F3 - \u003C理由>\n- 边界范围（0-2）：X\u002F2 - \u003C理由>\n- 约束条件（0-2）：X\u002F2 - \u003C理由>\n- 总分：X\u002F10\n- 判定：>=7 继续；\u003C7 停止并提出补充问题\n\n## 2. 上下文证据\n\n| 区域 | 证据 |\n|------|------|\n| \u003C模块> | `\u003Cfile-or-symbol>` - \u003C关键点> |\n\n## 3. 多模型分析\n\n### Codex 分析\n\u003C架构、后端\u002F数据影响、仓库模式适配>\n\n### Gemini 分析\n\u003C从响应文件综合后的只读助手发现，用中文表述>\n\n### 分歧与最终决策\n| 主题 | 决策 | 原因 |\n|------|------|------|\n\n## 4. WBS 实施步骤\n\n### 模块 A：\u003C名称>（\u003C点数> 任务点）\n\n**文件**：`\u003Cpath>`\n\n- [ ] **任务 A.1**：\u003C任务>（\u003C点数> 点）\n  - **输入**：\u003C依赖>\n  - **输出**：\u003C交付物>\n  - **步骤**：\n    1. \u003C机械步骤>\n    2. \u003C机械步骤>\n\n## 5. 关键文件\n\n| 文件 | 动作 | 说明 |\n|------|------|------|\n| `\u003Cpath>` | 新建 \u002F 修改 \u002F 验证 | \u003C原因> |\n\n## 6. 测试策略\n\n- **单元测试**：\u003C聚焦测试>\n- **集成测试**：\u003CAPI\u002F数据流测试>\n- **E2E\u002F手工验证**：\u003C关键用户流程或手工检查>\n\n## 7. 风险与缓解\n\n| 风险 | 缓解 |\n|------|------|\n\n## 8. Codex 原生交接\n\n审阅后手动运行：\n\n```text\n\u002Fccg:execute .codex\u002Fccg\u002Fplans\u002F\u003Cfile>.md\n```\n\nGemini 模型：`gemini-3.1-pro-preview`\nGemini 预览 URL：`\u003Curl>`\nGemini 浏览器已打开：\u003C是\u002F否>\nGemini 响应文件：`\u003Cpath>`\n```\n\n## 交付消息\n\n保存计划后，用中文回复：\n\n- 说明保存路径。\n- 概括选定的技术方案。\n- 说明 Gemini 是否参与，以及响应文件在哪里。\n- 提供准确的手动执行命令：\n\n```text\n\u002Fccg:execute .codex\u002Fccg\u002Fplans\u002F\u003Cfile>.md\n```\n\n然后停止。不要询问是否要继续执行。\n",{"name":5,"description":7},"main","a0ee7047bce07424a4833911da7ea35cd4e266ad","plugins\u002Fccg\u002Fskills\u002Fccg-plan",0,"https:\u002F\u002Fgithub.com\u002Fjed-zed\u002Fccg-codex-workflow","https:\u002F\u002Fgithub.com\u002Fjed-zed","2026-10-01 01:36:47",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add jed-zed\u002Fccg-codex-workflow --skill plan",{"tool":37,"command":38},"bunx","bunx skills add jed-zed\u002Fccg-codex-workflow --skill plan",{"tool":40,"command":41},"pnpm","pnpm dlx skills add jed-zed\u002Fccg-codex-workflow --skill plan","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjed-zed\u002Fccg-codex-workflow\u002Fblob\u002Fmain\u002Fplugins\u002Fccg\u002Fskills\u002Fccg-plan\u002FSKILL.md",true,[45],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"agents\u002Fopenai.yaml","REFERENCE","参考文档",177,"https:\u002F\u002Fgithub.com\u002Fjed-zed\u002Fccg-codex-workflow\u002Fblob\u002Fmain\u002Fplugins\u002Fccg\u002Fskills\u002Fccg-plan\u002Fagents\u002Fopenai.yaml",[52,59,66,73,80,87],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M72VGT0KFPVG6WEXENYBNZTQ","verify-security","安全校验关卡。自动扫描代码安全漏洞，检测危险模式，确保安全决策有文档记录。当用户提到安全扫描、漏洞检测、安全审计、代码安全、OWASP、注入检测、敏感信息泄露时使用。在新建模块、安全相关变更、攻防任务、重构完成时自动触发。","https:\u002F\u002Fgithub.com\u002Fjed-zed\u002Fccg-codex-workflow\u002Fblob\u002Fmain\u002Fplugins\u002Fccg\u002Fskills\u002Fverify-security\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M72VGQ5YYAY0XJ8JVY1S069M","verify-quality","代码质量校验关卡。检测复杂度、重复代码、命名规范、函数长度等质量指标。当用户提到代码质量、复杂度检查、代码异味、重构建议、lint检查、代码规范时使用。在复杂模块、重构完成时自动触发。","https:\u002F\u002Fgithub.com\u002Fjed-zed\u002Fccg-codex-workflow\u002Fblob\u002Fmain\u002Fplugins\u002Fccg\u002Fskills\u002Fverify-quality\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M72VGMR88JFCNZKSZN7BERAN","verify-module","模块完整性校验关卡。扫描目录结构、检测缺失文档、验证代码与文档同步。当用户提到模块校验、文档检查、结构完整性、README检查、DESIGN检查时使用。在新建模块完成时自动触发。","https:\u002F\u002Fgithub.com\u002Fjed-zed\u002Fccg-codex-workflow\u002Fblob\u002Fmain\u002Fplugins\u002Fccg\u002Fskills\u002Fverify-module\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M72VFVPPTZ38XMSMQMEJNA34","verify-change","变更校验关卡。分析代码变更，检测文档同步状态，评估变更影响范围。当用户提到变更检查、文档同步、代码审查、提交前检查、diff分析时使用。在设计级变更、重构完成时自动触发。","https:\u002F\u002Fgithub.com\u002Fjed-zed\u002Fccg-codex-workflow\u002Fblob\u002Fmain\u002Fplugins\u002Fccg\u002Fskills\u002Fverify-change\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M72VFSBVH48R3PFM3FMAER18","gen-docs","文档生成器。自动分析模块结构，生成 README.md 和 DESIGN.md 骨架。当用户提到生成文档、创建README、创建DESIGN、文档骨架、文档模板时使用。在新建模块开始时自动触发。","https:\u002F\u002Fgithub.com\u002Fjed-zed\u002Fccg-codex-workflow\u002Fblob\u002Fmain\u002Fplugins\u002Fccg\u002Fskills\u002Fgen-docs\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M72VEJ3FPYC58AYYGHPG9FTC","ccg","CCG command index for Codex. Use when the user invokes \u002Fccg, asks what CCG commands are available, or gives a CCG plan\u002Ftask without choosing a subcommand.","https:\u002F\u002Fgithub.com\u002Fjed-zed\u002Fccg-codex-workflow\u002Fblob\u002Fmain\u002Fplugins\u002Fccg\u002Fskills\u002Fccg\u002FSKILL.md",[],[]]