spec-work
执行计划、task pack 或明确实现任务,直到验证和总结完成。
ASCII 链路图
text
Codebase -> Spec -> Plan -> Tasks -> Code -> Review -> Knowledge
|
v
spec-work
entry: spec-work
type: workflow command基本信息
| 字段 | 内容 |
|---|---|
| Skill | spec-work |
| 类型 | workflow command |
| 研发链路位置 | Code |
| 当前入口 | spec-work |
| 兼容别名 | /spec:work、$spec-work |
| Source | skills/spec-work/SKILL.md |
| Governance | src/cli/contracts/dual-host-governance/skills-governance.json(supported-host skills governance) |
描述
Execute a settled plan, validated task pack, spec path, or concrete implementation request end-to-end. Use spec-debug for open-ended bugs; stop when target repo, scope, source ownership, or required authorization is unresolved.
Source 契约摘要
该 source skill 未声明标准 Workflow Contract Summary 小节;本页以 frontmatter、supported-host governance 和维护者补充元数据为准。
何时使用
- 已有 plan/task pack。
- 任务足够清晰可直接实现。
- 需要修改代码或文档并运行验证。
工作步骤
- 读取 plan、task pack、bug report 或明确实现目标。
- 建立小步任务列表,按现有代码模式做最小必要修改。
- 运行聚焦验证、测试、构建、浏览器或平台检查。
- 把 diff、验证结果和剩余风险交给 review 或 knowledge 阶段。
输出
- 实现 diff、测试结果、构建输出、浏览器截图或运行证据。
- 必要时输出 blocked 原因,而不是扩大 scope。
Agent / Persona 列表
- 小任务通常 inline;大任务可按文件边界使用 serial 或 parallel workers。
- 调试、优化、UI、平台专项可引入对应 specialist agents,但 orchestrator 负责最终集成。
本 skill 在 source 中挂载了 1 个 skill-local 专家资产(agent 1 · persona 0),路径为 skills/spec-work/references/{agents,personas}/。跨 skill 复用时,详情页按文件名去重。
| 名称 | 类型 | 摘要 |
|---|---|---|
spec-figma-design-sync | agent | You are an expert design-to-code synchronization specialist with deep expertise in visual design systems, web development, CSS/Tailwind styling, and automate... |
agent 详情页入口仍在
/reference/agents/*;完整按 skill 归属索引见 Agents 参考。persona 目前以 skill-local prompt 形式挂在所属 skill 下,不单独生成全局详情页。
边界
- 不在 scope 不清时扩大任务。
- 直接在默认分支提交前需要明确确认。
源码校准
- 本页由
website/scripts/generate-skill-detail-pages.js从上游 source skill 生成。 - 当前入口、兼容别名与宿主投递 metadata 来自
src/cli/contracts/dual-host-governance/skills-governance.json。 - 当 source skill 或 governance contract 变化后,应重新运行
npm run reference:pages并执行npm run content:audit。
