What problem does it solve?
This Skill streamlines the process of setting up robust Continuous Integration and Continuous Deployment (CI/CD) pipelines for Python packages, ensuring code quality, automated testing, and secure releases.
Core Features & Use Cases
- CI Pipeline Architecture: Defines a multi-stage CI pipeline (lint, type-check, test, build, publish) using separate jobs for efficiency and clarity.
- Trusted Publishing: Implements OIDC-based trusted publishing to PyPI, eliminating the need for long-lived API tokens and enhancing supply chain security.
- Automated Releases: Integrates with GitHub Releases for triggering deployments and automates dependency management with Dependabot.
- Use Case: When you are setting up a new Python library, use this Skill to generate a GitHub Actions workflow that automatically lints your code, runs tests across multiple Python versions, builds your package, and publishes it to PyPI securely upon release.
Quick Start
Generate a GitHub Actions CI/CD workflow for a Python package that includes linting, testing, building, and trusted publishing to PyPI.