What problem does it solve? Setting up a Python project with modern tooling involves many decisions—dependency management, linting, formatting, type checking, testing, and security—and legacy tools like pip, Poetry, mypy, and black create fragmented, slow workflows. This Skill provides opinionated, ready-to-apply guidance for configuring projects with the modern Astral toolchain (uv, ruff, ty) and migrating away from legacy setups. ## Core Features & Use Cases - Project Bootstrapping: Create new projects or packages with uv init, configure pyproject.toml with dependency groups (PEP 735), and set up ruff, ty, and pytest with coverage enforcement. - PEP 723 Scripts: Write self-contained single-file scripts with inline dependency metadata that run directly via uv run without a project setup. - Migration Guides: Step-by-step migration from requirements.txt/pip, setup.py, flake8/black/isort, and mypy/pyright, including cleanup checklists and gradual ty adoption for legacy codebases. - Security Tooling: Pre-configured templates for prek pre-commit hooks (shellcheck, detect-secrets, actionlint, zizmor), pip-audit vulnerability scanning, and Dependabot with supply-chain cooldown protection. - Use Case: You inherit a project using requirements.txt, black, and mypy. Use this Skill to convert it to uv with a lockfile, consolidate linting and formatting under ruff, switch type checking to ty, and add security hooks in one guided pass. ## Quick Start Ask the AI to set up a new Python project using uv, ruff, and ty with testing and security hooks configured.