ci-cd

Automate GitHub Actions CI/CD pipelines for Python packages with trusted PyPI publishing.

28|3|Updated Feb 22, 2026
One-click install
npx skills add https://github.com/oborchers/fractional-cto --skill ci-cd-oborchers
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: ci-cd
Source: https://github.com/oborchers/fractional-cto/tree/main/python-package/skills/ci-cd
Command: npx skills add https://github.com/oborchers/fractional-cto --skill ci-cd-oborchers

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

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.

Frequently Asked Questions about ci-cd

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a GitHub Actions CI/CD pipeline for a Python package?▼

Setting up a GitHub Actions CI/CD pipeline for a Python package involves creating a multi-stage workflow with separate jobs for linting, type-checking, testing, building, and publishing to ensure efficient and clear automation.

What is trusted publishing for PyPI and how does OIDC integration work?▼

Trusted publishing for PyPI uses OIDC integration to establish a secure, tokenless connection between GitHub Actions and PyPI, eliminating long-lived API tokens and enhancing your package's supply chain security.

How do I configure a test matrix for Python versions in GitHub Actions?▼

Configuring a test matrix for Python versions in GitHub Actions allows you to run tests across multiple environments simultaneously, ensuring broad compatibility and catching version-specific issues before deployment.

Does Dependabot work with Python packaging workflows for dependency management?▼

Yes, Dependabot integrates with Python packaging workflows to automate dependency management, automatically scanning your requirements and submitting pull requests to keep your packages updated and secure.

Can I use uv caching strategies to speed up Python package CI/CD?▼

You can use uv caching strategies within your CI/CD pipeline to significantly speed up dependency installation, reducing build times by reusing cached packages across multiple workflow runs.