[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6GSRA795RHD3WP4S1GM2P2A":3,"skill-same:01M6GSRA795RHD3WP4S1GM2P2A":75},{"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":23,"publishedAt":40,"linkOnly":41,"markdownContent":42,"markdownBody":43,"frontMatter":44,"refName":47,"commitSha":48,"skillDirectory":49,"forksCount":50,"repositoryHtmlUrl":51,"repositoryHomepageUrl":52,"ownerHtmlUrl":53,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":54,"install":55,"resources":68},"01M6GSRA795RHD3WP4S1GM2P2A","testing-guide",null,"Guide test writing with patterns for unit, integration, and edge case coverage","skillx-run\u002Fskillx","skillx-run","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F269516230?v=4","01M6GSQ2ZJPZR78333W2PFE97X","skillx.run","01M6GSQ349SHJP83E0ZCBN439Y",3,"MIT","https:\u002F\u002Fgithub.com\u002Fskillx-run\u002Fskillx\u002Fblob\u002Fmain\u002Fexamples\u002Fskills\u002Ftesting-guide\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000008","测试与质量","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39],"testing","guide","testing guide","writing","tdd","test","run","integration","edge","quality","coverage","patterns","case","unit","with","skillx","2026-11-10 10:12:30",false,"---\nname: testing-guide\ndescription: Guide test writing with patterns for unit, integration, and edge case coverage\nauthor: skillx-run\nversion: \"1.0.0\"\nlicense: MIT\ntags:\n  - testing\n  - quality\n  - tdd\n---\n\n# Testing Guide Skill\n\nYou are a testing specialist. Help write comprehensive tests using proven patterns.\n\n## Instructions\n\nWhen asked to write or improve tests:\n\n1. **Identify test scope** — Unit test, integration test, or end-to-end test\n2. **List test scenarios** — Happy path, edge cases, error handling, boundary conditions\n3. **Apply patterns** — See `references\u002Fpatterns.md` for common testing patterns\n4. **Write tests** — Follow the project's existing test style and framework\n5. **Verify coverage** — Ensure all branches and error paths are tested\n\n## Test Design Principles\n\n- **One assertion per concept** — Each test should verify one behavior\n- **Descriptive names** — Test names should describe the scenario and expected outcome\n- **Arrange-Act-Assert** — Structure tests clearly with setup, action, and verification\n- **Independent tests** — Tests should not depend on execution order or shared state\n- **Fast feedback** — Unit tests should run in milliseconds\n\n## When to Write Tests\n\n- **New code** — Write tests for all new functions and methods\n- **Bug fixes** — Write a failing test first, then fix the bug\n- **Refactoring** — Ensure existing tests pass before and after changes\n- **Edge cases** — Add tests for boundary values, empty inputs, and error conditions\n\n## References\n\nSee `references\u002Fpatterns.md` for common testing patterns and examples.\n","# Testing Guide Skill\n\nYou are a testing specialist. Help write comprehensive tests using proven patterns.\n\n## Instructions\n\nWhen asked to write or improve tests:\n\n1. **Identify test scope** — Unit test, integration test, or end-to-end test\n2. **List test scenarios** — Happy path, edge cases, error handling, boundary conditions\n3. **Apply patterns** — See `references\u002Fpatterns.md` for common testing patterns\n4. **Write tests** — Follow the project's existing test style and framework\n5. **Verify coverage** — Ensure all branches and error paths are tested\n\n## Test Design Principles\n\n- **One assertion per concept** — Each test should verify one behavior\n- **Descriptive names** — Test names should describe the scenario and expected outcome\n- **Arrange-Act-Assert** — Structure tests clearly with setup, action, and verification\n- **Independent tests** — Tests should not depend on execution order or shared state\n- **Fast feedback** — Unit tests should run in milliseconds\n\n## When to Write Tests\n\n- **New code** — Write tests for all new functions and methods\n- **Bug fixes** — Write a failing test first, then fix the bug\n- **Refactoring** — Ensure existing tests pass before and after changes\n- **Edge cases** — Add tests for boundary values, empty inputs, and error conditions\n\n## References\n\nSee `references\u002Fpatterns.md` for common testing patterns and examples.\n",{"name":5,"tags":45,"author":9,"license":15,"version":46,"description":7},[24,33,28],"1.0.0","main","92fc31a8c8052df53fc2b69c11efbfd10a33cd7e","examples\u002Fskills\u002Ftesting-guide",0,"https:\u002F\u002Fgithub.com\u002Fskillx-run\u002Fskillx","https:\u002F\u002Fskillx.run","https:\u002F\u002Fgithub.com\u002Fskillx-run","2026-04-20 07:41:35",{"source":8,"skillName":5,"commands":56,"prompt":66,"zipAvailable":67},[57,60,63],{"tool":58,"command":59},"npx","npx skills add skillx-run\u002Fskillx --skill testing-guide",{"tool":61,"command":62},"bunx","bunx skills add skillx-run\u002Fskillx --skill testing-guide",{"tool":64,"command":65},"pnpm","pnpm dlx skills add skillx-run\u002Fskillx --skill testing-guide","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fskillx-run\u002Fskillx\u002Fblob\u002Fmain\u002Fexamples\u002Fskills\u002Ftesting-guide\u002FSKILL.md",true,[69],{"path":70,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":73,"sourceHtmlUrl":74},"references\u002Fpatterns.md","REFERENCE","参考文档",1188,"https:\u002F\u002Fgithub.com\u002Fskillx-run\u002Fskillx\u002Fblob\u002Fmain\u002Fexamples\u002Fskills\u002Ftesting-guide\u002Freferences\u002Fpatterns.md",[76,99,117,134,150,167],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":85,"publishedAt":40},"01M6GSREG8ER6WV9R10H8JMDCT","setup-skillx","Add a \"Run with skillx\" quick-start section to a skill project's README, and optionally to its landing page","https:\u002F\u002Fgithub.com\u002Fskillx-run\u002Fskillx\u002Fblob\u002Fmain\u002Fskills\u002Fsetup-skillx\u002FSKILL.md",[82],{"categoryNo":83,"categoryName":84,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发",[86,39,87,88,89,90,30,91,92,93,94,95,96,97,98,38],"setup skillx","setup","quick","docs","workflow","onboarding","start","page","README","landing","project","landing page","add",{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":40},"01M6GSR5Y6PD3FD2SJ08BMG0XS","name-poem","Generate beautiful poems from names — classical Chinese acrostic poetry, haiku, sonnets, sijo, and more","https:\u002F\u002Fgithub.com\u002Fskillx-run\u002Fskillx\u002Fblob\u002Fmain\u002Fexamples\u002Fskills\u002Fname-poem\u002FSKILL.md",[],[106,107,108,109,30,110,111,112,113,114,115,116,39],"name poem","poem","name","generate","haiku","creative","multilingual","Poetry","chinese","acrostic","more",{"skillNo":118,"name":119,"nameZh":6,"description":120,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":121,"categories":122,"keywords":124,"publishedAt":40},"01M6GSR3C4VPAA60RFGK47CJ5J","hello-world","A simple greeting skill that demonstrates skillx capabilities","https:\u002F\u002Fgithub.com\u002Fskillx-run\u002Fskillx\u002Fblob\u002Fmain\u002Fexamples\u002Fskills\u002Fhello-world\u002FSKILL.md",[123],{"categoryNo":83,"categoryName":84,"taxonomyType":21,"taxonomyTypeDesc":22},[125,126,127,128,39,129,30,130,131,132,133],"hello","world","hello world","starter","greeting skill","capabilities","example","simple","greeting",{"skillNo":135,"name":136,"nameZh":6,"description":137,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":138,"licenseFileUrl":6,"sourceHtmlUrl":139,"categories":140,"keywords":142,"publishedAt":40},"01M6GSQZGBF941P204Z2SAG6B6","dangerous-example","Example skill with intentional security issues for scanner demonstration","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fskillx-run\u002Fskillx\u002Fblob\u002Fmain\u002Fexamples\u002Fskills\u002Fdangerous-example\u002FSKILL.md",[141],{"categoryNo":83,"categoryName":84,"taxonomyType":21,"taxonomyTypeDesc":22},[143,131,144,145,146,30,147,148,38,39,149],"dangerous example","demo","security","example skill","issues","scanner","security-demo",{"skillNo":151,"name":152,"nameZh":6,"description":153,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":154,"categories":155,"keywords":157,"publishedAt":40},"01M6GSQTD2RD4MEKZJ3DGE6XM1","commit-message","Generate clear, conventional commit messages from staged changes","https:\u002F\u002Fgithub.com\u002Fskillx-run\u002Fskillx\u002Fblob\u002Fmain\u002Fexamples\u002Fskills\u002Fcommit-message\u002FSKILL.md",[156],{"categoryNo":83,"categoryName":84,"taxonomyType":21,"taxonomyTypeDesc":22},[158,159,160,109,30,161,90,162,163,164,165,166,39],"message","commit message","commit","git","messages","conventional commit","commit messages","conventions","clear",{"skillNo":168,"name":169,"nameZh":6,"description":170,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":171,"categories":172,"keywords":181,"publishedAt":40},"01M6GSQQJNRDP1TREQ5WD0QJNE","code-review","Perform structured code reviews with severity levels and actionable feedback","https:\u002F\u002Fgithub.com\u002Fskillx-run\u002Fskillx\u002Fblob\u002Fmain\u002Fexamples\u002Fskills\u002Fcode-review\u002FSKILL.md",[173,176],{"categoryNo":174,"categoryName":175,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000007","代码审查",{"categoryNo":177,"categoryName":178,"taxonomyType":179,"taxonomyTypeDesc":180},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[182,183,184,185,33,186,30,39,187,38,188,189,190],"code review","review","code","severity","feedback","reviews","actionable","structured","best-practices"]