跳到正文

spec-work ​

执行已定稿的计划、已验证的 task pack、spec 路径或明确的实现请求。

ASCII 链路图 ​

text
Codebase -> Spec -> Plan -> Tasks -> Code -> Review -> Knowledge
  |
  v
  spec-work
  entry: spec-work
  type: workflow command

链路图表示该技能在研发阶段上的位置;阶段之间不是必经顺序,按当前任务直接进入最匹配的入口即可。

基本信息 ​

字段内容
Skillspec-work
类型workflow command
研发链路位置Code
当前入口spec-work
兼容别名/spec:work、$spec-work
宿主投递Claude Code: command · Codex: skill · Cursor: skill · Kiro: skill · Qoder: command · OpenCode: command · ZCode: skill · Pi: skill
Sourceskills/spec-work/SKILL.md

源码描述(原文) ​

Execute a settled plan, validated task pack, spec path, or concrete implementation request. Use for end-to-end work or caller-owned implementation and local verification without the shipping tail. Route failing tests, errors, bug references, and any fix intent (open-ended or with a known root cause) to spec-debug; route implement-and-ship-to-green-PR requests to spec-lfg; use spec-resolve-pr-feedback for existing PR feedback. Stop when target repo, scope, source owner, or required authorization is unresolved.

Source 契约摘要 ​

以下各条摘自上游 SKILL.md 的契约摘要小节(Workflow Contract Summary 或 Contract Summary),过长时截断。

  • 输入 — settled implementation-ready code plan, validated task pack, explicit knowledge-work plan, or concrete bounded implementation prompt.
  • 输出 — scoped source changes, task/unit evidence, required review/residual posture, structured verification closeout, and an authorization-aware handoff. A task pack remains derived; its source plan owns scope/lifecycle.
  • 硬出口 — unresolved target repo/dirty overlap/source owner, requirements-only or invalid unified metadata, task-pack/source-plan drift, scope-changing acceptance/architecture/provider/source-runtime discovery, failed required review/verification, or missing mutation/commit/landing authority for the requested exit.
  • Enforcement provenance — among the hard exits, only failed required verification is script-verified at the schema/shape layer (closeout chain: verification-run-summary + spec-first internal honest-closeout); the required-proof semantic reconciliation above that floor remains an LLM-owned gate (see Required-Proof Reconciliation in references/shipping-workflow.md), and the remaining exits are LLM-owned semantic exits enforced by this contract text, not runtime blocks.
  • Ownership — scripts prepare deterministic facts; LLMs judge semantic fit. Canonical source is modified; generated runtime mirrors are never source fixes. Local mutation, commit, landing, lifecycle, and durable evidence are separate exits.
  • 消费者 — spec-code-review, caller-owned LFG/goal flows, commit/PR/release workflows, spec-compound, and human reviewers.
  • Code closeout boundary — Skipping simplify or independent review does not waive evidence closeout. After local changes and verification, follow references/shipping-workflow.md: record verification-run-summary, run honest-closeout, then let the owning workflow decide whether plan-status complete is eligible. Mechanical or one-line changes do not waive that order. Historical completion closes only the valid successor, never rewrites the historical plan. Read-only review, already-complete no-change checks, and execution: knowledge-work retain their own scope.

何时使用 ​

  • 已有 implementation-ready 的计划或 task pack。
  • 一个明确且有界的工作项需要实现和本地验证。

Agent / Persona 列表 ​

该技能挂载了 1 个 agent,源码位置:skills/spec-work/references/agents/。agent 可以点开查看详情;persona 只在所属技能的流程里使用,不单独成页。

名称类型摘要
spec-figma-design-syncagentCompare the caller's specified design with the corresponding implementation and return grounded differences.

边界 ​

  • 失败测试、报错、bug 请用 spec-debug;要求一路交付到 PR 请用 spec-lfg。
  • 目标仓库、范围或所需授权未明确时停止。

源码校准 ​

本页由脚本从上游 skills/spec-work/SKILL.md 生成;入口、兼容别名与宿主投递以 src/cli/contracts/dual-host-governance/skills-governance.json 为准。