What problem does it solve?
This Skill ensures all Python script executions and type checking operations are performed using the modern, fast uv and ty toolchain, promoting consistency, speed, and dependency isolation.
Core Features & Use Cases
- Python Execution: Replaces direct
python or python3 commands with uv run for script and module execution, leveraging project virtual environments.
- Type Checking: Enforces the use of
ty check for all static type analysis, offering a faster and more integrated experience than pyright or mypy.
- Inline Scripts (PEP 723): Supports running standalone Python scripts with their own specified dependencies using
uv run --script.
- Use Case: When asked to "run a Python script to process data", the skill will automatically use
uv run python process_data.py, ensuring it uses the correct environment and dependencies. When asked to "type check the codebase", it will execute ty check.
Quick Start
Execute the python script 'analyze_logs.py' using uv.