[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78H7WHTFWNGCM4YKT3311CK":3,"skill-same:01M78H7WHTFWNGCM4YKT3311CK":53},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":46},"01M78H7WHTFWNGCM4YKT3311CK","implement-spec",null,"把 \u002Fto-spec 和 \u002Fto-tickets 的产出实现为代码。","toRolex\u002Frolex-skills","toRolex","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F171526267?v=4","01M78H6W9BVJ5TBK7APN5HFBJF","Rolex","01M78H6WAC60FGNASCYJAJM7VW",1,"MIT","https:\u002F\u002Fgithub.com\u002FtoRolex\u002Frolex-skills\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Fimplement-spec\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: implement-spec\ndescription: \"把 \u002Fto-spec 和 \u002Fto-tickets 的产出实现为代码。\"\ndisable-model-invocation: true\n---\n\n你会拿到一份 spec。这份 spec 应该有与之关联的 tickets，描述如何实现这份 spec。\n\n应该已经向你提供了 issue tracker。如果没有，告诉用户运行 `\u002Fsetup-rolex-skills`。\n\n目标是把整份 spec 实现在一个 **integration branch** 上，并以 issue tracker 关闭工作的方式解决每一条 ticket。\n\nTickets 不是步骤列表。它们是一张带有 blocking edges 的 **task graph**。这意味着始终存在一个由可认领 tickets 组成的 **frontier**。\n\n每个 subagent 都用全新的 context window 启动。\n\n与 subagent 之间的通信应当稀疏。主要通过 **context pointers** 沟通：指向 spec、tickets、research notes 和此前的 commits。不要重复通过 pointer 已经可以获取的信息。\n\n**implementer subagent** 应尽可能在后台运行，以获得最大并发。\n\n## Steps\n\n1. 阅读 spec 和 tickets，理解任务图。\n\n2. （可选）使用一个 **exploration subagent** 完成 tickets 所需的一切探索——相关的代码库文件或外部文档。确保 exploration subagent 可以保存文件——它应把 markdown 笔记保存在仓库之外的一个目录里，供后续所有 subagent 访问。这样 **implementer subagent** 就能专注于实现而不是探索。\n\n3. 创建 integration branch。如果 issue tracker 通过 PR 关闭工作，或用户要求开 PR，在完成步骤 5 的第一次 merge 后开一个 draft PR（领先 main 零 commit 的分支开不了 PR），并标记为关闭该 spec 及其 tickets。\n\n4. 每条 ticket 使用一个新的 **implementer subagent** 实现，各自在自己的 worktree、自己的分支上工作。每个 implementer subagent：\n   - 开始前确认自己的 worktree 基于 integration branch，若不是则 reset 到其上；\n   - 调用 Skill tool 的 `tdd` 来构建该 ticket；\n   - 在报告完成前，把 integration branch 的 tip merge 进自己的分支。\n\n5. 一旦某个 **implementer subagent** 完成，用一个 **merger subagent** 把它的工作 merge 到 integration branch。\n\n6. 如果这改变了可用 tickets 的 **frontier**，再启动更多 **implementer subagent** 去处理新 tickets。以此实现最大并发。\n\n7. 全部 tickets 完成后，在 integration branch 上调用 Skill tool 的 `code-review`。用单个新的 **implementer subagent** 修复 code review 提出的所有问题。\n\n8. 如果存在 draft PR，将其标记为 ready for review。否则，按 issue tracker 关闭工作的方式逐条解决 tickets，并报告 integration branch。\n\n9. 清理所有 **implementer subagent** 的 worktree。\n","你会拿到一份 spec。这份 spec 应该有与之关联的 tickets，描述如何实现这份 spec。\n\n应该已经向你提供了 issue tracker。如果没有，告诉用户运行 `\u002Fsetup-rolex-skills`。\n\n目标是把整份 spec 实现在一个 **integration branch** 上，并以 issue tracker 关闭工作的方式解决每一条 ticket。\n\nTickets 不是步骤列表。它们是一张带有 blocking edges 的 **task graph**。这意味着始终存在一个由可认领 tickets 组成的 **frontier**。\n\n每个 subagent 都用全新的 context window 启动。\n\n与 subagent 之间的通信应当稀疏。主要通过 **context pointers** 沟通：指向 spec、tickets、research notes 和此前的 commits。不要重复通过 pointer 已经可以获取的信息。\n\n**implementer subagent** 应尽可能在后台运行，以获得最大并发。\n\n## Steps\n\n1. 阅读 spec 和 tickets，理解任务图。\n\n2. （可选）使用一个 **exploration subagent** 完成 tickets 所需的一切探索——相关的代码库文件或外部文档。确保 exploration subagent 可以保存文件——它应把 markdown 笔记保存在仓库之外的一个目录里，供后续所有 subagent 访问。这样 **implementer subagent** 就能专注于实现而不是探索。\n\n3. 创建 integration branch。如果 issue tracker 通过 PR 关闭工作，或用户要求开 PR，在完成步骤 5 的第一次 merge 后开一个 draft PR（领先 main 零 commit 的分支开不了 PR），并标记为关闭该 spec 及其 tickets。\n\n4. 每条 ticket 使用一个新的 **implementer subagent** 实现，各自在自己的 worktree、自己的分支上工作。每个 implementer subagent：\n   - 开始前确认自己的 worktree 基于 integration branch，若不是则 reset 到其上；\n   - 调用 Skill tool 的 `tdd` 来构建该 ticket；\n   - 在报告完成前，把 integration branch 的 tip merge 进自己的分支。\n\n5. 一旦某个 **implementer subagent** 完成，用一个 **merger subagent** 把它的工作 merge 到 integration branch。\n\n6. 如果这改变了可用 tickets 的 **frontier**，再启动更多 **implementer subagent** 去处理新 tickets。以此实现最大并发。\n\n7. 全部 tickets 完成后，在 integration branch 上调用 Skill tool 的 `code-review`。用单个新的 **implementer subagent** 修复 code review 提出的所有问题。\n\n8. 如果存在 draft PR，将其标记为 ready for review。否则，按 issue tracker 关闭工作的方式逐条解决 tickets，并报告 integration branch。\n\n9. 清理所有 **implementer subagent** 的 worktree。\n",{"name":5,"description":7,"disable-model-invocation":24},true,"main","5648606410e64c6ebad383fa37b866fcd14718cf","skills\u002Fengineering\u002Fimplement-spec",0,"https:\u002F\u002Fgithub.com\u002FtoRolex\u002Frolex-skills","https:\u002F\u002Fgithub.com\u002FtoRolex","luolie3@mail2.sysu.edu.cn","I'm Luo Lie from SYSU. Mathematics-trained builder for agentic AI systems and real-world products.","2026-11-03 15:28:15",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":24},[36,39,42],{"tool":37,"command":38},"npx","npx skills add toRolex\u002Frolex-skills --skill implement-spec",{"tool":40,"command":41},"bunx","bunx skills add toRolex\u002Frolex-skills --skill implement-spec",{"tool":43,"command":44},"pnpm","pnpm dlx skills add toRolex\u002Frolex-skills --skill implement-spec","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FtoRolex\u002Frolex-skills\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Fimplement-spec\u002FSKILL.md",[47],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"agents\u002Fopenai.yaml","REFERENCE","参考文档",168,"https:\u002F\u002Fgithub.com\u002FtoRolex\u002Frolex-skills\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Fimplement-spec\u002Fagents\u002Fopenai.yaml",[54,61,68,75,82,89],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M78HA978AVPWGFE3PR9RNJ9G","writing-great-skills","Reference for writing and editing skills well — the vocabulary and principles that make a skill predictable.","https:\u002F\u002Fgithub.com\u002FtoRolex\u002Frolex-skills\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fwriting-great-skills\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M78HA7737MNQ4411A7SZWPJQ","writing-for-agents","覆盖创建、修改与审核 agent 指令规则、路由及指针文档（如 skill、AGENTS.md、CLAUDE.md）。","https:\u002F\u002Fgithub.com\u002FtoRolex\u002Frolex-skills\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fwriting-for-agents\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M78HA62NC1NZNAEZ26784495","wait-what","停下。上一条消息没有说清楚：重新讲一遍。","https:\u002F\u002Fgithub.com\u002FtoRolex\u002Frolex-skills\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fwait-what\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M78HA4NX5KBJ7WQ69SR25QHW","to-questionnaire","把一个你无法完全回答的决策，变成一个让其他人填写的问题单。","https:\u002F\u002Fgithub.com\u002FtoRolex\u002Frolex-skills\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fto-questionnaire\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M78HA2RTESFTRTNA7ZZNVVXS","teach-me","在教学工作区内教授用户一项新技能或概念。","https:\u002F\u002Fgithub.com\u002FtoRolex\u002Frolex-skills\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fteach-me\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":19},"01M78HA187DQB10VDJ4G89F540","handoff","将当前对话压缩为 handoff 文档，供另一个 agent 接续。","https:\u002F\u002Fgithub.com\u002FtoRolex\u002Frolex-skills\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fhandoff\u002FSKILL.md",[],[]]