python-venv-management
Installation
SKILL.md
Python Virtual Environment Management
Core Principle
ALWAYS use the project's .venv when running Python commands in the terminal. NEVER run Python commands without first activating or using the virtual environment.
Critical Rules
- Check for .venv first - Always verify .venv exists before running Python commands
- Use activation commands - Activate .venv in every terminal session
- Shell-aware - Detect shell type (Bash, Zsh, PowerShell) and use appropriate commands
- No global Python - Never use system Python when .venv exists
- Fail fast - If .venv doesn't exist, create it or fail clearly
- macOS default - Prefer Bash/Zsh patterns on macOS