html-to-pptx

Installation
SKILL.md

html-to-pptx — HTML 演示文稿转 PPTX

将 html-ppt 生成的 HTML 演示文稿一键转换为 .pptx 文件。

Agent 使用指南

当用户说"导出 PPTX"、"转成 PPT"、"HTML 变 PPTX"或类似的话时:

  1. 确认 HTML 文件路径 — 通常在 ~/.claude/skills/html-ppt/examples/<deck-name>/index.html,或用户指定的路径
  2. 运行转换命令:
    bash ~/.claude/skills/html-to-pptx/scripts/html-to-pptx.sh <html文件路径>
    
  3. 报告结果 — 告诉用户 PPTX 文件的路径和大小
  4. 可选参数:
    • --ratio 4:3 — 指定宽高比(支持 16:9、4:3、3:4、1:1)
    • -- --quality 80 — 指定 JPEG 质量(1-100,默认 92)
    • -- --quality png — 强制 PNG 格式(无损但文件较大)
Installs
95
GitHub Stars
8
First Seen
Apr 20, 2026