npx skills add smithery/jmagly --skill venv-manager
xiao0916/lm-skills · Archived
venv-manager
自动管理 Python 虚拟环境。当?
Installation
npx skills add xiao0916/lm-skills --skill venv-manager
Stronger alternatives
This repository is archived — consider an actively maintained alternative.
将 Photoshop(.psd)文件的所有图层导出为独立的 PNG 图片。适用于从 PSD 文件提取图层图片、为网页…
75 installs读取并导出 Photoshop(.psd)图层树为 JSON,?
65 installs从 PSD 设计文件到预览页面 + React 组件 + Vue 组件的完整转换工作流。
14 installs从 PSD 导出的 JSON 图层树和切片图片生成 HTML/CSS 预览。默认保留 PSD 的分组嵌套结构,用 --flatte…
6 installsSimilar popular skills
Related neighbors and high-traction skills in the same topics — useful to compare before installing.
Coordinate projects — track tasks, schedule meetings, and share docs.
28.5K installsManage NuGet packages in .NET projects/solutions. Use this skill when adding, removing, or upda…
14K installsSecret safety for AWS Secrets Manager, secret management, credentials, API keys, tokens, and pa…
1.3K installsTrack different resume versions, maintain master resume, manage tailored versions
7.1K installsGoogle Ads campaign management - campaign setup, keyword research, bid optimization, and perfor…
5.4K installsAlso in this package
Other skills from xiao0916/lm-skills · top by installs.
npx skills add xiao0916/lm-skills
More details
Agent compatibility
Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.
Also listed on
Alternate registries and mirrors of this skill.
Repository health
main
Package contents
Files included with this skill beyond the listing page.
-
skill md
SKILL.md1,769 B -
docs
SUMMARY.md187 B
History
- First seen on skills.sh
- First recorded snapshot · 3 installs
SKILL.md
Python 虚拟环境管理器
用于管理 Python 虚拟环境的指南和工具。
何时使用
- 技能需要安装 Python 依赖时
- 执行需要隔离环境的 Python 脚本时
- 避免全局 Python 环境被污染
- 多个项目需要不同版本的依赖时
快速开始
# 1. 创建虚拟环境
python scripts/create-venv.py <path> [--python <version>]
# 2. 激活虚拟环境
source scripts/activate-venv.sh <path>
# 3. 安装依赖
pip install -r requirements.txt
工作流程
- 检查现有虚拟环境
- 检查 .venv/ 或 venv/ 目录是否存在 - 检查 .venv_path 文件中的路径
- 创建虚拟环境(如需要)
``bash python scripts/create-venv.py <path> ``
- 激活虚拟环境
``bash source scripts/activate-venv.sh <path> # 或使用 Python API python scripts/activate-venv.py --activate <path> ``
- 在虚拟环境中执行命令
- 所有 pip install 应在激活后执行 - 所有 Python 脚本应在激活后运行
- 清理(可选)
``bash python scripts/cleanup-venv.py <path> ``
参考文件
| 文件 | 用途 |
|---|---|
scripts/create-venv.py |
创建新的虚拟环境 |
scripts/activate-venv.py |
激活虚拟环境(Python API) |
scripts/activate-venv.sh |
激活虚拟环境(Shell 脚本) |
scripts/cleanup-venv.py |
清理/删除虚拟环境 |
references/venv-guide.md |
虚拟环境管理最佳实践 |
references/common-issues.md |
常见问题解决方案 |