skills/define-roadmap/SKILL.md
Derive a strategic roadmap from goals using milestone checkpoints, strategic bets, success metrics, and promotion criteria. Produces a decision-grade roadmap document.
npx skillsauth add nesnilnehc/ai-cortex define-roadmapInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
从战略目标推导"可驱动决策的路线图",而非任务列表。路线图不是里程碑集合,而是路径表达。
首要目标:生成用户确认的可驱动决策的路线图文档,每个阶段明确包含里程碑、关键举措、成功指标与推进条件。
成功标准(必须满足所有要求):
docs/process-management/roadmap.md 或依规范 milestones.md)。验收测试:读者能否一眼看到演进路径(包含推进条件)?能否通过成功指标验证阶段成果,而非单纯检查任务列表?
交接点:路线图获批并持久化后,交接至待办规划(capture-work-items)或路由诊断(plan-next)。
本技能负责:
本技能不负责:
define-mission、define-vision、define-north-star、design-strategic-goals)。capture-work-items);任务拆分由 AgentFabric 等 runtime 平台承接。capture-work-items)。docs/process-management/roadmap.md 或遵循项目既有规范。自动读取 docs/project-overview/strategic-goals.md 作为输入依据。# 路线图
## 路线概览
Now / Next / Later(含推进条件简述)
## 容量分配(当前 cycle)
| Strategic Goal | 百分比 | 说明 |
| 目标 1(用户价值) | 60% | 核心交付 |
| 目标 2(市场扩张) | 20% | 邻近扩展 |
| 目标 3(工程健康) | 20% | 治理与技术债,不得为 0 |
> 本分配由 `promote-roadmap-items` 技能在容量护栏中消费(ADR 20260417 决策 3.4)。
> 百分比之和必须为 100%;工程健康目标不得为 0%。
> 战略刷新或容量调整需重跑本技能。
---
## Now
### 里程碑
- ...
### 关键举措
- ...
### 成功指标
- ...
---
## Next
### 推进条件
- ...
### 里程碑
- ...
### 关键举措
- ...
---
## Later
仅方向,不写时间
---
## 里程碑详情(附录)
| Milestone | Scope | Metrics | Goals |
输入:
输出:
docs/process-management/roadmap.md 或 milestones.md(依项目规范)。不要做这些(其他技能负责):
design-strategic-goals。capture-work-items;任务拆分由 AgentFabric 等 runtime 承接。capture-work-items。何时停止并交接:
plan-next 或待办规划。读者能否一眼看到演进路径(包含推进条件)?能否通过成功指标验证阶段成果,而非单纯检查任务列表?
背景:已有包含 3 项指标的战略目标,需制定演进路径。 流程:
docs/process-management/roadmap.md。
结果:路线图持久化,清晰驱动下一步的资源分配与决策。背景:用户要求「帮我把这些 Backlog 任务排期做成路线图」。 流程:
背景:用户草拟 roadmap 但跳过容量分配章节,要求直接持久化。 流程:
development
Generate an LLM agent test suite (golden cases, mock-LLM unit tests, evaluator harness) from an agent implementation and its agent-test contract. Use when an agent has no tests, or a contract exists but the test code is missing.
development
After code changes, auto-detect the project's build system and local deployment method for a given directory, then build the project and restart its locally-deployed environment (Docker Compose / systemd / process manager). Never assumes — asks only when detection is ambiguous. Caches detected commands per project in .cortex/redeploy-local.yaml; re-invocations on the same project skip re-scanning until signal files change, the cache expires (30 days), or the skill version bumps.
tools
Publish a NATS message conforming to a cross-team contract, using NATS MCP tools. Authors the contract on first use if missing. Reads project-level cache (.cortex/nats.yaml) to avoid re-prompting basics across sessions.
tools
Drain pending NATS messages from a producer contract via NATS MCP tools (default batch / drain-style). Applies Tolerant Reader semantics and per-message ack/nak/term, returning aggregated stats. Reads project-level cache (.cortex/nats.yaml) to avoid re-prompting.