docs: standardize skill requirements declaration

This commit is contained in:
2026-05-29 17:38:15 +08:00
parent c20d6498da
commit e4418d68e4
6 changed files with 53 additions and 0 deletions

View File

@@ -38,6 +38,12 @@ python {baseDir}/scripts/main.py health
python {baseDir}/scripts/main.py version
```
## 运行依赖
- Python 运行环境由匠厂宿主注入共享 runtime`{JIANGCHANG_DATA_ROOT}/python-runtime/.venv`
- 本技能**特有**的 Python 三方依赖请声明在根目录 `requirements.txt`;宿主安装/更新技能后会自动安装到共享 venv。
- Skill 代码**不要**自行 `pip install`;系统级依赖(如 VC++ Runtime仅在 `health` / preflight 中提示用户安装。
## 重要说明
- 复制后请同步修改 `scripts/util/constants.py` 中的 `SKILL_SLUG` / `SKILL_VERSION`