一键导入
virtualenv
Set up and use the project's virtualenv. Run make to bootstrap venv/ from pinned requirements; every other skill's tooling lives here.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Set up and use the project's virtualenv. Run make to bootstrap venv/ from pinned requirements; every other skill's tooling lives here.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | virtualenv |
| description | Set up and use the project's virtualenv. Run make to bootstrap venv/ from pinned requirements; every other skill's tooling lives here. |
All tooling runs from a local venv/ pinned by requirements.txt. Every other skill calls
venv/bin/{{ tool }}, so set this up first.
make
source venv/bin/activate
Activating is optional.
Sub-targets:
make venv — create the venv.make python — install/repin Python deps.make galaxy — install collection deps.make pre-commit — install the pre-commit hook.make clean — remove the venv.Re-run make (or make python) if a venv/bin/{{ tool }} is missing or the wrong version.
venv/ is git-ignored.
pyenv skill (provides the pinned Python)Lint roles and playbooks with ansible-lint from the project virtualenv. Run after every change under roles/.
Run ansible-test sanity on module/plugin changes from the project virtualenv. Run after modifying any file under plugins/.
Format Python plugin code with black from the project virtualenv. Run after every edit to a file under plugins/ so it matches the black version CI enforces.
Manage changelog fragments and CHANGELOG.rst with antsibull-changelog from the project virtualenv. Add a fragment per user-facing change; release consumes fragments to cut a version.
Build the collection tarball with ansible-galaxy from the project virtualenv. Local builds verify only; the tag-driven release workflow builds and publishes.
Run a role's molecule scenario from the project virtualenv. Scenarios hit real Cloudflare and double as the role's example playbook; run from the role directory.