AGENT SKILL
python
Python package management.
- License 许可
- MIT
- 所属仓库
- dhaupin/vant
- 最近更新
- 2026-11-13
- Stars
- ★ 16
- Forks
- 1
01 前言 Front Matter
- name
- python
- license
- MIT
- metadata
- { "author": "vant", "version": "1.0" }
- description
- Python package management.
03 SKILL.md 正文
Python
Python package management.
When To Use
- Python projects
- requirements.txt
- pyproject.toml
- .venv present
What To Do
1. Tools
| Tool | Use |
|---|---|
| pip | Default package manager |
| uv | Fast package manager |
| poetry | Project management |
| pipenv | Pip + virtualenv |
2. Pip Commands
pip install requests
pip install -r requirements.txt
pip freeze > requirements.txt
3. UV Commands
uv add requests
uv venv
uv sync
uv run python main.py
4. Poetry Commands
poetry add requests
poetry install
poetry run python main.py
poetry build
5. Virtual Environments
# venv
python -m venv .venv
source .venv/bin/activate
# conda
conda create -n myenv python=3.11
conda activate myenv
Output
## Python
| Package | Version | Tool |
|---------|---------|------|
| [name] | [version] | [pip/uv/poetry] |
### Environment
- [tool]
Role: Python Developer Input: requirements.txt / pyproject.toml Output: Dependencies
Python packages.
04 同仓库更多 Skills
yaml
Data serialization.
★ 16
vite
Frontend build tool.
★ 16
typescript
Typed JavaScript.
★ 16
test-unit
Test individual functions and methods in isolation. Test happy path, edge cases, and error handling. Use when adding new functions, after bug fixes, or before commits.
★ 16
test-snapshot
Capture and compare UI/component snapshots to detect visual changes. Use when testing UI rendering, before visual changes, or for design systems.
★ 16
test-smoke
Quick sanity check to verify basic functionality works. Run fastest tests first. Use when needing quick verification before deeper testing.
★ 16