pptx-skill

Convert HTML slide decks into PowerPoint presentations with PptxGenJS.

1.2k|128|Updated Mar 8, 2026
One-click install
npx skills add https://github.com/vkehfdl1/slides-grab --skill pptx-skill-vkehfdl1
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pptx-skill
Source: https://github.com/vkehfdl1/slides-grab/tree/main/.claude/skills/pptx-skill
Command: npx skills add https://github.com/vkehfdl1/slides-grab --skill pptx-skill-vkehfdl1

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pptxgenjs, playwright, sharp, Pillow, python-pptx, defusedxml, and includes scripts (resource) components.

What problem does it solve?

Converts HTML slide decks into PowerPoint files so teams and creators don't have to rebuild slides manually, preserving layout, images, charts, and placeholder regions for later editing.

Core Features & Use Cases

  • HTML → PPTX conversion: Renders HTML slides in a headless browser, rasterizes dynamic visuals, and maps positioned elements into PptxGenJS slides.
  • Edit & package PPTX: Unpack, validate, modify, and repack OOXML files for programmatic slide edits and template work.
  • Thumbnail & preview generation: Produce grid thumbnails with optional placeholder outlining for quick visual QA.
  • Validation & safeguards: Enforces layout dimensions, detects overflow, rejects unsupported CSS (gradients, inline element margins), and aggregates validation errors for deterministic fixes.
  • Use case: Export a reviewed 20-slide HTML deck with charts and rasterized icons into a production-ready presentation and generate a thumbnail sheet for sharing.

Quick Start

Use the slides-grab convert command after reviewing slides in viewer.html to generate presentation.pptx.

Frequently Asked Questions about pptx-skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert HTML slides to PPTX?

To convert HTML slides to PPTX, render the HTML in a headless browser, rasterize dynamic visuals, and map positioned elements into PptxGenJS slides. This preserves layout, images, and charts for later editing.

Can I edit existing PPTX files programmatically?

Yes, you can edit existing PPTX files by unpacking, validating, modifying, and repacking OOXML files. This allows for programmatic slide edits and template modifications without manual rebuilding.

Do I need Playwright and Sharp to generate PPTX thumbnails?

Yes, generating PPTX thumbnail previews requires Playwright and Sharp to rasterize slides and produce grid thumbnails. Optional placeholder outlining provides quick visual QA for presentations.

What are the limitations when converting HTML to PowerPoint?

Converting HTML to PowerPoint enforces layout dimensions, detects overflow, and rejects unsupported CSS like gradients and inline element margins. It aggregates validation errors to ensure deterministic fixes.

Does this conversion process preserve placeholder regions in the presentation?

Yes, the HTML to PPTX conversion preserves placeholder regions by mapping positioned elements into PptxGenJS slides. This ensures generated PowerPoint files remain fully editable for later template work.

What is the best way to export an HTML deck into a production-ready presentation?

The best way to export an HTML deck is to validate layout dimensions, rasterize dynamic charts and icons, and map elements into PptxGenJS slides. This generates a production-ready PPTX file and thumbnail sheet.