[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7C0JHDJFYY2KKPP9B0TKBDY":3,"skill-same:01M7C0JHDJFYY2KKPP9B0TKBDY":45},{"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":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M7C0JHDJFYY2KKPP9B0TKBDY","python-projects",null,"Style and good practices when implementing Python projects","fabiommendes\u002Fcodehood","fabiommendes","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1248626?v=4","01M7B2WVHQWE1G2F5M3BGZ15BV","Fábio Macêdo Mendes","01M7C0GNT3JXJAT1KEPF3PDAT1",1,"AGPL-3.0","https:\u002F\u002Fgithub.com\u002Ffabiommendes\u002Fcodehood\u002Fblob\u002Fmain\u002Fcli\u002F.claude\u002Fskills\u002Fpython-projects\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: python-projects\ndescription: Style and good practices when implementing Python projects\n---\n\n# python-projects\n\n## Tooling\n\nThe default choice is to use `uv` for project management. Select this for new\nprojects, but do not change old projects to use it.\n\nAlso select those defaults dev tooling on new projects:\n\n* ruff for linting and formatting.\n* pytest for testing.\n* doc-zero for documentation.\n* taskipy for task management.\n* mypy for type checking.\n\n\n## Tasks\n\nAll common dev commands should be explicity encoded as tasks. This usually means\nadding entries to the `[tool.taskipy.tasks]` section of the `pyproject.toml`\nfile.\n\nEvery project should define at least the following tasks:\n\n* `test` - run all tests.\n* `lint` - run all linters and formatters.\n* `docs` - build the documentation.\n* `ci` - run all CI checks, including tests, linters, and docs.\n* `release` - perform all checks that ensure the project is ready to be released to PyPI.\n\n\n## Source layout\n\nComplex projects with multiple packages should use the `src` layout. This means\nthat the source code is placed in a `src` directory, and the tests are placed in\na `tests` directory at the root of the project.\n\n```text\nsrc\u002F\n    package1\u002F\n    package2\u002F\ntests\u002F\n    package1\u002F\n    package2\u002F\n```\n\nSmaller projects consisting of a single package can use the simpler layout,\nwhere the source code and tests are placed in the same directory.\n\n```text\npackage\u002F\n    __init__.py\n    module1.py\n    ...\ntests\u002F\n    test_module1.py\n    ...\n```\n\nIn order to support the later, it is important to add the following lines in \n`pyproject.toml`:\n\n```toml\n[tool.uv.build-backend]\nmodule-name = \"\u003Cpackage-name>\"\nmodule-root = \".\"\n```\n\n## CI\u002FCD\n\nThe project should have a CI\u002FCD pipeline that runs all tests, linters, and docs \non every commit. The pipeline should also run the `release` task on every tag.\n\nBy default, use GitHub Actions for CI\u002FCD. The default workflow should be placed\nin `.github\u002Fworkflows\u002Fci.yml`. \n\nIf the project is a library, the workflow should also build and publish the \npackage to PyPI on every tag.\n\n## Readme\n\nThe project should have a `README.md` file at the root of the project. \nThe README should include:\n\n* A short description of the project.\n* A badge for the CI\u002FCD pipeline.\n* A badge for the latest release.\n* Installation instructions.\n* Usage examples.\n\n## License\n\nThe project should have a `LICENSE` file at the root of the project. If the\nLICENSE is not present, create a `LICENSE` file with the MIT license.\n","# python-projects\n\n## Tooling\n\nThe default choice is to use `uv` for project management. Select this for new\nprojects, but do not change old projects to use it.\n\nAlso select those defaults dev tooling on new projects:\n\n* ruff for linting and formatting.\n* pytest for testing.\n* doc-zero for documentation.\n* taskipy for task management.\n* mypy for type checking.\n\n\n## Tasks\n\nAll common dev commands should be explicity encoded as tasks. This usually means\nadding entries to the `[tool.taskipy.tasks]` section of the `pyproject.toml`\nfile.\n\nEvery project should define at least the following tasks:\n\n* `test` - run all tests.\n* `lint` - run all linters and formatters.\n* `docs` - build the documentation.\n* `ci` - run all CI checks, including tests, linters, and docs.\n* `release` - perform all checks that ensure the project is ready to be released to PyPI.\n\n\n## Source layout\n\nComplex projects with multiple packages should use the `src` layout. This means\nthat the source code is placed in a `src` directory, and the tests are placed in\na `tests` directory at the root of the project.\n\n```text\nsrc\u002F\n    package1\u002F\n    package2\u002F\ntests\u002F\n    package1\u002F\n    package2\u002F\n```\n\nSmaller projects consisting of a single package can use the simpler layout,\nwhere the source code and tests are placed in the same directory.\n\n```text\npackage\u002F\n    __init__.py\n    module1.py\n    ...\ntests\u002F\n    test_module1.py\n    ...\n```\n\nIn order to support the later, it is important to add the following lines in \n`pyproject.toml`:\n\n```toml\n[tool.uv.build-backend]\nmodule-name = \"\u003Cpackage-name>\"\nmodule-root = \".\"\n```\n\n## CI\u002FCD\n\nThe project should have a CI\u002FCD pipeline that runs all tests, linters, and docs \non every commit. The pipeline should also run the `release` task on every tag.\n\nBy default, use GitHub Actions for CI\u002FCD. The default workflow should be placed\nin `.github\u002Fworkflows\u002Fci.yml`. \n\nIf the project is a library, the workflow should also build and publish the \npackage to PyPI on every tag.\n\n## Readme\n\nThe project should have a `README.md` file at the root of the project. \nThe README should include:\n\n* A short description of the project.\n* A badge for the CI\u002FCD pipeline.\n* A badge for the latest release.\n* Installation instructions.\n* Usage examples.\n\n## License\n\nThe project should have a `LICENSE` file at the root of the project. If the\nLICENSE is not present, create a `LICENSE` file with the MIT license.\n",{"name":5,"description":7},"main","bd51a80f42ea533b45c523008c3361a46bc3ed3a","cli\u002F.claude\u002Fskills\u002Fpython-projects",0,"https:\u002F\u002Fgithub.com\u002Ffabiommendes\u002Fcodehood","https:\u002F\u002Fgithub.com\u002Ffabiommendes","2026-11-15 05:44:14",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add fabiommendes\u002Fcodehood --skill python-projects",{"tool":37,"command":38},"bunx","bunx skills add fabiommendes\u002Fcodehood --skill python-projects",{"tool":40,"command":41},"pnpm","pnpm dlx skills add fabiommendes\u002Fcodehood --skill python-projects","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Ffabiommendes\u002Fcodehood\u002Fblob\u002Fmain\u002Fcli\u002F.claude\u002Fskills\u002Fpython-projects\u002FSKILL.md",true,[],[46,53,60,67,74,81],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":19},"01M7C0JM7A0PBSDW9R7M6C79JN","unslop","Cut AI tells from any writing. Must always apply.","https:\u002F\u002Fgithub.com\u002Ffabiommendes\u002Fcodehood\u002Fblob\u002Fmain\u002Fcli\u002F.claude\u002Fskills\u002Funslop\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M7C0JJYQCZM1X851ABVDQ5QZ","python-publish","Guidelines to publish Python packages","https:\u002F\u002Fgithub.com\u002Ffabiommendes\u002Fcodehood\u002Fblob\u002Fmain\u002Fcli\u002F.claude\u002Fskills\u002Fpython-publish\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M7C0JFZNESV9HMQW8V35DZ9D","python-paths","Good practices when working with file paths in Python","https:\u002F\u002Fgithub.com\u002Ffabiommendes\u002Fcodehood\u002Fblob\u002Fmain\u002Fcli\u002F.claude\u002Fskills\u002Fpython-paths\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M7C0JE3YZNMMDYM17DP681SM","python-modules","Style and good practices when implementing or refactoring Python modules","https:\u002F\u002Fgithub.com\u002Ffabiommendes\u002Fcodehood\u002Fblob\u002Fmain\u002Fcli\u002F.claude\u002Fskills\u002Fpython-modules\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M7C0JCAR3N81GQ8Z068FTYX9","python-functions","Style and good practices when implementing or refactoring Python functions and methods","https:\u002F\u002Fgithub.com\u002Ffabiommendes\u002Fcodehood\u002Fblob\u002Fmain\u002Fcli\u002F.claude\u002Fskills\u002Fpython-functions\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M7C0J85RDKVVSFRARSKKFAG3","principle-subtract-before-you-add","Apply when sequencing an addition, refactor, or rewrite. Remove dead weight, redundant validators, and stub references first, then build on the simpler base.","https:\u002F\u002Fgithub.com\u002Ffabiommendes\u002Fcodehood\u002Fblob\u002Fmain\u002Fcli\u002F.claude\u002Fskills\u002Fprinciple-subtract-before-you-add\u002FSKILL.md",[],[]]