Skip to main content
在 Manus 中运行任何 Skill
一键导入

star-env-builder

星标11
分支0
更新时间2026年7月19日 14:03

Build and verify the project's Python runtime environment so plan execution has a working interpreter. Reads .env: a valid CONDA_HOME creates conda env ENV_NAME (argument, default CODE_NAME); otherwise a .venv under the project root. An existing environment is never deleted — after user confirmation it is renamed to a dated backup (real run date) before rebuilding. Dependencies resolve first-signal-wins: existing CODE_NAME/requirements* → packaging metadata (pyproject / setup.py / environment.yml) → import scan of the code, with generated results written to a two-tier layout (requirements.txt referencing requirements/framework|runtime|optional.txt; conda-only items in requirements/conda.txt). Installs through a uv > pip > conda ladder with CUDA-aware framework wheel selection behind a single install-plan gate, then smoke-tests in three layers (imports → framework/GPU → project entrypoint) and writes ENV_REPORT.md plus a version freeze under wkdrs/. Use when the user invokes $star-env-builder or asks Codex to

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

文件资源管理器
11 个文件
SKILL.md
readonly