用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/phira-ai/Phira --skill phira-env-contract命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Deterministic Graphviz/DOT derivation + validation for archive records.
Canonical per-record archive format (YAML front matter + Markdown body).
Pointer semantics for "since last record" and detected-change bookkeeping.
正在显示 SKILL.md
基于 SOC 职业分类
| name | phira-env-contract |
| description | Procedural checklist to infer and state the repo's effective runtime environment and dependency policy. |
Use this skill whenever you are about to implement code that could be sensitive to Python/library versions, GPU/CPU availability, or dependency policy.
Goal: produce an explicit "environment contract" that constrains implementation choices and makes later failures reproducible.
Provide this block near the top of your implementation report:
Environment contract
- Python: <version or "unknown">
- Platform: <os/arch or "unknown">
- Key deps: <package>=<version> (only those that matter)
- Dependency policy: <"no new deps" | "deps allowed" | "unknown">
- Hardware: <"cpu" | "gpu" | "unknown"> (only if relevant)
- Provenance: <how you inferred this>
pyproject.toml, requirements*.txt, poetry.lock, uv.lock, Pipfile.lock, environment.yml, conda*.yml, Dockerfile, docker-compose.yml, Makefile, noxfile.py, tox.ini, .python-version, .tool-versions, setup.cfg, setup.py..github/workflows/**, ci/**.README*, docs/**..python-version / .tool-versions exists: trust it.unknown and constrain implementation to broadly compatible code.torch, jax, transformers, numpy, pydantic, hydra, lightning, accelerate, datasets).deps allowed.no new deps.unknown and stop to ask phira only if it changes the implementation approach..github/workflows/ci.yml", "from pyproject.toml", "ran python --version in this env").phira one targeted question that requests only the missing constraint(s).