What problem does it solve?
This Skill standardizes Python project setup and execution, eliminating virtual environment headaches, ensuring consistent package management, and promoting best practices for code style and testing. It saves you time on environment configuration and ensures project consistency.
Core Features & Use Cases
- Virtual Environment Management: Enforces
uv run python for seamless virtual environment activation, preventing cross-platform issues and manual path references.
- Package Manager Agnostic: Adapts to
uv, pip, poetry, or pipenv, respecting project-specific configurations (pyproject.toml, requirements.txt) without mixing tools.
- Code Style & Testing Integration: Guides on adhering to PEP 8, using type hints, and integrating with existing test frameworks like
pytest for high-quality code.
- Use Case: You've cloned a new Python repository. This skill will guide the AI to automatically detect the package manager, install dependencies using
uv sync, and ensure all subsequent Python commands are run correctly within the virtual environment, saving you setup time and potential dependency conflicts.
Quick Start
Set up the Python project in the current directory.
Install all dependencies using the project's package manager.
Then, run the main script app.py.