[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6AD47MGW8PFFB90JHPEZNEN":3,"skill-same:01M6AD47MGW8PFFB90JHPEZNEN":65},{"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},"01M6AD47MGW8PFFB90JHPEZNEN","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\u002F.github\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",".github\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\u002F.github\u002Fskills\u002Fpytest-gen\u002FSKILL.md",true,[59],{"path":60,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":63,"sourceHtmlUrl":64},"agents\u002Fopenai.yaml","REFERENCE","参考文档",260,"https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fdbs-learning\u002Fagents\u002Fopenai.yaml",[66,72,82,95,113,118],{"skillNo":67,"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":68,"categories":69,"keywords":71,"publishedAt":30},"01M6AD4DRS45DQ1ZVYEBZEA5D2","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fcopilot-cli-for-beginners\u002Fblob\u002Fmain\u002Fsamples\u002Fskills\u002Fpytest-gen\u002FSKILL.md",[70],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[24,29,28,27,26,25],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"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",[],[79,80,81],"hello","hello world","minimal skill",{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"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",[],[89,90,28,91,92,93,94],"commit message","commit","git","help","git commit","writing",{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":106,"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",[101],{"categoryNo":102,"categoryName":103,"taxonomyType":104,"taxonomyTypeDesc":105},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[107,29,108,109,110,111,112,26],"code checklist","issues","best practices","code quality","python code quality","security",{"skillNo":114,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":30},"01M6AD46GGK4H3QBHARSYDMZ0Q","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fcopilot-cli-for-beginners\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fhello-world\u002FSKILL.md",[],[79,80,81],{"skillNo":119,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":30},"01M6AD44CS482KQDYBVY612E8H","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fcopilot-cli-for-beginners\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fcommit-message\u002FSKILL.md",[],[90,89,93,28,92,91,94]]