spec-strategy
创建或更新 STRATEGY.md,为产品方向提供上游 grounding。
ASCII 链路图
text
Codebase -> Spec -> Plan -> Tasks -> Code -> Review -> Knowledge
|
v
spec-strategy
entry: standalone skill
type: standalone-skill基本信息
| 字段 | 内容 |
|---|---|
| Skill | spec-strategy |
| 类型 | standalone-skill |
| 研发链路位置 | Spec |
| 当前入口 | standalone skill |
| 兼容别名 | 不适用 |
| Source | skills/spec-strategy/SKILL.md |
| Governance | src/cli/contracts/dual-host-governance/skills-governance.json(supported-host skills governance) |
描述
Create or update STRATEGY.md. Use when starting a product, changing direction or roadmap, or when spec-ideate, spec-brainstorm, or spec-plan need upstream product grounding.
Source 契约摘要
该 source skill 未声明标准 Workflow Contract Summary 小节;本页以 frontmatter、supported-host governance 和维护者补充元数据为准。
何时使用
- 启动一个产品或改变方向、路线图。
- spec-ideate、spec-brainstorm 或 spec-plan 需要上游产品 grounding。
工作步骤
- 读取用户意图、代码库背景、已有 requirements、历史学习和外部证据。
- 收敛问题框架、用户流、边界、验收标准或候选方向。
- 区分必须现在解决的问题和可延后到计划或实现阶段的问题。
- 把 WHAT 层证据交给 plan 或 doc-review。
输出
- requirements、ideation artifact、scope boundaries 或 open questions。
- 可供计划阶段追溯的 actors、flows、acceptance examples 和关键决策。
Agent 调度
- 可按需要引入 spec-flow、product、design、security、repo、web 或 issue research agents。
- agent 产出是证据和问题发现,最终需求边界仍由当前 workflow 汇总。
本 skill 当前没有 skill-local references/agents 或 references/personas 文件;默认由 orchestrator 直接完成,或按阶段需要临时调用其他 skill 的专家。
边界
- 聚焦产品战略文档,不做实现规划。
- 战略应基于真实项目与市场判断。
源码校准
- 本页由
website/scripts/generate-skill-detail-pages.js从上游 source skill 生成。 - 当前入口、兼容别名与宿主投递 metadata 来自
src/cli/contracts/dual-host-governance/skills-governance.json。 - 当 source skill 或 governance contract 变化后,应重新运行
npm run reference:pages并执行npm run content:audit。
