[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6AD4DRS45DQ1ZVYEBZEA5D2":3,"skill-same:01M6AD4DRS45DQ1ZVYEBZEA5D2":85},{"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":30,"linkOnly":31,"markdownContent":32,"markdownBody":33,"frontMatter":34,"refName":35,"commitSha":36,"skillDirectory":37,"forksCount":38,"repositoryHtmlUrl":39,"repositoryHomepageUrl":40,"ownerHtmlUrl":41,"ownerBlogUrl":42,"ownerDescription":43,"updatedAt":44,"install":45,"resources":58},"01M6AD4DRS45DQ1ZVYEBZEA5D2","pytest-gen",null,"Generate comprehensive pytest tests - use when generating tests, creating test suites, or testing Python code","github\u002Fcopilot-cli-for-beginners","github","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F9919?v=4","01M6AC83DS133TPXFSP1DHNCC6","GitHub","01M6AD40HWW323GJA0ETB2A6XW",2918,"MIT","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fcopilot-cli-for-beginners\u002Fblob\u002Fmain\u002Fsamples\u002Fskills\u002Fpytest-gen\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000008","测试与质量","SCENARIO","使用场景",[24,25,26,27,28,29],"pytest gen","testing","python","test","generate","code","2026-11-10 10:12:30",false,"---\nname: pytest-gen\ndescription: Generate comprehensive pytest tests - use when generating tests, creating test suites, or testing Python code\n---\n\n# Pytest Generation Skill\n\nWhen generating tests, follow this structure.\n\n## Test Organization\n\n- Group tests by function under test\n- Use `@pytest.mark.parametrize` for multiple inputs\n- Use fixtures for shared setup\n- Follow arrange\u002Fact\u002Fassert pattern\n\n## Coverage Requirements\n\n- Happy path (expected usage)\n- Edge cases (empty strings, None, boundary values)\n- Error cases (invalid input, file not found, wrong types)\n- Integration (functions working together)\n\n## Template\n\n```python\nimport pytest\nfrom module_under_test import function_to_test\n\n\n@pytest.fixture\ndef sample_data():\n    \"\"\"Provide shared test data.\"\"\"\n    return {\"key\": \"value\"}\n\n\nclass TestFunctionName:\n    \"\"\"Tests for function_name.\"\"\"\n\n    def test_happy_path(self, sample_data):\n        result = function_to_test(valid_input)\n        assert result == expected_output\n\n    def test_empty_input(self):\n        result = function_to_test(\"\")\n        assert result == expected_for_empty\n\n    @pytest.mark.parametrize(\"input_val,expected\", [\n        (\"valid\", True),\n        (\"\", False),\n        (None, False),\n    ])\n    def test_various_inputs(self, input_val, expected):\n        assert function_to_test(input_val) == expected\n```\n","# Pytest Generation Skill\n\nWhen generating tests, follow this structure.\n\n## Test Organization\n\n- Group tests by function under test\n- Use `@pytest.mark.parametrize` for multiple inputs\n- Use fixtures for shared setup\n- Follow arrange\u002Fact\u002Fassert pattern\n\n## Coverage Requirements\n\n- Happy path (expected usage)\n- Edge cases (empty strings, None, boundary values)\n- Error cases (invalid input, file not found, wrong types)\n- Integration (functions working together)\n\n## Template\n\n```python\nimport pytest\nfrom module_under_test import function_to_test\n\n\n@pytest.fixture\ndef sample_data():\n    \"\"\"Provide shared test data.\"\"\"\n    return {\"key\": \"value\"}\n\n\nclass TestFunctionName:\n    \"\"\"Tests for function_name.\"\"\"\n\n    def test_happy_path(self, sample_data):\n        result = function_to_test(valid_input)\n        assert result == expected_output\n\n    def test_empty_input(self):\n        result = function_to_test(\"\")\n        assert result == expected_for_empty\n\n    @pytest.mark.parametrize(\"input_val,expected\", [\n        (\"valid\", True),\n        (\"\", False),\n        (None, False),\n    ])\n    def test_various_inputs(self, input_val, expected):\n        assert function_to_test(input_val) == expected\n```\n",{"name":5,"description":7},"main","802c19ea0986cd2a11bc0daedb9ad29ae0c081f8","samples\u002Fskills\u002Fpytest-gen",2621,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fcopilot-cli-for-beginners","https:\u002F\u002Fgh.io\u002Fcopilot-cli-course","https:\u002F\u002Fgithub.com\u002Fgithub","https:\u002F\u002Fgithub.com\u002Fabout","How people build software.","2026-11-12 05:49:45",{"source":8,"skillName":5,"commands":46,"prompt":56,"zipAvailable":57},[47,50,53],{"tool":48,"command":49},"npx","npx skills add github\u002Fcopilot-cli-for-beginners --skill pytest-gen",{"tool":51,"command":52},"bunx","bunx skills add github\u002Fcopilot-cli-for-beginners --skill pytest-gen",{"tool":54,"command":55},"pnpm","pnpm dlx skills add github\u002Fcopilot-cli-for-beginners --skill pytest-gen","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgithub\u002Fcopilot-cli-for-beginners\u002Fblob\u002Fmain\u002Fsamples\u002Fskills\u002Fpytest-gen\u002FSKILL.md",true,[59,65,69,73,77,81],{"path":60,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":63,"sourceHtmlUrl":64},"agents\u002Fopenai.yaml","REFERENCE","参考文档",152,"https:\u002F\u002Fgithub.com\u002Ffeniix\u002Fdotfiles\u002Fblob\u002Fmain\u002Fagents\u002Fskills\u002Fsetup-matt-pocock-skills\u002Fagents\u002Fopenai.yaml",{"path":66,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":67,"sourceHtmlUrl":68},"domain.md",2042,"https:\u002F\u002Fgithub.com\u002Ffeniix\u002Fdotfiles\u002Fblob\u002Fmain\u002Fagents\u002Fskills\u002Fsetup-matt-pocock-skills\u002Fdomain.md",{"path":70,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":71,"sourceHtmlUrl":72},"issue-tracker-github.md",5082,"https:\u002F\u002Fgithub.com\u002Ffeniix\u002Fdotfiles\u002Fblob\u002Fmain\u002Fagents\u002Fskills\u002Fsetup-matt-pocock-skills\u002Fissue-tracker-github.md",{"path":74,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":75,"sourceHtmlUrl":76},"issue-tracker-gitlab.md",3979,"https:\u002F\u002Fgithub.com\u002Ffeniix\u002Fdotfiles\u002Fblob\u002Fmain\u002Fagents\u002Fskills\u002Fsetup-matt-pocock-skills\u002Fissue-tracker-gitlab.md",{"path":78,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":79,"sourceHtmlUrl":80},"issue-tracker-local.md",1810,"https:\u002F\u002Fgithub.com\u002Ffeniix\u002Fdotfiles\u002Fblob\u002Fmain\u002Fagents\u002Fskills\u002Fsetup-matt-pocock-skills\u002Fissue-tracker-local.md",{"path":82,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":83,"sourceHtmlUrl":84},"triage-labels.md",1057,"https:\u002F\u002Fgithub.com\u002Ffeniix\u002Fdotfiles\u002Fblob\u002Fmain\u002Fagents\u002Fskills\u002Fsetup-matt-pocock-skills\u002Ftriage-labels.md",[86,96,109,127,133,138],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":30},"01M6AD4CFEVKMPAVTGZ1MW8Z97","hello-world","A minimal skill example - use when learning the skill format","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fcopilot-cli-for-beginners\u002Fblob\u002Fmain\u002Fsamples\u002Fskills\u002Fhello-world\u002FSKILL.md",[],[93,94,95],"hello world","hello","minimal skill",{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":30},"01M6AD4AZP3G3R8K88PYRM80RA","commit-message","Generate conventional commit messages - use when creating commits, writing commit messages, or asking for git commit help","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fcopilot-cli-for-beginners\u002Fblob\u002Fmain\u002Fsamples\u002Fskills\u002Fcommit-message\u002FSKILL.md",[],[103,104,105,106,28,107,108],"commit","commit message","git","help","git commit","writing",{"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":120,"publishedAt":30},"01M6AD494SDGGE3CH1XHND3A0K","code-checklist","Team code quality checklist - use for checking Python code quality, bugs, security issues, and best practices","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fcopilot-cli-for-beginners\u002Fblob\u002Fmain\u002Fsamples\u002Fskills\u002Fcode-checklist\u002FSKILL.md",[115],{"categoryNo":116,"categoryName":117,"taxonomyType":118,"taxonomyTypeDesc":119},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[29,121,122,123,124,125,126,26],"code checklist","issues","best practices","code quality","python code quality","security",{"skillNo":128,"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":129,"categories":130,"keywords":132,"publishedAt":30},"01M6AD47MGW8PFFB90JHPEZNEN","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fcopilot-cli-for-beginners\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fpytest-gen\u002FSKILL.md",[131],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[24,29,28,27,26,25],{"skillNo":134,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":135,"categories":136,"keywords":137,"publishedAt":30},"01M6AD46GGK4H3QBHARSYDMZ0Q","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fcopilot-cli-for-beginners\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fhello-world\u002FSKILL.md",[],[94,93,95],{"skillNo":139,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":140,"categories":141,"keywords":142,"publishedAt":30},"01M6AD44CS482KQDYBVY612E8H","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fcopilot-cli-for-beginners\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fcommit-message\u002FSKILL.md",[],[103,104,108,105,106,28,107]]