pptx-skill — community pptx-skill, slides-grab, community, ide skills, Claude Code, Cursor, Windsurf

v1.0.0

关于此技能

适用于需要高级 PowerPoint 转换能力的演示文稿代理,特别是从 HTML幻灯片转换。 Convert HTML slides to experimental / unstable PowerPoint (PPTX) files. Use when best-effort PPTX generation, editing, or thumbnail creation is needed.

vkehfdl1 vkehfdl1
[125]
[23]
更新于: 3/12/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 7/11

This page remains useful for operators, but Killer-Skills treats it as reference material instead of a primary organic landing page.

Original recommendation layer Concrete use-case guidance Explicit limitations and caution
Review Score
7/11
Quality Score
46
Canonical Locale
en
Detected Body Locale
en

适用于需要高级 PowerPoint 转换能力的演示文稿代理,特别是从 HTML幻灯片转换。 Convert HTML slides to experimental / unstable PowerPoint (PPTX) files. Use when best-effort PPTX generation, editing, or thumbnail creation is needed.

核心价值

赋予代理将 HTML幻灯片转换为实验性的 PowerPoint 演示文稿文件的能力,生成缩略图预览并使用 HTML 和 PowerPoint 格式修改现有的 PPTX 内容。

适用 Agent 类型

适用于需要高级 PowerPoint 转换能力的演示文稿代理,特别是从 HTML幻灯片转换。

赋予的主要能力 · pptx-skill

将 HTML幻灯片文件转换为实验性的 PowerPoint 输出
修改现有的 PPTX 文件内容
生成演示文稿的预览图像

! 使用限制与门槛

  • 实验性/不稳定的 PowerPoint 转换
  • 尽力而为的转换基础
  • 第 3 阶段技能,可能需要进一步开发

Why this page is reference-only

  • - Current locale does not satisfy the locale-governance contract.
  • - The underlying skill quality score is below the review floor.

Source Boundary

The section below is supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.

实验室 Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

常见问题与安装步骤

以下问题与步骤与页面结构化数据保持一致,便于搜索引擎理解页面内容。

? FAQ

pptx-skill 是什么?

适用于需要高级 PowerPoint 转换能力的演示文稿代理,特别是从 HTML幻灯片转换。 Convert HTML slides to experimental / unstable PowerPoint (PPTX) files. Use when best-effort PPTX generation, editing, or thumbnail creation is needed.

如何安装 pptx-skill?

运行命令:npx killer-skills add vkehfdl1/slides-grab/pptx-skill。支持 Cursor、Windsurf、VS Code、Claude Code 等 19+ IDE/Agent。

pptx-skill 适用于哪些场景?

典型场景包括:将 HTML幻灯片文件转换为实验性的 PowerPoint 输出、修改现有的 PPTX 文件内容、生成演示文稿的预览图像。

pptx-skill 支持哪些 IDE 或 Agent?

该技能兼容 Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer。可使用 Killer-Skills CLI 一条命令通用安装。

pptx-skill 有哪些限制?

实验性/不稳定的 PowerPoint 转换;尽力而为的转换基础;第 3 阶段技能,可能需要进一步开发。

安装步骤

  1. 1. 打开终端

    在你的项目目录中打开终端或命令行。

  2. 2. 执行安装命令

    运行:npx killer-skills add vkehfdl1/slides-grab/pptx-skill。CLI 会自动识别 IDE 或 AI Agent 并完成配置。

  3. 3. 开始使用技能

    pptx-skill 已启用,可立即在当前项目中调用。

! 参考页模式

此页面仍可作为安装与查阅参考,但 Killer-Skills 不再把它视为主要可索引落地页。请优先阅读上方评审结论,再决定是否继续查看上游仓库说明。

Imported Repository Instructions

The section below is supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.

Supporting Evidence

pptx-skill

安装 pptx-skill,这是一款面向AI agent workflows and automation的 AI Agent Skill。支持 Claude Code、Cursor、Windsurf,一键安装。

SKILL.md
Readonly
Imported Repository Instructions
The section below is supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.
Supporting Evidence

PPTX Skill - Experimental / Unstable PowerPoint Conversion

Converts HTML slides into experimental / unstable PowerPoint presentation files on a best-effort basis.

Feature Overview

1. New Presentation (HTML -> PPTX)

Convert HTML slide files to experimental / unstable PowerPoint output

2. Edit Existing Presentation

Modify contents of a PPTX file

3. Thumbnail Generation

Generate preview images of a presentation

Prerequisites (Stage 3)

This skill is Stage 3. It executes only when ALL of the following conditions are met:

  1. Explicit user request required: Only run when the user explicitly requests PPTX conversion ("convert to PPTX", "make a PowerPoint", etc.).
  2. HTML slides reviewed: All HTML slides must have been reviewed and approved by the user in viewer.html.
  3. No automatic execution: Do not automatically start PPTX conversion just because slide generation is complete.

If prerequisites are not met, guide the user to review slides in <slides-dir>/viewer.html first (default: slides/viewer.html).


Core Workflow

HTML -> PPTX Conversion

  1. Prepare HTML slides

    • Verify HTML files exist in selected --slides-dir (default: slides/)
    • Validate each file is 720pt x 405pt (16:9) specification
  2. Run html2pptx.js (experimental / unstable)

    bash
    1slides-grab convert --slides-dir <path> --output presentation.pptx
    • Script-level alternative:
    bash
    1node .claude/skills/pptx-skill/scripts/html2pptx.js
  3. Verify results

    • Check generated PPTX file carefully; expect best-effort fidelity only
    • Visual verification via thumbnail

Script Usage

html2pptx.js

Convert HTML files to PPTX

javascript
1import { html2pptx } from './.claude/skills/pptx-skill/scripts/html2pptx.js'; 2import PptxGenJS from 'pptxgenjs'; 3 4const pres = new PptxGenJS(); 5pres.layout = 'LAYOUT_WIDE'; // 16:9 6 7// Convert each slide 8await html2pptx('<slides-dir>/slide-01.html', pres); 9await html2pptx('<slides-dir>/slide-02.html', pres); 10 11// Save 12await pres.writeFile({ fileName: 'presentation.pptx' });

thumbnail.py

Generate presentation thumbnail grid

bash
1python .claude/skills/pptx-skill/scripts/thumbnail.py presentation.pptx output-thumbnail

Options:

  • --cols N: Number of columns (default 5, range 3-6)
  • --outline-placeholders: Show placeholder regions

pack.py / unpack.py

PPTX file packaging/unpackaging

bash
1# Unpack 2python .claude/skills/pptx-skill/ooxml/scripts/unpack.py presentation.pptx output_dir 3 4# Pack 5python .claude/skills/pptx-skill/ooxml/scripts/pack.py input_dir presentation.pptx

validate.py

PPTX structure validation

bash
1python .claude/skills/pptx-skill/ooxml/scripts/validate.py unpacked_dir --original presentation.pptx

Reference Documents

  • html2pptx.md - HTML to PPTX conversion detailed guide
  • ooxml.md - Office Open XML technical reference

PptxGenJS Key Rules

Color Codes

javascript
1// Correct - without # 2{ color: 'FF0000' } 3 4// Wrong - causes file corruption 5{ color: '#FF0000' }

Adding Slides

javascript
1const slide = pres.addSlide(); 2 3// Add text 4slide.addText('Title', { 5 x: 0.5, 6 y: 0.5, 7 w: 9, 8 h: 1, 9 fontSize: 36, 10 color: '1a1a2e', 11 bold: true 12}); 13 14// Add image 15slide.addImage({ 16 path: 'image.png', 17 x: 1, 18 y: 2, 19 w: 4, 20 h: 3 21}); 22 23// Add shape 24slide.addShape(pres.ShapeType.rect, { 25 x: 0.5, 26 y: 1, 27 w: 3, 28 h: 2, 29 fill: { color: '1e3a5f' } 30});

Adding Charts

javascript
1// Bar chart 2slide.addChart(pres.ChartType.bar, [ 3 { 4 name: 'Series 1', 5 labels: ['A', 'B', 'C'], 6 values: [10, 20, 30] 7 } 8], { 9 x: 1, 10 y: 2, 11 w: 8, 12 h: 4 13}); 14 15// Pie chart 16slide.addChart(pres.ChartType.pie, [...], {...}); 17 18// Line chart 19slide.addChart(pres.ChartType.line, [...], {...});

Full Conversion Process

+-------------------+
|   HTML Slides     |
| <slides-dir>/*.html |
+---------+---------+
          |
          v
+-------------------+
|  html2pptx.js     |
|  (Playwright +    |
|   PptxGenJS)      |
+---------+---------+
          |
          v
+-------------------+
|   PPTX File       |
| presentation.pptx |
+---------+---------+
          |
          v
+-------------------+
|  thumbnail.py     |
|  (Preview)        |
+-------------------+

Dependencies

Node.js

  • pptxgenjs: PowerPoint generation
  • playwright: Browser rendering
  • sharp: Image processing

Python

  • markitdown: Markdown conversion
  • defusedxml: XML parsing
  • pillow: Image processing

System

  • LibreOffice: PDF/image conversion (soffice)
  • Poppler: PDF to image (pdftoppm)

Important Notes

  • PPTX export is experimental / unstable and may require manual cleanup after generation.
  1. Color codes: No # prefix in PptxGenJS
  2. Fonts: Web-safe fonts only
  3. Text: Only p, h1-h6, ul, ol tags are converted
  4. Gradients: Replace CSS gradients with images
  5. Validation: Always verify with thumbnails after conversion

相关技能

寻找 pptx-skill 的替代方案 (Alternative) 或可搭配使用的同类 community Skill?探索以下相关开源技能。

查看全部

openclaw-release-maintainer

Logo of openclaw
openclaw

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

333.8k
0
AI

widget-generator

Logo of f
f

为prompts.chat的信息反馈系统生成可定制的插件小部件

149.6k
0
AI

flags

Logo of vercel
vercel

React 框架

138.4k
0
浏览器

pr-review

Logo of pytorch
pytorch

Python中具有强大GPU加速的张量和动态神经网络

98.6k
0
开发者工具