[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7BPCW1NHXKQ10T7JG7J9Z2P":3,"skill-same:01M7BPCW1NHXKQ10T7JG7J9Z2P":52},{"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":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":29,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M7BPCW1NHXKQ10T7JG7J9Z2P","implement",null,"Run the implement loop: dispatch fresh pi subagents to build each ticket as a red-green vertical slice, then run the full suite, review the diff, and commit. Use when the user asks to implement or build a spec or tickets, or when another skill must execute the loop.","willthong\u002Fagent-skills","willthong","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6254816?v=4","01M7BPBGY2T876HM1D1CX2XQR6","Will Thong","01M7BPBGZ19JJ8JEPNKEQ42T7J",0,"MIT","https:\u002F\u002Fgithub.com\u002Fwillthong\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fimplement\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: implement\ndescription: \"Run the implement loop: dispatch fresh pi subagents to build each ticket as a red-green vertical slice, then run the full suite, review the diff, and commit. Use when the user asks to implement or build a spec or tickets, or when another skill must execute the loop.\"\n---\n\n# The implement loop\n\nA fixed state machine. You are the **loop runner**: you never write the code yourself. Each state dispatches one fresh `pi` subagent, checks its reply against the state's completion criterion, then advances. Every state runs once, in order; only a state's own fix branch repeats it.\n\nIf the user passes a ticket reference, fetch it from the issue tracker and state its title before starting. If the reference is ambiguous, ask.\n\nOne dispatch shape, always from the repo root:\n\n```bash\npi --no-session -p \"\u003CPROMPT>\"\n```\n\nSubagent prompts are **context pointers**, never pasted content: point at files with `@path`, name the seam, and let the subagent read the rest. Fill each `\u003C...>` placeholder; nothing else changes between runs.\n\n## 0. Pin the queue\n\nRead the spec and tickets and write the **work order**: an ordered list of **vertical slices**, each with its **seam** — the public interface the slice is tested at. Take the seam from the spec, ticket, or an ADR; ask the user only for a slice that declares none. Record the review base before any dispatch: `git rev-parse HEAD`.\n\n**Done when** every slice has a seam and the base commit is recorded. No dispatch before both hold.\n\n## 1. RED — write the failing test\n\nDispatch pi:\n\n> Load the `tdd` skill. You are building one vertical slice. Spec: `@\u003Cspec-path>`. Ticket: `@\u003Cticket-path>`. Seam: `\u003Cseam>`.\n> Write one failing test for `\u003Cslice>` at that seam, in the project's existing test layout. Run it and confirm it fails for the asserted reason — not a missing import, not a setup error. Write only the test; the implementation is the next step's job.\n\n**Done when** the reply shows the test on disk and a run that failed at the assertion, not the harness.\n\n## 2. GREEN — make it pass\n\nDispatch pi:\n\n> Load the `tdd` skill. Spec: `@\u003Cspec-path>`. Ticket: `@\u003Cticket-path>`. Seam: `\u003Cseam>`. The failing test is `@\u003Ctest-path>`.\n> Make that test pass with the smallest change. Run the project's typecheck and only that test file. Add only what the test forces; touch only what it forces.\n\n**Done when** the single test passes and the typecheck is clean. If either fails, dispatch pi once more — \"Fix the failures in `@\u003Ctest-path>`; run the typecheck and that test file\" — and re-check. After two failed fix attempts, stop and report to the user.\n\n## 3. Advance\n\nMove to the next slice in the work order and return to RED. When the queue is empty, go to FULL.\n\n## 4. FULL — the whole suite\n\nDispatch pi:\n\n> Run the full test suite and the typecheck. Fix anything that broke, re-running the suite until clean. Report what passes and any failure you could not fix.\n\n**Done when** the reply reports the full suite and the typecheck clean.\n\n## 5. REVIEW — two axes\n\nDispatch pi:\n\n> Load the `code-review` skill and run it. Fixed point: `\u003Cbase>`. Spec: `@\u003Cspec-path>`.\n\n**Done when** the two-axis report is back. If it found issues, dispatch pi once — \"Fix these findings in the working tree: \u003Cfindings>; re-run the affected tests and the full suite\" — and re-check. Leave committing to the final step.\n\n## 6. COMMIT\n\nCommit the work to the current branch with a message naming the tickets it closes.\n","# The implement loop\n\nA fixed state machine. You are the **loop runner**: you never write the code yourself. Each state dispatches one fresh `pi` subagent, checks its reply against the state's completion criterion, then advances. Every state runs once, in order; only a state's own fix branch repeats it.\n\nIf the user passes a ticket reference, fetch it from the issue tracker and state its title before starting. If the reference is ambiguous, ask.\n\nOne dispatch shape, always from the repo root:\n\n```bash\npi --no-session -p \"\u003CPROMPT>\"\n```\n\nSubagent prompts are **context pointers**, never pasted content: point at files with `@path`, name the seam, and let the subagent read the rest. Fill each `\u003C...>` placeholder; nothing else changes between runs.\n\n## 0. Pin the queue\n\nRead the spec and tickets and write the **work order**: an ordered list of **vertical slices**, each with its **seam** — the public interface the slice is tested at. Take the seam from the spec, ticket, or an ADR; ask the user only for a slice that declares none. Record the review base before any dispatch: `git rev-parse HEAD`.\n\n**Done when** every slice has a seam and the base commit is recorded. No dispatch before both hold.\n\n## 1. RED — write the failing test\n\nDispatch pi:\n\n> Load the `tdd` skill. You are building one vertical slice. Spec: `@\u003Cspec-path>`. Ticket: `@\u003Cticket-path>`. Seam: `\u003Cseam>`.\n> Write one failing test for `\u003Cslice>` at that seam, in the project's existing test layout. Run it and confirm it fails for the asserted reason — not a missing import, not a setup error. Write only the test; the implementation is the next step's job.\n\n**Done when** the reply shows the test on disk and a run that failed at the assertion, not the harness.\n\n## 2. GREEN — make it pass\n\nDispatch pi:\n\n> Load the `tdd` skill. Spec: `@\u003Cspec-path>`. Ticket: `@\u003Cticket-path>`. Seam: `\u003Cseam>`. The failing test is `@\u003Ctest-path>`.\n> Make that test pass with the smallest change. Run the project's typecheck and only that test file. Add only what the test forces; touch only what it forces.\n\n**Done when** the single test passes and the typecheck is clean. If either fails, dispatch pi once more — \"Fix the failures in `@\u003Ctest-path>`; run the typecheck and that test file\" — and re-check. After two failed fix attempts, stop and report to the user.\n\n## 3. Advance\n\nMove to the next slice in the work order and return to RED. When the queue is empty, go to FULL.\n\n## 4. FULL — the whole suite\n\nDispatch pi:\n\n> Run the full test suite and the typecheck. Fix anything that broke, re-running the suite until clean. Report what passes and any failure you could not fix.\n\n**Done when** the reply reports the full suite and the typecheck clean.\n\n## 5. REVIEW — two axes\n\nDispatch pi:\n\n> Load the `code-review` skill and run it. Fixed point: `\u003Cbase>`. Spec: `@\u003Cspec-path>`.\n\n**Done when** the two-axis report is back. If it found issues, dispatch pi once — \"Fix these findings in the working tree: \u003Cfindings>; re-run the affected tests and the full suite\" — and re-check. Leave committing to the final step.\n\n## 6. COMMIT\n\nCommit the work to the current branch with a message naming the tickets it closes.\n",{"name":5,"description":7},"main","9b08f632938b81dadd8af9e60af6f28f1bade5f1","skills\u002Fimplement","https:\u002F\u002Fgithub.com\u002Fwillthong\u002Fagent-skills","https:\u002F\u002Fgithub.com\u002Fwillthong","willthong.com","Software engineer and former fundraiser. Check out my blog below!","2026-10-12 15:40:58",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add willthong\u002Fagent-skills --skill implement",{"tool":38,"command":39},"bunx","bunx skills add willthong\u002Fagent-skills --skill implement",{"tool":41,"command":42},"pnpm","pnpm dlx skills add willthong\u002Fagent-skills --skill implement","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fwillthong\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fimplement\u002FSKILL.md",true,[46],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"agents\u002Fopenai.yaml","REFERENCE","参考文档",139,"https:\u002F\u002Fgithub.com\u002Fwillthong\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fimplement\u002Fagents\u002Fopenai.yaml",[53,60,67,74,81,88],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M7BPE1Y8TM39MZ659Y3Q9M9G","writing-for-agents","Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.","https:\u002F\u002Fgithub.com\u002Fwillthong\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-for-agents\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M7BPDYATNHNEV7JKWW73PYZK","wizard","Generate an interactive bash wizard that walks a human through steps only they can perform. Use when provisioning infrastructure, setting up credentials or CI secrets, walking an unfamiliar third-party dashboard, or running a one-off migration or cutover. Don't invoke this for steps the agent can perform itself.","https:\u002F\u002Fgithub.com\u002Fwillthong\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwizard\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M7BPDVDMATSKEH43FSVZTPPD","wayfinder","Plan a huge chunk of work (more than one agent session can hold) as a shared map of decision tickets on your issue tracker, and resolve them one at a time until the way to the destination is clear.","https:\u002F\u002Fgithub.com\u002Fwillthong\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwayfinder\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M7BPDRTYE2P7Q9ER3VEJQ9P0","triage","Move issues and external PRs through a state machine of triage roles, categorise, verify, grill if needed, and write agent-ready briefs.","https:\u002F\u002Fgithub.com\u002Fwillthong\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftriage\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M7BPDN6KE4RD7P06V2N42GZ6","to-tickets","Break a plan, spec, or the current conversation into a set of tracer-bullet tickets, each declaring its blocking edges, published to the configured tracker (edges as text in one file per ticket locally, or native blocking links on a real tracker).","https:\u002F\u002Fgithub.com\u002Fwillthong\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fto-tickets\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M7BPDJQMP08F88ERAQ1NJKND","to-spec","Turn the current conversation into a spec and publish it to the project issue tracker: no interview, just synthesis of what you've already discussed.","https:\u002F\u002Fgithub.com\u002Fwillthong\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fto-spec\u002FSKILL.md",[],[]]