pptx

Convert HTML templates into PowerPoint slides with Python tooling.

Updated Feb 4, 2026
One-click install
npx skills add https://github.com/deichworx/smart-swap --skill pptx-deichworx
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pptx
Source: https://github.com/deichworx/smart-swap/tree/main/skills/pptx
Command: npx skills add https://github.com/deichworx/smart-swap --skill pptx-deichworx

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Generating and updating PowerPoint decks from HTML typically requires manual formatting, repetitive tasks, and error-prone customization. This Skill automates the end-to-end process of creating, editing, and preparing PPTX files from HTML inputs, templates, and programmatic content.

Core Features & Use Cases

  • HTML-to-PPTX conversion: generate slides from HTML markup with accurate positioning and formatting.
  • Inventory, replacement, and review: extract text inventories, apply replacements, and validate output with grid thumbnails and previews.
  • Template-based editing: support for slide templates, layouts, and batch updates to multiple slides.

Quick Start

Place HTML slides in your project and run the html2pptx-based workflow to create a PPTX, then use inventory.py and replace.py to modify content and produce thumbnails for verification.

Frequently Asked Questions about pptx

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

FAQPage Schema
How do I convert HTML to PowerPoint slides programmatically?

You can convert HTML to PowerPoint by using an HTML-to-PPTX workflow that leverages Playwright for accurate HTML rendering and python-pptx to generate the slide layouts and text formatting automatically.

What is the best way to automate text replacement across multiple PPTX slides?

The best way to automate text replacement across PPTX slides involves extracting a text inventory from the deck, applying batch replacements programmatically, and validating the updated slides using generated thumbnail grids for review.

Can I use HTML templates to generate and edit PowerPoint decks?

Yes, you can use HTML templates to generate and edit PowerPoint decks. The process supports template-based editing, layout management, and batch updates to multiple slides directly from your HTML markup inputs.

Does Playwright support rendering HTML content for PPTX conversion?

Yes, Playwright supports HTML rendering for PPTX conversion by accurately capturing the positioning and formatting of your HTML markup, which is then translated into PowerPoint slides using Python tooling like python-pptx and Pillow.

How do I validate PPTX output after automating slide creation?

To validate PPTX output after automating slide creation, generate thumbnail grids and visual previews of the slides, allowing you to review the layout, text rendering, and formatting before finalizing the deck.