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.