with one click
cx-plan
Codex 侧 CX 任务规划。读取 PRD/Design,生成任务清单、任务文档与共享状态。
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 任务规划。读取 PRD/Design,生成任务清单、任务文档与共享状态。
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-plan |
| description | Codex 侧 CX 任务规划。读取 PRD/Design,生成任务清单、任务文档与共享状态。 |
先阅读:
../cx-shared/core/workflow/README.md../cx-shared/core/workflow/protocols/plan.md../cx-shared/references/codex-skill-contract.md../cx-shared/references/templates/task.md执行前检测:
check_output=$(bash ../cx-shared/scripts/cx-worktree.sh check \
--project-root "$(git rev-parse --show-toplevel)" 2>&1) || true
如果返回 on_main=true:
当前在主分支上,无法执行规划阶段。请先创建 feature worktree:
1. 运行 /cx:cx-prd 创建新功能的 worktree
2. 手动进入已有 worktree
请回复编号:
不要继续执行规划阶段。
开发文档/CX工作流/功能/<标题>/任务/任务-*.md/worktrees/<slug>codex/<slug>