跳到正文

spec-write-skill ​

创建、修订或迁移项目拥有的 Agent Skill,或对现有包做只读的 readiness 校验。

ASCII 链路图 ​

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

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

基本信息 ​

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

源码描述(原文) ​

Create, revise, or migrate a project-owned Agent Skill, including fixes for accepted audit findings. Use for explicitly requested read-only readiness checks of existing or external packages. Not for one-off answers, translation, general code review, third-party installation or import, cross-repository edits, or generated runtime patches.

Source 契约摘要 ​

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

  • 输入与输出 — User goal, a target repo/Skill root, existing package, project rules, adjacent Skill, accepted findings, and necessary read-only references, generates a near-neighbor route, validate-only report, previewed single-repo source patch or source-resolution blocker; each result includes a validation status and residual risks. base_operation=create|revise distinguishes between creating a new package and handling an existing package…

何时使用 ​

  • 要新增、改写或迁移一个项目 Skill 包。
  • 需要修复已被接受的审查发现。
  • 明确要求只读校验现有或外部 Skill 包。

边界 ​

  • 不用于一次性问答、翻译、通用代码审查、第三方安装或跨仓库修改。
  • 只修改 canonical Skill source,不直接修补 generated runtime。

源码校准 ​

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