python

Automate Python development workflows with UV, covering setup, dependency management, quality checks, and containerized deployment.

Updated Apr 20, 2026
One-click install
npx skills add https://github.com/Anders-planck/opencode-config --skill python-anders-planck
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: python
Source: https://github.com/Anders-planck/opencode-config/tree/main/skills/python
Command: npx skills add https://github.com/Anders-planck/opencode-config --skill python-anders-planck

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Streamline Python project setup, dependency management, quality checks, testing, and containerized deployment using UV to deliver fast, reproducible development workflows.

Core Features & Use Cases

  • Project scaffolding and environment setup with UV (init, pin Python versions)
  • Dependency management and reproducible builds with UV (add, sync, lock)
  • Code quality and testing with Ruff, Mypy, Pytest, and type checks
  • Docker deployment with multi-stage builds for production-grade images
  • CI/CD pipelines and migration guidance for transitioning from pip/poetry

Quick Start

Initialize a new Python project with UV and start coding.

Frequently Asked Questions about python

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

FAQPage Schema
How do I set up a Python project with UV for reproducible builds?

Setting up a Python project with UV involves initializing the environment, pinning Python versions, and configuring a pyproject.toml file. This approach enforces a universal lockfile to ensure fast, reproducible builds across different development environments.

What's the best way to manage Python dependencies and lockfiles across environments?

The best way to manage Python dependencies across environments is using UV tooling for adding, syncing, and locking packages. It generates a universal lockfile anchored to pyproject.toml, guaranteeing reproducible builds for both solo developers and teams.

How do I automate Python code quality checks and testing in a CI/CD pipeline?

Automating Python code quality checks and testing in a CI/CD pipeline requires integrating Ruff for linting, Mypy for type checking, and Pytest for testing. This workflow ensures code quality standards are maintained automatically across project cycles.

How do I deploy Python applications using Docker multi-stage builds?

Deploying Python applications using Docker multi-stage builds involves creating production-grade containerized images. This workflow leverages UV dependency management to optimize layers, ensuring the final deployment container is fast, lightweight, and reproducible.

Can I migrate my existing Python project from pip or poetry to UV?

Yes, you can migrate your existing Python project from pip or poetry to UV. The workflow provides specific migration guidance to transition your dependency management, allowing you to adopt faster UV tooling and reproducible universal lockfiles.

Does UV work with standard pyproject.toml configurations for Python projects?

Yes, UV works with standard pyproject.toml configurations for Python projects. The tooling enforces a pyproject.toml-based configuration setup to manage dependencies, pin versions, and generate universal lockfiles for reproducible builds.