python
Installation
SKILL.md
Python
Use this skill to keep Python workflows reproducible and low-risk across local/dev shells.
Safety Defaults
- Prefer project-local virtual environments (
.venv) over global installs. - Prefer
python3 -m pip ...to avoid interpreter and pip mismatch. - Inspect dependency files before install (
requirements*.txt,pyproject.toml). - Avoid executing unknown setup hooks or random install scripts without user approval.
Standard Workflow
- Detect current environment: