docs(skills): AGENTS.md 平台中立化,国内网络换源抽到技能根目录一份

This commit is contained in:
2026-11-11 19:38:21 +08:00
parent 10bf2f554b
commit d03d8ba95b
7 changed files with 45 additions and 19 deletions
+4 -2
View File
@@ -1,9 +1,11 @@
# document-photo-to-pdf
`ModuleNotFoundError`(`numpy` / `PIL` / `fitz`)
`ModuleNotFoundError`(`numpy` / `PIL` / `fitz`):把依赖装进 `$AGENT_SKILLS_DEPS`
```sh
python3 -m pip install --target "$AGENT_SKILLS_DEPS" -r "$(dirname "$AGENT_SKILLS_DEPS")/document-photo-to-pdf/requirements.txt"
```
`fitz` 是 `pymupdf` 的 import 名。`pypdfium2` 不用装。
`fitz` 是 `pymupdf` 的 import 名,`pypdfium2` 不用装。没有 `python3` 先装运行时(Windows 上解释器常是 `python` / `py`)。
网络慢或装不上(pip / GitHub 等):见技能根目录的 `AGENTS.md`。