python-modern

Set up a modern Python environment with uv, ruff, and mypy.

2|2|Updated Feb 9, 2017
One-click install
npx skills add https://github.com/sumik5/dotfiles --skill python-modern
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: python-modern
Source: https://github.com/sumik5/dotfiles/tree/main/claude-code/skills/python-modern
Command: npx skills add https://github.com/sumik5/dotfiles --skill python-modern

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a comprehensive guide for setting up and operating a modern Python development environment, integrating cutting-edge tools like uv, ruff, and mypy. It automates dependency management, code linting, formatting, and static type checking, ensuring high code quality, performance, and maintainability from the outset.

Core Features & Use Cases

  • High-Performance Toolchain: Leverages uv for ultra-fast dependency management and ruff for rapid linting and formatting.
  • Strict Type Safety: Enforces type safety with mypy and Pydantic, preventing runtime errors and improving code reliability.
  • Optimized Docker Builds: Guides the creation of efficient multi-stage Docker images using uv, minimizing image size and build times.
  • Use Case: When starting a new FastAPI project, use this Skill to quickly set up the entire development environment, including pyproject.toml, uv.lock, ruff for linting, mypy for type checking, and a production-ready Dockerfile.

Quick Start

Initialize a new Python project using uv init, then configure pyproject.toml for ruff and mypy according to the modern Python development guidelines.