Ensures proper Python dependency management, avoiding global `pip install` and adhering to project-specific tooling. Use this skill if any of the following are true: 1. Attempting to run `pip install {package_name}`. 2. Python packages or dependencies need to be added or modified. 3. Initiating a new Python project. 4. Creating a new notebook, even if just using BigQuery cells. 5. Generating Python code that includes `import` statements for third-party libraries. 6. Before executing Python scripts via the terminal to ensure the correct virtual environment is active.
87%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Passed
No findings from the security scan
[!CAUTION] BEFORE any
pip install: You MUST first detect the project's existing dependency manager and use it correctly. Do NOT override the project's established tooling.
Before installing ANY Python package, check the workspace for these files in priority order:
uv.lock or pyproject.toml with [tool.uv]
uv add <package>uv syncpyproject.toml with [tool.poetry]
poetry add <package>poetry installPipfile
pipenv install <package>pipenv installenvironment.yml
conda install <package>conda env create -f environment.ymlrequirements.txt only
.venv/bin/pip install <package>.venv/bin/pip install -r requirements.txt.venv/bin/pip install <package>.venv/bin/pip install -r requirements.txtIf no dependency manager is detected, use venv + pip + requirements.txt as the default:
# Initialize environment
python3 -m venv .venv
# Add dependencies
.venv/bin/pip install <package>
# Preserve state
.venv/bin/pip freeze > requirements.txtRules for venv + pip workflow:
.venv/bin/pip or .venv/bin/python (explicit path)..venv/bin/pip freeze > requirements.txt..venv/bin/pip install -r requirements.txt.pip install globallysaski/arnesto
752f690
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.