with one click
cx-summary
Codex 侧 CX 汇总闭环。汇总 feature 结果、更新共享状态,并保持 docs 元信息一致。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Codex 侧 CX 汇总闭环。汇总 feature 结果、更新共享状态,并保持 docs 元信息一致。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
CX 工作流 — 配置管理。查看或修改项目级 `开发文档/CX工作流/配置.json` 中公开的少量字段。仅在用户明确调用 `/cx:cx-config` 时执行。
CX 工作流 — Bug 修复。当用户提到"修 bug"、"fix"、"报错"、"debug"、 "修复"时触发。默认走快速修复路径,复杂问题再升级为更深入的调查。
CX 工作流 — 项目初始化。每个项目都单独确认 developer_id、GitHub 同步策略、 agent teams、code review、worktree isolation、auto memory,并建立项目级 `开发文档/CX工作流 + .cx` 运行时真相目录。仅在用户明确调用 `/cx:cx-init` 时执行。
CX 工作流 — 需求收集与规模评估。当用户提到"新功能"、"需求"、"PRD"、 "我想做一个"、"帮我规划"、"收集需求"、"功能规划"时触发。 多轮对话收集需求,自动评估规模,保存到本地 开发文档/CX工作流/功能/{feature_title}/需求.md,并自动判断是否需要 Design。
CX 工作流 — 项目蓝图探讨。当用户提到"蓝图"、"整体规划"、"项目范围"、 "scope"、"项目探讨"、"功能方案"时触发。多轮对话探讨项目或功能方案, 将结果保存到本地 `开发文档/CX工作流/功能/{功能标题}/范围.md`, 可选同步到 GitHub Issue(基于 config.github_sync 模式)。
Codex 侧 CX 架构决策记录。沉淀设计取舍,不改变 lease 与 worktree 持有关系。
| name | cx-summary |
| description | Codex 侧 CX 汇总闭环。汇总 feature 结果、更新共享状态,并保持 docs 元信息一致。 |
先阅读:
../cx-shared/core/workflow/README.md../cx-shared/core/workflow/protocols/summary.md../cx-shared/references/codex-skill-contract.md../cx-shared/references/templates/summary.md开发文档/CX工作流/功能/<标题>/总结.mdcc,Codex 只能给出建议,不要直接改共享完成态GitHub 仍然只是同步镜像,开发文档/CX工作流 与 .cx/core 才是真相如果当前在 feature worktree 中(非 inline 模式),summary 完成后提供整合选项。
Codex 没有 AskUserQuestion 工具,必须(MUST)用编号文字列表 + 等待用户回复:
所有任务已完成,如何处理这个 feature 分支?
1. Merge 回主分支(合并后清理 worktree)
2. Push + 创建 Pull Request
3. 保留分支(稍后处理)
4. 丢弃(需确认)
请回复编号:
选项 1 — Merge:
git checkout main && git pull && git merge {feature-branch}
# 验证测试通过后
bash ../cx-shared/scripts/cx-worktree.sh cleanup --feature {slug}
git branch -d {feature-branch}
选项 2 — PR:
git push -u origin {feature-branch}
gh pr create --title "{feature-title}" --body "..."
选项 3 — 保留: 不执行任何操作。
选项 4 — 丢弃: 用编号文字列表二次确认后:
bash ../cx-shared/scripts/cx-worktree.sh cleanup --feature {slug} --force
git branch -D {feature-branch}
如果 isolation_mode = "inline",跳过此步。
优先调用:
bash ../cx-shared/scripts/cx-workflow-summary.sh \
--feature <feature-slug> \
--runner codex \
--session-id <session-id>