Add cc-switch-dev-workflow skill
这个提交包含在:
@@ -0,0 +1,69 @@
|
||||
# Platform Policy: Model Routing
|
||||
|
||||
## Purpose
|
||||
为 `CC Switch` 提供默认模型路由,明确 `GPT-5.4 Pro xhigh`、`Claude Opus 4.6` 与 fallback 模型的职责分工。
|
||||
|
||||
## When to Use
|
||||
- 为新项目配置多 agent 工作模式时
|
||||
- 当前任务需要模型切换时
|
||||
- 遇到模型长文处理、复杂推演或受限场景时
|
||||
|
||||
## Inputs
|
||||
- 当前阶段
|
||||
- 任务类型
|
||||
- 文档长度
|
||||
- 是否需要第二视角复核
|
||||
|
||||
## Outputs
|
||||
- 默认主模型
|
||||
- 默认辅模型
|
||||
- 受控 fallback 路径
|
||||
|
||||
## Primary Agent/Model
|
||||
`GPT-5.4 Pro xhigh`
|
||||
|
||||
## Secondary Agent/Model
|
||||
`Claude Opus 4.6`
|
||||
|
||||
## Required Skills
|
||||
- 无强制 skill;受 `CC Switch` 编排规则约束
|
||||
|
||||
## Steps
|
||||
1. 按任务类型选择主模型。
|
||||
2. 需要长文消化或二次复核时并行交给 `Claude Opus 4.6`。
|
||||
3. 遇到主模型受限或厂商覆盖不足时,仅在合规范围内启用 fallback。
|
||||
4. fallback 输出必须被压缩回标准 handoff,再回主线程继续。
|
||||
|
||||
## Exit Criteria
|
||||
- 当前任务已有清晰主辅模型
|
||||
- fallback 只在受限范围使用,且结果已标准化
|
||||
|
||||
## Failure Recovery
|
||||
- 如果模型切换导致上下文漂移,回到 handoff 模板重新压缩
|
||||
- 如果团队开始按个人偏好随意换模型,回到本页固定路由
|
||||
|
||||
## Related Templates
|
||||
- [`../templates/agent-handoff-template.md`](../templates/agent-handoff-template.md)
|
||||
- [`../templates/analysis-template.md`](../templates/analysis-template.md)
|
||||
|
||||
## Default Routing
|
||||
|
||||
| 任务类型 | 主模型 | 辅模型 |
|
||||
|---|---|---|
|
||||
| 研究规划、任务拆分、复杂推演 | `GPT-5.4 Pro xhigh` | `Claude Opus 4.6` |
|
||||
| 长会议纪要、长参考文档消化 | `Claude Opus 4.6` | `GPT-5.4 Pro xhigh` |
|
||||
| Spec 编写和结构化文档定稿 | `GPT-5.4 Pro xhigh` | `Claude Opus 4.6` |
|
||||
| Spec 审查、第二视角复核 | `Claude Opus 4.6` | `GPT-5.4 Pro xhigh` |
|
||||
| TDD 实施、Gap 收敛、重构执行 | `GPT-5.4 Pro xhigh` | `Claude Opus 4.6` |
|
||||
|
||||
## Fallback Policy
|
||||
- 可用模型:`GLM`、`Minimax`、`Kimi`
|
||||
- 仅限场景:主模型在合规范围内无法继续分析、厂商覆盖不足、特定问题需要补充视角
|
||||
- 不是默认路线:fallback 不能直接成为项目主链路
|
||||
- 输出要求:必须回写为标准 handoff,包含 `Goal / Scope / Source of Truth / Constraints / Deliverable / Validation`
|
||||
|
||||
## Reset Rule
|
||||
- 阶段切换时 reset
|
||||
- 大型研究转规范时 reset
|
||||
- 覆盖长文档后进入实施前 reset
|
||||
- 发生 fallback 后,必须 reset 并只带 handoff 摘要继续
|
||||
在新工单中引用
屏蔽一个用户