spec-update
检查 spec-first 版本、runtime assets 和 managed blocks 是否 stale 或 drifted。
基本信息
| 字段 | 内容 |
|---|---|
| Skill | spec-update |
| 类型 | workflow command |
| 研发链路位置 | Codebase |
| 入口 | /spec:update / $spec-update |
| Source | skills/spec-update/SKILL.md |
描述
|
何时使用
- 用户要求 update spec-first。
- runtime command 或 generated assets 疑似过期。
- 需要修复 stale
/spec:*或$spec-*入口。
工作步骤
- 读取 host、项目说明、运行时配置和本地工具状态。
- 判断当前事实是否足够支撑下游 workflow。
- 写出 setup、standards、runtime 或版本状态等可检查证据。
- 把 ready、blocked 或 degraded 结论交给 Graph、Spec、Plan 或 Code 阶段。
输出
- 项目 readiness、runtime 或 standards 事实。
- 可复用的下一步入口建议。
- 当环境不可用时,输出明确的 blocked / degraded 修复项。
Agent 调度
- 默认优先使用确定性脚本、本地文件和 provider 状态。
- 只有在需要解释代码库惯例、历史背景或规范漂移时,才引入研究或审查类 agents。
边界
- 只处理 spec-first runtime/update 问题。
- 不自动串联其他 workflow,除非用户继续。
