skills/design-strategic-goals/SKILL.md
Define 3–5 long-term strategic goals that move the project toward the vision and North Star. Produces a goals document aligned with mission, vision, and NSM; persisted to docs.
npx skillsauth add nesnilnehc/ai-cortex design-strategic-goalsInstall 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.
#技能 (Skill):设计战略目标
定义 3-5 个长期战略目标,推动项目朝着愿景和北极星方向发展。制作一个以结果为中心的目标文档(不是任务列表或路线图)。不定义使命、愿景、北极星或里程碑。
首要目标:生成用户确认的战略目标文档,其中包含 3-5 个与愿景和北极星一致的以结果为中心的目标,并坚持项目商定的路径。
成功标准(必须满足所有要求):
docs/project-overview/strategic-goals.md 或每个项目规范)。验收测试:读者能否看到 3-5 个目标中的每一个如何推进愿景和北极星,而不需要日期或阶段(那些属于里程碑)?长期项目中是否有一个目标为治理 / 工程健康代言?
交接点:当目标被批准并坚持时,交接至“定义里程碑”以将目标分解为阶段检查点,或停止。
本技能负责:
本技能不负责:
docs/project-overview/vision.md、docs/project-overview/north-star.md 和 docs/project-overview/strategic-pillars.md(如存在)或用户提供的摘要。长期项目必含此类目标(具体关键结果按项目调整):
## 目标 N: 工程与治理健康可持续
**描述**:确保项目的代码质量、文档一致性、治理机制持续演进,
支撑其他战略目标的长期可达成。
**关键结果**(示例,按项目调整):
- 核心文档规范(ARTIFACT_NORMS)100% 合规
- ADR 覆盖率 ≥ 90%(所有架构决策有文档)
- 技术债 backlog 项数 ≤ X(按团队规模定)
- 治理健康矩阵通过率 ≥ 95%(plan-next 输出)
- 生产事故 MTTR ≤ Y 小时
此目标支持的是所有其他战略目标的长期可达成性,不是独立产品目标。它的存在保证治理 / 技术债 / 文档等基础工作在价值竞争中有合法战略位置(依据 ADR 1 决策 3.4 和 3.5:容量护栏按 strategic_goal 分配)。
输入:
输出:
docs/project-overview/strategic-goals.md(或每个项目规范)。不要做这些(其他技能可以处理它们):
define-mission。define-north-star。define-里程碑。何时停止并交接:
docs/project-overview/strategic-goals.md 或项目规范)。读者能否在不需要日期或阶段的情况下了解每个目标如何推进愿景和北极星?
如果否:目标可能过于战术性或缺乏一致性。细化结果和状态一致性。 如果是:战略目标已完成。继续转交或停止。
背景:愿景和北极星存在。用户想要 3-5 个战略目标。
流程:阅读愿景和北极星文档。得出结果(例如“80% 的团队在 5 分钟内完成部署”、“标准部署零手动步骤”、“每次部署的完整审核跟踪”)。起草 3-5 个目标;说明每个人如何支持愿景/NSM。用户确认。写入“docs/project-overview/strategic-goals.md”。
结果:目标持续存在; 提供转交“定义里程碑”。
上下文:用户列出了六个候选目标;计划只允许 3-5 个。
流程:聚类或按优先级划分为 3-5 个(例如,合并两个相关目标,或放弃最低优先级)。展示第 3-5 组并附上理由;请用户确认或调整。确保每一项都以结果为中心并与愿景/NSM 保持一致。一旦确认就坚持。
结果:文档恰好包含 3-5 个目标;用户已明确批准该集。
背景:用户草拟了 4 个战略目标,全部是用户 / 市场导向;项目计划期 12 个月(长期项目)。
流程:
结果:文档含 5 个战略目标,其中目标 5 是"工程与治理健康可持续"。容量护栏后续按 strategic_goal_id 分配(见 ADR 1 决策 3.4)时有合法位置。
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.