End-to-end skill for building, testing, linting, versioning, and publishing a production-grade Python library to PyPI. Covers all four build backends (setuptools+setuptools_scm, hatchling, flit, poetry), PEP 440 versioning, semantic versioning, dynamic git-tag versioning, OOP/SOLID design, type hints (PEP 484/526/544/561), Trusted Publishing (OIDC), and the full PyPA packaging flow.
Install
npx skills add github/awesome-copilot --skill python-pypi-package-buildernpx skills add github/awesome-copilot --skill python-pypi-package-builder -a claude-code -gnpx skills add github/awesome-copilot --skill python-pypi-package-builder -a codex -ggemini skills install https://github.com/github/awesome-copilot.git --path skills/python-pypi-package-buildergh skill install github/awesome-copilot python-pypi-package-buildergit clone --depth 1 https://github.com/github/awesome-copilot /tmp/github__awesome-copilot
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/github__awesome-copilot/skills/python-pypi-package-builder ~/.claude/skills/python-pypi-package-builder # Claude Code
cp -R /tmp/github__awesome-copilot/skills/python-pypi-package-builder ~/.agents/skills/python-pypi-package-builder # Codex, Cursor, Gemini CLI, Copilot, OpenCode