sunnyboy-y/learngraph/pptx-generation
Claude Code and agent skill by sunnyboy-y/learngraph
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
默认 PPT 入口。从结构化大纲 JSON 生成普通 PPTX、抽取已有幻灯片文本、读取/检查现有 PPTX,或转换为可打印 HTML 预览;没有明确高端设计、逐页 SVG、美化或路演设计需求时优先使用本 Skill。
Install
npx vskill@latest install sunnyboy-y/learngraph/pptx-generationSKILL.md
PPT 生成与检查
When to use
- 用户要生成一份演示文稿(PPTX),已有大纲/要点/结论。
- 需要读取既有
.pptx的幻灯片文本、统计页数、检查结构。 - 需要把 PPTX 内容变成可打印/可预览的 HTML(离线无 LibreOffice,不能直接渲染 PPTX 为 PDF/PNG)。
路由边界:普通生成、朴素模板、读取或检查已有 PPTX 都走本 Skill;只有用户明确要求高端视觉设计、PPT 美化、逐页 1280×720 SVG、路演/答辩设计稿,或点名ppt-agent时,才转ppt-agent。
决策顺序
- 生成:先整理一份结构化大纲 JSON(标题、要点、备注、可选分区),再
build_deck.py生成.pptx。 - 读取:
inspect_deck.py抽取每页文本与形状统计。 - 预览:
deck_to_html.py把幻灯片文本转成可打印 HTML,再交给document-conversion/html_to_pdf(不能直接渲染 PPTX)。 - 不联网、不下载模板字体;版式由脚本内置的简洁模板决定。
脚本索引
| 脚本 | 用途 | |
|---|---|---|
build_deck.py | 从大纲 JSON 生成 PPTX(python-pptx) | |
inspect_deck.py | 抽取 PPTX 幻灯片文本/形状统计 | |
deck_to_html.py | PPTX 文本 → 可打印 HTML 预览 |
组合路线
安全与限制
- 离线运行,不联网、不执行包安装、不下载模板。
- 大纲 JSON 必须是受控结构(见
references/input-output-contract.md);所有标题/要点来自用户提供或模型整理的内容,不得编造幻灯片内容。 - PPTX 无法离线直接渲染为 PDF/PNG(镜像不含 LibreOffice)——要交付视觉版请走
deck_to_html → html_to_pdf。
详细说明
组合配方见 references/best-combinations.md,输入/输出契约见 references/input-output-contract.md,常见失败见 references/troubleshooting.md。每个脚本的完整用法见 scripts/*.md。
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingbackend/app/skills/pptx_generation/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/sunnyboy-y/learngraph/pptx-generation)