spec-compound
在问题解决后沉淀 docs/solutions/,让团队知识复利。
基本信息
| 字段 | 内容 |
|---|---|
| Skill | spec-compound |
| 类型 | workflow command |
| 研发链路位置 | Knowledge |
| 入口 | /spec:compound / $spec-compound |
| Source | skills/spec-compound/SKILL.md |
描述
Document a recently solved problem to compound your team's knowledge
何时使用
- 刚解决一个值得复用的问题。
- 需要记录 root cause、solution、prevention 或 practice。
- 希望下次相似问题能从知识库检索。
工作步骤
- 读取已完成工作、历史会话、Slack、release 记录或 docs/solutions。
- 抽取可复用经验、已验证解法、上下文决策和过期知识。
- 写入或刷新团队知识,并保留证据限制。
- 让下一次 Codebase、Spec、Plan 或 Review 能复用这些知识。
输出
- solution docs、refresh report、session digest、Slack research digest 或 release notes。
- 对重复、过期或冲突知识给出合并、替换、删除或保留判断。
Agent 调度
- 可使用 session historian、Slack researcher、learnings researcher、related docs finder 等研究型能力。
- 知识写入由 orchestrator 负责,研究 agents 返回证据而不是直接写最终文档。
边界
- Full 模式会询问是否搜索 session history。
- 不应为尚未验证的猜测创建 solution doc。
