[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71Q6KCJ6DS5X8FN43XJGGEB":3,"skill-same:01M71Q6KCJ6DS5X8FN43XJGGEB":56},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":23,"linkOnly":24,"markdownContent":25,"markdownBody":26,"frontMatter":27,"refName":29,"commitSha":30,"skillDirectory":31,"forksCount":32,"repositoryHtmlUrl":33,"repositoryHomepageUrl":34,"ownerHtmlUrl":35,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":36,"install":37,"resources":49},"01M71Q6KCJ6DS5X8FN43XJGGEB","implement-spec",null,"在代码中实现 \u002Fto-spec 和 \u002Fto-tickets 的产出。","vinvcn\u002Fmattpocock-skills-zh-CN","vinvcn","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F120928190?v=4","01M71Q60C4V98DEXHGN2VXFSZB","01M71Q60D6PRAJHKQRY33ZNE59",5797,"MIT","https:\u002F\u002Fgithub.com\u002Fvinvcn\u002Fmattpocock-skills-zh-CN\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Fimplement-spec\u002FSKILL.md",[],[18,19,20,21,22],"spec","implement","implement spec","tickets","true","2026-11-10 13:02:02",false,"---\nname: implement-spec\ndescription: \"在代码中实现 \u002Fto-spec 和 \u002Fto-tickets 的产出。\"\ndisable-model-invocation: true\n---\n\n你已经获得一份 spec。这份 spec 应该有与之关联的 tickets，说明如何实现它。\n\nIssue tracker 应当已经提供给你。如果没有，就告诉用户运行 `\u002Fsetup-matt-pocock-skills`。\n\n目标是在单个 **integration branch** 上实现整个 spec，并按 issue tracker 关闭工作的方式解决每一个 ticket。\n\ntickets 不是步骤清单，而是一个 **task graph**，其中包含 blocking relationships。这意味着始终存在一个由可领取 tickets 组成的 **frontier**。\n\n每个 subagent 都必须使用全新的 context window 启动。\n\n与 subagents 的通信应当简洁。主要通过 **context pointers** 通信：指向 spec、tickets、research notes 和之前的 commits。不要重复 pointers 已经提供的信息。\n\n在可能的情况下，**implementer subagents** 应当在 background 中运行，以获得最大并发度。\n\n## 步骤\n\n1. 阅读 spec 和 tickets，理解 task graph。\n\n2. （可选）使用一个 **exploration subagent** 完成 tickets 所需的探索，即相关的 codebase files 或 external documentation。确保 exploration subagent 能够保存文件：它应当把 Markdown notes 保存到 repo 外、所有后续 subagents 都能访问的目录。这样 **implementer subagents** 就能专注于实现，而不必重复探索。\n\n3. 创建 integration branch。如果 issue tracker 通过 PRs 关闭工作，或用户要求开 PR，就在第 5 步的首次合并之后打开一个 draft PR（不领先于 main 的 branch 无法开 PR），并标记它会关闭 spec 和 tickets。\n\n4. 使用 **implementer subagents** 实现每个 ticket，每个 subagent 都在自己的 worktree 和 branch 上工作。每个 implementer subagent：\n   - 开始前确认其 worktree 基于 integration branch，若不是则 reset 到它上面；\n   - 调用 Skill 工具并指定 `tdd` 来构建 ticket；\n   - 在报告完成前，把 integration branch 的 tip 合并进自己的 branch\n\n5. 每个 **implementer subagent** 完成后，使用一个 **merger subagent** 把它的工作合并到 integration branch。\n\n6. 如果这改变了可用 tickets 的 **frontier**，就启动更多 **implementer subagents** 处理新的 tickets。这样可以获得最大并发度。\n\n7. 所有 tickets 完成后，在 integration branch 上调用 Skill 工具并指定 `code-review`。在单个 **implementer subagent** 中修复 code review 提出的所有问题。\n\n8. 如果存在 draft PR，把它标记为 ready for review。否则，按 issue tracker 关闭工作的方式解决每个 ticket，并报告 integration branch。\n\n9. 清理所有 **implementer subagent** 的 worktrees。\n","你已经获得一份 spec。这份 spec 应该有与之关联的 tickets，说明如何实现它。\n\nIssue tracker 应当已经提供给你。如果没有，就告诉用户运行 `\u002Fsetup-matt-pocock-skills`。\n\n目标是在单个 **integration branch** 上实现整个 spec，并按 issue tracker 关闭工作的方式解决每一个 ticket。\n\ntickets 不是步骤清单，而是一个 **task graph**，其中包含 blocking relationships。这意味着始终存在一个由可领取 tickets 组成的 **frontier**。\n\n每个 subagent 都必须使用全新的 context window 启动。\n\n与 subagents 的通信应当简洁。主要通过 **context pointers** 通信：指向 spec、tickets、research notes 和之前的 commits。不要重复 pointers 已经提供的信息。\n\n在可能的情况下，**implementer subagents** 应当在 background 中运行，以获得最大并发度。\n\n## 步骤\n\n1. 阅读 spec 和 tickets，理解 task graph。\n\n2. （可选）使用一个 **exploration subagent** 完成 tickets 所需的探索，即相关的 codebase files 或 external documentation。确保 exploration subagent 能够保存文件：它应当把 Markdown notes 保存到 repo 外、所有后续 subagents 都能访问的目录。这样 **implementer subagents** 就能专注于实现，而不必重复探索。\n\n3. 创建 integration branch。如果 issue tracker 通过 PRs 关闭工作，或用户要求开 PR，就在第 5 步的首次合并之后打开一个 draft PR（不领先于 main 的 branch 无法开 PR），并标记它会关闭 spec 和 tickets。\n\n4. 使用 **implementer subagents** 实现每个 ticket，每个 subagent 都在自己的 worktree 和 branch 上工作。每个 implementer subagent：\n   - 开始前确认其 worktree 基于 integration branch，若不是则 reset 到它上面；\n   - 调用 Skill 工具并指定 `tdd` 来构建 ticket；\n   - 在报告完成前，把 integration branch 的 tip 合并进自己的 branch\n\n5. 每个 **implementer subagent** 完成后，使用一个 **merger subagent** 把它的工作合并到 integration branch。\n\n6. 如果这改变了可用 tickets 的 **frontier**，就启动更多 **implementer subagents** 处理新的 tickets。这样可以获得最大并发度。\n\n7. 所有 tickets 完成后，在 integration branch 上调用 Skill 工具并指定 `code-review`。在单个 **implementer subagent** 中修复 code review 提出的所有问题。\n\n8. 如果存在 draft PR，把它标记为 ready for review。否则，按 issue tracker 关闭工作的方式解决每个 ticket，并报告 integration branch。\n\n9. 清理所有 **implementer subagent** 的 worktrees。\n",{"name":5,"description":7,"disable-model-invocation":28},true,"main","c5c5e87cc1df26aeb7dba345ad9f846434d2b3d4","skills\u002Fengineering\u002Fimplement-spec",450,"https:\u002F\u002Fgithub.com\u002Fvinvcn\u002Fmattpocock-skills-zh-CN","https:\u002F\u002Fskills.sh\u002Fvinvcn\u002Fmattpocock-skills-zh-CN","https:\u002F\u002Fgithub.com\u002Fvinvcn","2026-11-10 17:40:42",{"source":8,"skillName":5,"commands":38,"prompt":48,"zipAvailable":28},[39,42,45],{"tool":40,"command":41},"npx","npx skills add vinvcn\u002Fmattpocock-skills-zh-CN --skill implement-spec",{"tool":43,"command":44},"bunx","bunx skills add vinvcn\u002Fmattpocock-skills-zh-CN --skill implement-spec",{"tool":46,"command":47},"pnpm","pnpm dlx skills add vinvcn\u002Fmattpocock-skills-zh-CN --skill implement-spec","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fvinvcn\u002Fmattpocock-skills-zh-CN\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Fimplement-spec\u002FSKILL.md",[50],{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"agents\u002Fopenai.yaml","REFERENCE","参考文档",164,"https:\u002F\u002Fgithub.com\u002Fvinvcn\u002Fmattpocock-skills-zh-CN\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Fimplement-spec\u002Fagents\u002Fopenai.yaml",[57,81,90,100,110,119],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":76,"publishedAt":23},"01M71Q8F3M8YFP6WYVYQP61KBT","writing-for-agents","为 agent 编写文档。适用于创建或编辑 skills，或修改 AGENTS.md 或 CLAUDE.md 时。","https:\u002F\u002Fgithub.com\u002Fvinvcn\u002Fmattpocock-skills-zh-CN\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fwriting-for-agents\u002FSKILL.md",[63,68,71],{"categoryNo":64,"categoryName":65,"taxonomyType":66,"taxonomyTypeDesc":67},"01JBSEEDCAT000000000000018","写作与文案","SCENARIO","使用场景",{"categoryNo":69,"categoryName":70,"taxonomyType":66,"taxonomyTypeDesc":67},"01JBSEEDCAT000000000000023","Skill与智能体开发",{"categoryNo":72,"categoryName":73,"taxonomyType":74,"taxonomyTypeDesc":75},"01JBSEEDCAT000000000000036","内容创作者","PROFESSION","适用职业",[77,78,79,80],"for","writing for agents","writing","文档",{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":23},"01M71Q8DHRPYE6R648CQ7NAHYN","wait-what","停一下：刚才那条消息没有说清楚，重新表述一遍。","https:\u002F\u002Fgithub.com\u002Fvinvcn\u002Fmattpocock-skills-zh-CN\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fwait-what\u002FSKILL.md",[],[88,89,22],"wait","wait what",{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":23},"01M71Q8C8CBSRJRP8Y0JRZ7RJ7","to-questionnaire","把你无法完整回答的 decision 转成一份交给他人填写的 questionnaire。","https:\u002F\u002Fgithub.com\u002Fvinvcn\u002Fmattpocock-skills-zh-CN\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fto-questionnaire\u002FSKILL.md",[],[97,98,99,22],"questionnaire","to questionnaire","decision",{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":109,"publishedAt":23},"01M71Q8ASS9A6P84PSC02YFKHB","teach","在这个工作区中教用户一个新技能或概念。","https:\u002F\u002Fgithub.com\u002Fvinvcn\u002Fmattpocock-skills-zh-CN\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fteach\u002FSKILL.md",[106],{"categoryNo":107,"categoryName":108,"taxonomyType":74,"taxonomyTypeDesc":75},"01JBSEEDCAT000000000000039","教师与教育",[102,22],{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":23},"01M71Q89C2C2QRR3J3H64ZKH0P","handoff","把当前对话压缩成交接文档，让另一个代理接手。","https:\u002F\u002Fgithub.com\u002Fvinvcn\u002Fmattpocock-skills-zh-CN\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fhandoff\u002FSKILL.md",[],[112,22,117,118,80],"对话","压缩",{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":23},"01M71Q883CXWF0BGDQC3Y8TJZ2","grilling","围绕计划、decision 或 idea 持续追问用户。适用于用户想对自己的思路做压力测试，或使用任何 “grill” 触发措辞时。","https:\u002F\u002Fgithub.com\u002Fvinvcn\u002Fmattpocock-skills-zh-CN\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fgrilling\u002FSKILL.md",[],[121,126,127,99,128],"idea","grill","testing"]