Setup & Installation
What This Skill Does
Configures Python projects with uv, ruff, and ty — the modern replacements for pip, flake8/black, and mypy. Covers new projects, standalone scripts using PEP 723 inline metadata, and migrations from legacy tooling like Poetry or requirements.txt.
Instead of manually wiring up separate tools with incompatible configs, this skill applies a consistent, tested setup from Trail of Bits that covers dependency management, linting, formatting, and type checking in one pass.
When to use it
- Setting up pyproject.toml with uv and ruff from scratch
- Migrating a project off requirements.txt and flake8 to uv and ruff
- Writing a standalone script with inline PEP 723 dependency metadata
- Replacing mypy with ty in an existing typed codebase
- Converting a Poetry project to uv with dependency groups