skills/align-backlog/SKILL.md
Align the product or work backlog with the current strategy, goals, and roadmap. Analyze backlog items, identify misaligned or orphan work, and propose concrete changes (adds, cuts, reprioritization) so backlog clearly supports strategic outcomes.
npx skillsauth add nesnilnehc/ai-cortex align-backlogInstall 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.
将产品或工作待办与当前战略、目标和路线图保持一致。根据战略来源分析现有的待办项目,识别错位或孤立的工作,并生成一份积压工作协调报告,其中包含具体的变更建议(添加、削减、合并、重新确定优先级),以便待办明确支持战略成果。
首要目标:生成一份可操作的待办事项调整报告,将待办事项映射到战略/目标/路线图,对调整状态进行分类,并建议具体的待办变更。
成功标准(必须满足所有要求):
**验收测试:产品或交付负责人能否阅读报告并立即了解哪些待办项目支持策略,哪些不支持策略,以及添加、删除或重新订购哪些内容?
本技能负责:
本技能不负责:
define-mission、设计-strategic-goals、define-routetu等)plan-next)转交点:报告生成后,根据需要转交给适当的技能 - 例如用于执行回溯的“align-planning”,或用于应用更改的产品/待办工具。
|场景|推荐用途 |
| ---| ---|
|策略文档已更新 | align-待办 将待办重新映射到新目标/路线图 |
|待办事项让人感觉超载或偏离策略 |首先align-待办;如果还需要执行回溯,那么align-planning
|里程碑或释放门|为相关待办切片运行 align-待办 |
按 specs/artifact-contract.md §8 Runtime Norms Resolution Protocol 的 §8.2 / §8.3 / §8.5 实现:读项目规范若声明了 backlog-alignment artifact_type 的 path_pattern,则使用项目值;否则 fall through 到技能默认(docs/calibration/backlog-alignment.md)。本技能为固定路径治理产出,只用 path_pattern 覆盖机制。
You are responsible for backlog alignment with strategy.
Analyze the product or work backlog against the current strategy, goals, and roadmap.
Map items to strategic anchors, classify alignment, and produce a Backlog Alignment Report
with concrete change proposals (adds, cuts, reprioritization).
docs/ARTIFACT_NORMS.md,或默认:docs/待办/,repo 待办约定)docs/project-overview/、docs/process-management/)设计-策略-目标、定义-路线图等)对于每个项目(或按主题聚合):
包括每个发现的影响范围和根本原因。
每个提案必须引用策略(目标/路线图/里程碑)和项目 ID 或标题。
将报告写至:
docs/calibration/待办-alignment.md报告必须包含用于对齐状态和更改建议的机器可读块(YAML 或 JSON)。
# Backlog Alignment Report
**Date:** YYYY-MM-DD
**Backlog source:**
**Strategy sources:**
**Status:** aligned | partial | misaligned | blocked
**Confidence:** high | medium | low
## Summary
- Total items reviewed:
- Aligned:
- Partial:
- Misaligned:
- Orphan:
## Mapping (sample or full)
| Item | Strategic anchor | Status |
| --- | --- | --- |
| ... | ... | ... |
## Misalignment and Orphans
- Item / theme:
Impact:
Root cause:
Recommendation: cut | merge | reprioritize | add
## Change Proposals
1. [Cut] ...
2. [Reprioritize] ...
3. [Merge] ...
4. [Add] ...
## Recommended Next Actions
1.
2.
## Machine-Readable Block
alignment:
summary: { aligned: N, partial: N, misaligned: N, orphan: N }
items: []
proposals:
cut: []
merge: []
reprioritize: []
add: []
当此技能生成待办事项调整报告时,除了上述格式外,必须确保机器可读块 (Machine-Readable Block) 遵守以下结构:
| 字段 | 类型 | 描述 |
| :--- | :--- | :--- |
| alignment.summary | Object | 包含 aligned, partial, misaligned, orphan 数量的摘要 |
| alignment.items | Array | 评估过的待办事项列表,每项含 ID/名称及对应的调整状态 |
| proposals.cut | Array | 建议移除/存档的项目列表 |
| proposals.merge | Array | 建议合并的项目列表 |
| proposals.reprioritize | Array | 建议重新排序的项目列表 |
| proposals.add | Array | 建议新增的缺口工作列表 |
不要做这些(其他技能可以处理它们):
align-planningalign-architecture定义-使命、设计-战略目标、定义-路线图何时停止并交接:
align-planning产品或交付主管是否可以在没有额外说明的情况下对前 3-5 个变更提案采取行动?
如果否:完善映射和提案理由。
如果是:报告完成;继续转交或待办更新。
背景:更新了战略目标和路线图; 待办有 50 多个项目。
行为:
docs/project-overview/, docs/process-management/ 加载目标和路线图docs/待办/(或项目约定)加载待办docs/calibration/待办-alignment.md背景:项目没有目标或路线图文档。
输出:
设计-策略-目标,定义-路线图),然后重新运行align-待办。上下文:待办事项有 200 项;用户只想对齐“第二季度主题”。
行为:
1.解决待办及策略来源 2. 按Q2主题(标签或路径)过滤待办 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.