[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6GSRA795RHD3WP4S1GM2P2A":3,"skill-same:01M6GSRA795RHD3WP4S1GM2P2A":70},{"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":35,"linkOnly":36,"markdownContent":37,"markdownBody":38,"frontMatter":39,"refName":42,"commitSha":43,"skillDirectory":44,"forksCount":45,"repositoryHtmlUrl":46,"repositoryHomepageUrl":47,"ownerHtmlUrl":48,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":49,"install":50,"resources":63},"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",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34],"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":40,"author":9,"license":15,"version":41,"description":7},[19,28,23],"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":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add skillx-run\u002Fskillx --skill testing-guide",{"tool":56,"command":57},"bunx","bunx skills add skillx-run\u002Fskillx --skill testing-guide",{"tool":59,"command":60},"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,[64],{"path":65,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":68,"sourceHtmlUrl":69},"references\u002Fpatterns.md","REFERENCE","参考文档",1188,"https:\u002F\u002Fgithub.com\u002Fskillx-run\u002Fskillx\u002Fblob\u002Fmain\u002Fexamples\u002Fskills\u002Ftesting-guide\u002Freferences\u002Fpatterns.md",[71,91,109,125,140,156],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":35},"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",[],[78,34,79,80,81,82,25,83,84,85,86,87,88,89,90,33],"setup skillx","setup","quick","docs","workflow","onboarding","start","page","README","landing","project","landing page","add",{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":35},"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",[],[98,99,100,101,25,102,103,104,105,106,107,108,34],"name poem","poem","name","generate","haiku","creative","multilingual","Poetry","chinese","acrostic","more",{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":35},"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",[],[116,117,118,119,34,120,25,121,122,123,124],"hello","world","hello world","starter","greeting skill","capabilities","example","simple","greeting",{"skillNo":126,"name":127,"nameZh":6,"description":128,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":129,"licenseFileUrl":6,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":35},"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",[],[133,122,134,135,136,25,137,138,33,34,139],"dangerous example","demo","security","example skill","issues","scanner","security-demo",{"skillNo":141,"name":142,"nameZh":6,"description":143,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":144,"categories":145,"keywords":146,"publishedAt":35},"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",[],[147,148,149,101,25,150,82,151,152,153,154,155,34],"message","commit message","commit","git","messages","conventional commit","commit messages","conventions","clear",{"skillNo":157,"name":158,"nameZh":6,"description":159,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":160,"categories":161,"keywords":162,"publishedAt":35},"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",[],[163,164,165,166,28,167,25,34,168,33,169,170,171],"code review","review","code","severity","feedback","reviews","actionable","structured","best-practices"]