HTML to PPTX
当用户想把 HTML 幻灯片转成 .pptx 时触发——"HTML 转 PPT"、"网页幻灯片转 pptx"、"把这个 deck 转成 ppt"、"给同事一份 ppt 副本"、"汇报不方便放浏览器"、给了 .html 路径 + 提到 ppt/pptx/演示/幻灯片。保留矢量文字可编辑、字体按需嵌入、复杂装饰自动走截图兜底;不依赖 reveal.js / 自写 deck 等具体框架。
Install
npx skills add Hasasasa/html-to-editable-pptx --skill html-to-pptxgit clone --depth 1 https://github.com/Hasasasa/html-to-editable-pptx.git /tmp/html-to-editable-pptx
mkdir -p ~/.claude/skills
cp -r /tmp/html-to-editable-pptx/. ~/.claude/skills/html-to-pptxPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# html-to-pptx ## 何时触发 用户说出下列任一意图: - "把这个 HTML / 网页 deck 转成 PPT / pptx" - "做了 HTML 幻灯片,要给同事一份 ppt" - "汇报现场不方便放浏览器,想要 ppt 文件" - 已有 HTML 文件路径 + 提到 ppt / pptx / 演示 / 幻灯片 ## 调用 `<skill_dir>` 是这个 skill 安装路径(通常 `~/.claude/skills/html-to-pptx/`,Windows 上是 `%USERPROFILE%\.claude\skills\html-to-pptx\`)。下面命令里的 `<skill_dir>` 替换成实际路径,或者先 `cd <skill_dir>` 再直接 `python convert.py …`。 ```bash python <skill_dir>/convert.py <input.html> ``` - 默认输出到与输入同目录的 `<input>.pptx` - 字体完全按需:HTML 用到的字体在 convert 时从 Google Fonts 拉取并 subset 嵌入,缓存到 `%LOCALAPPDATA%\html-to-pptx\fonts\` 或 `~/.cache/html-to-pptx/fonts/`,下次同名字体秒复用 - HTML 含 CJK 字符会自动种子 Noto Sans SC + Noto Serif SC(首次约 40 MB / ~30s 下载并 instance 静态 Regular/Bold,之后命中 cache) - GF 没有的家族会回退到 viewer 系统字体并打印 warning | 选项 | 含义 | |---|---| | `--out <path>` | 自定义输出 .pptx 路径 | | `--keep-screenshots` | 同时保留每页 HTML 参考截图 + `preflight.json` | | `--no-embed-fonts` | 跳过字体嵌入。文件更小但换机会回退到系统字体 | | `--no-preflight` | 关闭 Stage 1 风险预扫 | | `--no-verify` | 关闭 Stage 5a 结构化自检 | | `--no-visual-audit` | 关闭 Stage 5b 视觉 audit 物料产出。日常不要关 | | `--install-user-fonts` | 把自动解析到的非 CJK 字体装到用户字体目录(让 WPS 能正确渲染)。Win/macOS/Linux 都支持。**必须先问用户**,见下方"配置确认"章节 | | `--only-slides N,N,N` | **增量重跑**。逗号分隔的页号(1-based)。measure 只跑指定页 + 与上轮 cached measurement 合并;assemble/embed 仍全量;Stage 5a 只渲指定页;Stage 5b 只重建指定页的 compare 图——其它页全部复用上轮缓存。audit 迭代轮专用,详见下方"增量重跑"章节 | | `--cleanup` | 不做转换。删 input.pptx 旁的 audit / measurement / preflight 工作物,只保留 .pptx 和 audited.html。**最终交付前用**,见下方"工作流"末步 |
Details
- Skill name
html-to-pptx- Repository
- Hasasasa/html-to-editable-pptx
- License
- MIT
- Repo updated
- 7 July 2026
FAQ
What does the HTML to PPTX skill do?
当用户想把 HTML 幻灯片转成 .pptx 时触发——"HTML 转 PPT"、"网页幻灯片转 pptx"、"把这个 deck 转成 ppt"、"给同事一份 ppt 副本"、"汇报不方便放浏览器"、给了 .html 路径 + 提到 ppt/pptx/演示/幻灯片。保留矢量文字可编辑、字体按需嵌入、复杂装饰自动走截图兜底;不依赖 reveal.js / 自写 deck 等具体框架。
How do I install the HTML to PPTX skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add Hasasasa/html-to-editable-pptx --skill html-to-pptx. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is HTML to PPTX popular?
It lives in Hasasasa/html-to-editable-pptx, which has 94 GitHub stars and 10 forks.
Related skills
Lt2md
99libnyx/LT2MD
Convert born-digital, scanned, or mixed PDFs into auditable Markdown while preserving reading order, equations, source-page anchors, and information-bearing images as adjacent non-original text descriptions. Use this skill whenever a user asks to transcribe, OCR, understand, or convert a PDF into Markdown, especially for scanned PDFs, image-heavy pages, formulas, multi-column layouts, page or section ranges, or token-efficient reuse. LT2MD (Long Transcribe to Markdown) is a workflow contract, not a replacement for a PDF parser or OCR/VLM backend.
Slide Wright
65arifszn/slide-wright
Create beautiful web presentations from a topic, rough notes, or an outline, and edit decks afterward — adding, removing, or revising slides. Generates a custom theme and a short two-slide preview, then builds the full deck only once the user confirms the direction; edits to an existing deck skip that flow and apply in place. Use when the user wants to make slides, a presentation, a talk deck, a pitch deck, or to add/remove/change a slide in one that already exists.
Travel Guidebook
92geekjourneyx/travel-guidebook
Create beautifully designed travel guidebook PDFs from trip itineraries. End-to-end workflow from deep research to Playwright PDF export, featuring zero AI-generated images, Tabler Icons, inline SVG decorations, and Claude's warm parchment aesthetic. Use this skill whenever the user mentions 路书, 旅行指南, travel guidebook, 行程手册, trip planner, 自驾游攻略, itinerary book, 攻略, 出行指南, 旅行计划, 行程规划, or wants to turn trip notes into a printable guide. Also triggers for multi-day travel planning, route guides, road trip planners, 旅行攻略制作, 旅行PDF, or converting travel research into a professionally designed documen
Ruanzhu Kit
92CatCatUncle/ruanzhu-kit
使用自带或用户指定的软著 Word 模板填写软件资料、真实源代码和说明书,在 WPS 或 Word 中保留原排版并导出 PDF。适用于软著模板填充、源码文档和使用手册整理,不自动编写申请正文。
HTML Resume Builder
97KevinYoung-Kw/vibe-resume-skill
Build one-page HTML/PDF resumes from copy-paste YAML using one of 12 official templates. HARD GATES: deliver exactly one A4 page; never invent a layout — copy assets/templates/<id> into output/<id>/ and edit that copy only. Keep a full inventory in raw.data.yaml. For each job, COPY selected entries into resume.data.yaml (polish there), then apply that file to a template. Apply pasted YAML by replacing visible text in the official resume.html, then run QA. Default template is basic-a4. Use when creating, iterating, polishing copy, migrating, exporting, or designing resume/CV HTML/PDF. For polis
Humanpen
88humanpen/humanpen-skill
Humanize document files with HumanPen to lower their AI-detection score. Rewrite a whole .docx/.pptx, or only the passages a Turnitin/iThenticate AI report flagged, while keeping every fact, number, citation, table and formula intact. Also converts citations to one style (APA, MLA, IEEE, GB/T 7714), condenses a document to a word budget, and translates while preserving layout. Use when the user points at a document FILE (.docx/.pptx; translate also takes .pdf/.xlsx/.epub/.html/.txt) or such an AI report and wants any of these; not for text pasted into chat.
Browse the most popular Claude skills, all documents & office files skills, or write your own with the skills generator.