modern-python

Configure Python projects with uv, ruff, and ty via pyproject.toml.

5|Updated Feb 26, 2026
One-click install
npx skills add https://github.com/lidge-jun/cli-jaw-skills --skill modern-python-lidge-jun
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: modern-python
Source: https://github.com/lidge-jun/cli-jaw-skills/tree/main/modern-python/skills/modern-python
Command: npx skills add https://github.com/lidge-jun/cli-jaw-skills --skill modern-python-lidge-jun

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill streamlines the setup and management of Python projects by integrating modern, high-performance tools for dependency management, linting, formatting, and type checking.

Core Features & Use Cases

  • Project Initialization: Quickly set up new Python projects with pyproject.toml using uv init.
  • Dependency Management: Use uv for fast, reliable installation and synchronization of project dependencies.
  • Code Quality: Configure ruff for integrated linting and formatting, and ty for efficient type checking.
  • Migration: Guides users through migrating from legacy tools like pip, Poetry, mypy, and black.
  • Use Case: When starting a new Python project, use this Skill to automatically configure uv, ruff, and ty for optimal development from the outset.

Quick Start

Use the modern-python skill to initialize a new Python project named 'my_new_project'.

Frequently Asked Questions about modern-python

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

FAQPage Schema
How do I set up a new Python project with pyproject.toml using uv?

To set up a new Python project with pyproject.toml, use uv init to quickly generate the project structure and configuration, establishing a modern foundation for dependency management and tooling.

What is the best way to migrate from Poetry and mypy to uv and ruff?

Migrating from Poetry and mypy to uv and ruff involves replacing legacy dependency and type checking configurations by updating pyproject.toml to declare uv for dependencies, ruff for linting, and ty for type checking.

Can I configure ruff for formatting and ty for type checking in an existing Python project?

Yes, you can configure ruff for integrated linting and formatting and ty for type checking in an existing Python project by integrating their settings directly within the pyproject.toml file.

Does uv work with standalone Python scripts or only full project environments?

uv works with both full project environments and standalone scripts, allowing you to manage dependencies and execute Python scripts without needing a complete project setup.

Why use uv and ruff instead of pip and black for Python dependency management and formatting?

Using uv and ruff instead of pip and black provides high-performance dependency installation and integrated linting, replacing multiple legacy tools with a faster, declarative configuration in pyproject.toml.