sn-ppt-doctor

仓库创建 2026年4月14日最近提交 4 天前SkillHot 收录 20 天前
▸ 精选理由

快速定位缺失 API/依赖,适合首次部署或排错。

▸ 风险提示

需要读取/写入 .env 并访问外部 API,存在凭证泄露风险。

这个 Skill 做什么

为 sn-ppt 套件执行环境与依赖检查并交互生成 .env。

在用 sn-ppt 系列工具前先把运行环境和依赖都检查一遍,确认 Node、API key、sn-image-base 等配置没问题。遇到 missing-env 报错、改过 .env 或第一次安装时会用到。它会通过交互式向导把必须的环境变量写进 .env,省得你手动查来查去,且不会修改 sn-image-* 的其它技能。

▸ 展开 SKILL.md 英文原文

Environment diagnostic for the PPT family. Validates sn-image-base, API keys, Node runtime, and optional deps; interactively writes .env for required vars. Runs before sn-ppt-entry; does not modify sn-image-* skills.

办公文档PPT生成环境检测配置向导通用
4.8k
Stars
331
Forks
40
仓库内 Skill
+141
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/OpenSenseNova/SenseNova-Skills/main/skills/sn-ppt-doctor/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/OpenSenseNova/SenseNova-Skills/main/skills/sn-ppt-doctor/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# sn-ppt-doctor

## When to use

- Before the first time you use `sn-ppt-entry` / `sn-ppt-creative` / `sn-ppt-standard`, to verify env is wired
- After you change `.env`, to confirm
- When `sn-ppt-entry` reports missing-env error and tells you to come here

## Hard checks (must pass before sn-ppt-entry can run)

1. Text chat API key is available via `SN_TEXT_API_KEY`, shared `SN_CHAT_API_KEY`, or global `SN_API_KEY`
2. Vision chat API key is available via `SN_VISION_API_KEY`, shared `SN_CHAT_API_KEY`, or global `SN_API_KEY`
3. Image generation API key is available via `SN_IMAGE_GEN_API_KEY` or global `SN_API_KEY`
4. `sn-image-base` is discoverable and `sn_agent_runner.py --help` works (auto-
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有