[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M752TQB00WQJ9475GF0JVEGY":3,"skill-same:01M752TQB00WQJ9475GF0JVEGY":144},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":29,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M752TQB00WQJ9475GF0JVEGY","tdd-expert",null,"Use when the user has a test-case-tree output and wants runnable Go tests plus stub implementation following Test-Driven Development.","xhd2015\u002Fagent-pro","xhd2015","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F14964938?v=4","01M752R5K679TBRT2X43X9RYCR","01M752R5MBCWS6252YZW22Y49W",1,"MIT","https:\u002F\u002Fgithub.com\u002Fxhd2015\u002Fagent-pro\u002Fblob\u002Fmaster\u002Fagents\u002Ftdd-expert\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: tdd-expert\ndescription: >-\n  Use when the user has a test-case-tree output and wants runnable Go tests\n  plus stub implementation following Test-Driven Development.\n---\n\nConvert a test case tree into runnable Go tests following TDD (RED phase only).\n\n**Input**: A path to a test case tree directory (output of\n`test-case-tree-design-expert`) containing README.md, SETUP.md (with\ninheritance), and ASSERT.md per leaf.\n\nFollow these steps:\n\n1. **Parse the Test Case Tree** — Read README.md for the overview and index,\n   then walk the tree to collect every runnable leaf (directories containing\n   ASSERT.md). Collect each leaf's SETUP.md and ASSERT.md plus all ancestor\n   SETUP.md files.\n\n2. **Design the Go API** — Derive package name from the feature slug. Design\n   exported functions, types, and constants the tests will call.\n\n3. **Generate Stub Implementation (RED)** — Create a Go source file where every\n   exported function returns `\"not implemented: \u003CFuncName>\"` error. The stub\n   must compile, contain no real business logic, and return zero values for\n   non-error returns.\n\n4. **Generate Test File** — Create a Go test file. Translate SETUP.md into test\n   setup code and ASSERT.md into Go assertions using standard `testing`\n   patterns. Map Exit Code expectations to `exec.ExitError` checks.\n\n5. **Initialize Module and Run** — `go mod init`, `go mod tidy`, then\n   `go test .\u002F... -v`. Verify all tests are in RED state (all fail).\n\n6. **Report** — Report how many tests were generated, compilation status, and\n   confirm RED state. If any test passes unexpectedly, adjust the stub.\n\n**Rules**: Never write real implementation. Every stub returns an error. The\ngenerated code must compile. All files go into a single Go module directory.\n","Convert a test case tree into runnable Go tests following TDD (RED phase only).\n\n**Input**: A path to a test case tree directory (output of\n`test-case-tree-design-expert`) containing README.md, SETUP.md (with\ninheritance), and ASSERT.md per leaf.\n\nFollow these steps:\n\n1. **Parse the Test Case Tree** — Read README.md for the overview and index,\n   then walk the tree to collect every runnable leaf (directories containing\n   ASSERT.md). Collect each leaf's SETUP.md and ASSERT.md plus all ancestor\n   SETUP.md files.\n\n2. **Design the Go API** — Derive package name from the feature slug. Design\n   exported functions, types, and constants the tests will call.\n\n3. **Generate Stub Implementation (RED)** — Create a Go source file where every\n   exported function returns `\"not implemented: \u003CFuncName>\"` error. The stub\n   must compile, contain no real business logic, and return zero values for\n   non-error returns.\n\n4. **Generate Test File** — Create a Go test file. Translate SETUP.md into test\n   setup code and ASSERT.md into Go assertions using standard `testing`\n   patterns. Map Exit Code expectations to `exec.ExitError` checks.\n\n5. **Initialize Module and Run** — `go mod init`, `go mod tidy`, then\n   `go test .\u002F... -v`. Verify all tests are in RED state (all fail).\n\n6. **Report** — Report how many tests were generated, compilation status, and\n   confirm RED state. If any test passes unexpectedly, adjust the stub.\n\n**Rules**: Never write real implementation. Every stub returns an error. The\ngenerated code must compile. All files go into a single Go module directory.\n",{"name":5,"description":7},"master","d5d5361083d4adf0dd8a15272123af778b38117a","agents\u002Ftdd-expert",0,"https:\u002F\u002Fgithub.com\u002Fxhd2015\u002Fagent-pro","https:\u002F\u002Fgithub.com\u002Fxhd2015","https:\u002F\u002Fblog.xhd2015.xyz","@Harbin Institute of Technology","2026-11-12 07:05:51",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add xhd2015\u002Fagent-pro --skill tdd-expert",{"tool":38,"command":39},"bunx","bunx skills add xhd2015\u002Fagent-pro --skill tdd-expert",{"tool":41,"command":42},"pnpm","pnpm dlx skills add xhd2015\u002Fagent-pro --skill tdd-expert","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fxhd2015\u002Fagent-pro\u002Fblob\u002Fmaster\u002Fagents\u002Ftdd-expert\u002FSKILL.md",true,[46,52,56,62,68,72,76,80,84,88,92,96,100,104,108,112,116,120,124,128,132,136,140],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"main_test.go","SCRIPT","脚本",5984,"https:\u002F\u002Fgithub.com\u002Fxhd2015\u002Fagent-pro\u002Fblob\u002Fmaster\u002Fagents\u002Ftdd-expert\u002Fmain_test.go",{"path":53,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":54,"sourceHtmlUrl":55},"main.go",1655,"https:\u002F\u002Fgithub.com\u002Fxhd2015\u002Fagent-pro\u002Fblob\u002Fmaster\u002Fagents\u002Ftdd-expert\u002Fmain.go",{"path":57,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":60,"sourceHtmlUrl":61},"PROMPT.md","REFERENCE","参考文档",6668,"https:\u002F\u002Fgithub.com\u002Fxhd2015\u002Fagent-pro\u002Fblob\u002Fmaster\u002Fagents\u002Ftdd-expert\u002FPROMPT.md",{"path":63,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":66,"sourceHtmlUrl":67},"test\u002Fintegrations\u002F.gitignore","OTHER","其他",59,"https:\u002F\u002Fgithub.com\u002Fxhd2015\u002Fagent-pro\u002Fblob\u002Fmaster\u002Fagents\u002Ftdd-expert\u002Ftest\u002Fintegrations\u002F.gitignore",{"path":69,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":70,"sourceHtmlUrl":71},"test\u002Fintegrations\u002Fmain.go",1723,"https:\u002F\u002Fgithub.com\u002Fxhd2015\u002Fagent-pro\u002Fblob\u002Fmaster\u002Fagents\u002Ftdd-expert\u002Ftest\u002Fintegrations\u002Fmain.go",{"path":73,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":74,"sourceHtmlUrl":75},"test\u002Fintegrations\u002Frunner.go",767,"https:\u002F\u002Fgithub.com\u002Fxhd2015\u002Fagent-pro\u002Fblob\u002Fmaster\u002Fagents\u002Ftdd-expert\u002Ftest\u002Fintegrations\u002Frunner.go",{"path":77,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":78,"sourceHtmlUrl":79},"test\u002Fintegrations\u002Ftests.go",6764,"https:\u002F\u002Fgithub.com\u002Fxhd2015\u002Fagent-pro\u002Fblob\u002Fmaster\u002Fagents\u002Ftdd-expert\u002Ftest\u002Fintegrations\u002Ftests.go",{"path":81,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":82,"sourceHtmlUrl":83},"test\u002Fintegrations\u002Fwrite-a-cli\u002Fwrite-cli-test-cases\u002Fbasic-write\u002FASSERT.md",131,"https:\u002F\u002Fgithub.com\u002Fxhd2015\u002Fagent-pro\u002Fblob\u002Fmaster\u002Fagents\u002Ftdd-expert\u002Ftest\u002Fintegrations\u002Fwrite-a-cli\u002Fwrite-cli-test-cases\u002Fbasic-write\u002FASSERT.md",{"path":85,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":86,"sourceHtmlUrl":87},"test\u002Fintegrations\u002Fwrite-a-cli\u002Fwrite-cli-test-cases\u002Fbasic-write\u002FSETUP.md",115,"https:\u002F\u002Fgithub.com\u002Fxhd2015\u002Fagent-pro\u002Fblob\u002Fmaster\u002Fagents\u002Ftdd-expert\u002Ftest\u002Fintegrations\u002Fwrite-a-cli\u002Fwrite-cli-test-cases\u002Fbasic-write\u002FSETUP.md",{"path":89,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":90,"sourceHtmlUrl":91},"test\u002Fintegrations\u002Fwrite-a-cli\u002Fwrite-cli-test-cases\u002Fno-args\u002FASSERT.md",174,"https:\u002F\u002Fgithub.com\u002Fxhd2015\u002Fagent-pro\u002Fblob\u002Fmaster\u002Fagents\u002Ftdd-expert\u002Ftest\u002Fintegrations\u002Fwrite-a-cli\u002Fwrite-cli-test-cases\u002Fno-args\u002FASSERT.md",{"path":93,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":94,"sourceHtmlUrl":95},"test\u002Fintegrations\u002Fwrite-a-cli\u002Fwrite-cli-test-cases\u002Fno-args\u002FSETUP.md",66,"https:\u002F\u002Fgithub.com\u002Fxhd2015\u002Fagent-pro\u002Fblob\u002Fmaster\u002Fagents\u002Ftdd-expert\u002Ftest\u002Fintegrations\u002Fwrite-a-cli\u002Fwrite-cli-test-cases\u002Fno-args\u002FSETUP.md",{"path":97,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":98,"sourceHtmlUrl":99},"test\u002Fintegrations\u002Fwrite-a-cli\u002Fwrite-cli-test-cases\u002FREADME.md",763,"https:\u002F\u002Fgithub.com\u002Fxhd2015\u002Fagent-pro\u002Fblob\u002Fmaster\u002Fagents\u002Ftdd-expert\u002Ftest\u002Fintegrations\u002Fwrite-a-cli\u002Fwrite-cli-test-cases\u002FREADME.md",{"path":101,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":102,"sourceHtmlUrl":103},"test\u002Fintegrations\u002Fwrite-a-cli\u002Fwrite-cli-test-cases\u002FSETUP.md",145,"https:\u002F\u002Fgithub.com\u002Fxhd2015\u002Fagent-pro\u002Fblob\u002Fmaster\u002Fagents\u002Ftdd-expert\u002Ftest\u002Fintegrations\u002Fwrite-a-cli\u002Fwrite-cli-test-cases\u002FSETUP.md",{"path":105,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":106,"sourceHtmlUrl":107},"test\u002Fintegrations\u002Fwrite-a-cli\u002Fwrite-cli-test-cases\u002Fwith-flag\u002FASSERT.md",159,"https:\u002F\u002Fgithub.com\u002Fxhd2015\u002Fagent-pro\u002Fblob\u002Fmaster\u002Fagents\u002Ftdd-expert\u002Ftest\u002Fintegrations\u002Fwrite-a-cli\u002Fwrite-cli-test-cases\u002Fwith-flag\u002FASSERT.md",{"path":109,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":110,"sourceHtmlUrl":111},"test\u002Fintegrations\u002Fwrite-a-cli\u002Fwrite-cli-test-cases\u002Fwith-flag\u002FSETUP.md",112,"https:\u002F\u002Fgithub.com\u002Fxhd2015\u002Fagent-pro\u002Fblob\u002Fmaster\u002Fagents\u002Ftdd-expert\u002Ftest\u002Fintegrations\u002Fwrite-a-cli\u002Fwrite-cli-test-cases\u002Fwith-flag\u002FSETUP.md",{"path":113,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":114,"sourceHtmlUrl":115},"test\u002Fintegrations\u002Fwrite-a-library\u002Fmath-lib-test-cases\u002Farithmetic\u002Fadd\u002FASSERT.md",91,"https:\u002F\u002Fgithub.com\u002Fxhd2015\u002Fagent-pro\u002Fblob\u002Fmaster\u002Fagents\u002Ftdd-expert\u002Ftest\u002Fintegrations\u002Fwrite-a-library\u002Fmath-lib-test-cases\u002Farithmetic\u002Fadd\u002FASSERT.md",{"path":117,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":118,"sourceHtmlUrl":119},"test\u002Fintegrations\u002Fwrite-a-library\u002Fmath-lib-test-cases\u002Farithmetic\u002Fadd\u002FSETUP.md",58,"https:\u002F\u002Fgithub.com\u002Fxhd2015\u002Fagent-pro\u002Fblob\u002Fmaster\u002Fagents\u002Ftdd-expert\u002Ftest\u002Fintegrations\u002Fwrite-a-library\u002Fmath-lib-test-cases\u002Farithmetic\u002Fadd\u002FSETUP.md",{"path":121,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":122,"sourceHtmlUrl":123},"test\u002Fintegrations\u002Fwrite-a-library\u002Fmath-lib-test-cases\u002Farithmetic\u002Fmultiply\u002FASSERT.md",97,"https:\u002F\u002Fgithub.com\u002Fxhd2015\u002Fagent-pro\u002Fblob\u002Fmaster\u002Fagents\u002Ftdd-expert\u002Ftest\u002Fintegrations\u002Fwrite-a-library\u002Fmath-lib-test-cases\u002Farithmetic\u002Fmultiply\u002FASSERT.md",{"path":125,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":126,"sourceHtmlUrl":127},"test\u002Fintegrations\u002Fwrite-a-library\u002Fmath-lib-test-cases\u002Farithmetic\u002Fmultiply\u002FSETUP.md",68,"https:\u002F\u002Fgithub.com\u002Fxhd2015\u002Fagent-pro\u002Fblob\u002Fmaster\u002Fagents\u002Ftdd-expert\u002Ftest\u002Fintegrations\u002Fwrite-a-library\u002Fmath-lib-test-cases\u002Farithmetic\u002Fmultiply\u002FSETUP.md",{"path":129,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":130,"sourceHtmlUrl":131},"test\u002Fintegrations\u002Fwrite-a-library\u002Fmath-lib-test-cases\u002Fedge-cases\u002FASSERT.md",64,"https:\u002F\u002Fgithub.com\u002Fxhd2015\u002Fagent-pro\u002Fblob\u002Fmaster\u002Fagents\u002Ftdd-expert\u002Ftest\u002Fintegrations\u002Fwrite-a-library\u002Fmath-lib-test-cases\u002Fedge-cases\u002FASSERT.md",{"path":133,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":134,"sourceHtmlUrl":135},"test\u002Fintegrations\u002Fwrite-a-library\u002Fmath-lib-test-cases\u002Fedge-cases\u002FSETUP.md",75,"https:\u002F\u002Fgithub.com\u002Fxhd2015\u002Fagent-pro\u002Fblob\u002Fmaster\u002Fagents\u002Ftdd-expert\u002Ftest\u002Fintegrations\u002Fwrite-a-library\u002Fmath-lib-test-cases\u002Fedge-cases\u002FSETUP.md",{"path":137,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":138,"sourceHtmlUrl":139},"test\u002Fintegrations\u002Fwrite-a-library\u002Fmath-lib-test-cases\u002FREADME.md",787,"https:\u002F\u002Fgithub.com\u002Fxhd2015\u002Fagent-pro\u002Fblob\u002Fmaster\u002Fagents\u002Ftdd-expert\u002Ftest\u002Fintegrations\u002Fwrite-a-library\u002Fmath-lib-test-cases\u002FREADME.md",{"path":141,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":142,"sourceHtmlUrl":143},"test\u002Fintegrations\u002Fwrite-a-library\u002Fmath-lib-test-cases\u002FSETUP.md",191,"https:\u002F\u002Fgithub.com\u002Fxhd2015\u002Fagent-pro\u002Fblob\u002Fmaster\u002Fagents\u002Ftdd-expert\u002Ftest\u002Fintegrations\u002Fwrite-a-library\u002Fmath-lib-test-cases\u002FSETUP.md",[145,152,159,166,173,180],{"skillNo":146,"name":147,"nameZh":6,"description":148,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":149,"categories":150,"keywords":151,"publishedAt":18},"01M752V7X3HGMWGCPSWMG498TY","verify-with-prototype","Prototype-before-production workflow for risky host integrations (sudo, privileges, system config). Use when a feature touches the real OS, when behavior must be proven with a small script before full implementation, or when the user mentions prototype verification, POC script, or verify-with-prototype. Run after investigate\u002Ffollowup and before doctest-TDD integration.","https:\u002F\u002Fgithub.com\u002Fxhd2015\u002Fagent-pro\u002Fblob\u002Fmaster\u002Fagents\u002Fverify-with-prototype\u002Frun\u002FSKILL.md",[],[],{"skillNo":153,"name":154,"nameZh":6,"description":155,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":156,"categories":157,"keywords":158,"publishedAt":18},"01M752V363XA61Q2PSVS0W9M3H","verify-on-behalf-of-user","Run human-style scenario verification after an agent claims work is done: git status, build into ~\u002F.sandbox\u002Fbin (default sandbox mode) or opt-in host mode (outside sandbox: wrk --reinstall-local \u002F change-scoped install), real integration\u002FE2E scenarios (start servers, browser-agent for UI), always-labeled depth, markdown transcript written and inlined for review. Use for \"verify on my behalf\", before commit. Complements doctests; does not replace them. Load a sub-topic with: agent-pro skill --show verify-on-behalf-of-user\u002F\u003Ctopic>","https:\u002F\u002Fgithub.com\u002Fxhd2015\u002Fagent-pro\u002Fblob\u002Fmaster\u002Fagents\u002Fverify-on-behalf-of-user\u002Frun\u002FSKILL.md",[],[],{"skillNo":160,"name":161,"nameZh":6,"description":162,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":163,"categories":164,"keywords":165,"publishedAt":18},"01M752TVN3Y9ZMKW52A8MKZ3QP","test-case-tree-design-expert","Use when the user wants a decision-tree style test case design with inherited setup and per-leaf assertions.","https:\u002F\u002Fgithub.com\u002Fxhd2015\u002Fagent-pro\u002Fblob\u002Fmaster\u002Fagents\u002Ftest-case-tree-design-expert\u002FSKILL.md",[],[],{"skillNo":167,"name":168,"nameZh":6,"description":169,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":170,"categories":171,"keywords":172,"publishedAt":18},"01M752TSECEXD80J650BC6YXMY","test-case-design-expert","Use when the user wants comprehensive user-facing end-to-end test scenarios for a feature description.","https:\u002F\u002Fgithub.com\u002Fxhd2015\u002Fagent-pro\u002Fblob\u002Fmaster\u002Fagents\u002Ftest-case-design-expert\u002FSKILL.md",[],[],{"skillNo":174,"name":175,"nameZh":6,"description":176,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":177,"categories":178,"keywords":179,"publishedAt":18},"01M752TGQ1905Y0FTCTQPMJTA7","summarize-a-skill","Meta-skill: distill durable high-signal guidance (worked vs failed, wrong → correct, and anything else that quickens future similar tasks) into a brief reusable skill document with YAML frontmatter. When the user does not explicitly ask for a new skill\u002Ffile, prefer updating an existing skill over creating one. Writes skills\u002F\u003Cname>\u002FSKILL.md (or docs|doc\u002Fskills\u002F…). Use for \u002Fsummarize-a-skill, \"summarize what worked\", \"lessons learned into a skill\", or \"write a skill from this session\".","https:\u002F\u002Fgithub.com\u002Fxhd2015\u002Fagent-pro\u002Fblob\u002Fmaster\u002Fagents\u002Fsummarize-a-skill\u002Frun\u002FSKILL.md",[],[],{"skillNo":181,"name":182,"nameZh":6,"description":183,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":184,"categories":185,"keywords":186,"publishedAt":18},"01M752TBFMMQJRCWFMYX6PX0XN","split-phases","Break a large implementation plan into dependency-ordered phases that are independently implementable and verifiable. Use when the user runs \u002Fsplit-phases, or says \"split into phases\", \"phase this plan\", \"break into units of work\", \"dependency-ordered milestones\", or wants a giant plan split for phase-by-phase work.","https:\u002F\u002Fgithub.com\u002Fxhd2015\u002Fagent-pro\u002Fblob\u002Fmaster\u002Fagents\u002Fsplit-phases\u002Frun\u002FSKILL.md",[],[]]