modern-python

Configure Python projects with uv, ruff, and ty tooling.

1|Updated Mar 9, 2026
One-click install
npx skills add https://github.com/cavit99/codex-skill-library --skill modern-python-cavit99
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: modern-python
Source: https://github.com/cavit99/codex-skill-library/tree/main/modern-python
Command: npx skills add https://github.com/cavit99/codex-skill-library --skill modern-python-cavit99

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Configures Python projects with modern tooling (uv, ruff, ty), enabling fast, consistent project setup, linting, type checking, and migrations from legacy tooling.

Core Features & Use Cases

  • Automates setup of modern Python tooling (uv, pyproject.toml, ruff, ty) for new projects and migrations.
  • Provides migration guidance and templates to migrate from pip/Poetry/mypy/black.
  • Supports scalable project configurations, linting, and type checking across teams.

Quick Start

Create a new Python project with uv and follow prompts to enable modern tooling.

Frequently Asked Questions about modern-python

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

FAQPage Schema
How do I migrate a Python project from Poetry to uv and ruff?

Migrating Python projects from Poetry to uv and ruff involves updating pyproject.toml configurations and following structured migration workflows. This replaces legacy dependency managers and linters with modern tooling like uv and ruff.

What is the best way to configure pyproject.toml for modern Python tooling?

Configuring pyproject.toml for modern Python tooling requires defining settings for uv, ruff, and ty within the file. This centralizes project setup, enabling fast dependency resolution, linting, and type checking across teams.

How do I set up uv for a new Python project?

To set up uv for a new Python project, initialize the environment using uv tooling and configure pyproject.toml. This standardizes project creation and enables consistent linting and type checking workflows.

Can I use ruff and ty to replace mypy and black for Python linting and typing checks?

Yes, you can replace mypy and black with ruff and ty for Python linting and typing checks. The modern toolchain uses ruff for linting and ty for type checking to provide faster, unified configuration through pyproject.toml.

Does modern Python tooling support standalone scripts with uv?

Modern Python tooling supports writing standalone scripts using uv. The toolchain standardizes script configurations alongside project setups, allowing you to leverage ruff and ty for consistent linting and type checking.