pptx

Create, edit, and analyze PowerPoint presentations using HTML conversion and OOXML manipulation.

Updated Jul 30, 2026
One-click install
npx skills add https://github.com/johsquaree/claude-basic-docs --skill pptx-johsquaree
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pptx
Source: https://github.com/johsquaree/claude-basic-docs/tree/main/.claude/skills/document-skills/pptx
Command: npx skills add https://github.com/johsquaree/claude-basic-docs --skill pptx-johsquaree

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve? Working with .pptx files programmatically is complex because they are ZIP archives of XML files. This Skill provides structured workflows for creating new presentations from scratch, editing existing slides at the raw XML level, applying template designs, and extracting content for analysis. ## Core Features & Use Cases - Presentation Creation: Convert HTML slides to PowerPoint with accurate positioning using the html2pptx library, then add charts, tables, and images via PptxGenJS. - Template-Based Generation: Duplicate, reorder, and populate template slides using rearrange.py, inventory.py, and replace.py scripts while preserving original formatting. - Raw OOXML Editing: Unpack .pptx files, edit slide XML directly for comments, speaker notes, layouts, and animations, then validate and repack. - Visual Validation: Generate thumbnail grids and convert slides to images to detect text overflow, overlap, and contrast issues. - Use Case: A user needs a quarterly sales deck matching their company template. The Skill extracts the template inventory, maps content to appropriate layouts, replaces placeholder text with formatted content, and validates the output visually. ## Quick Start Create a 5-slide presentation about quarterly sales results using a professional blue color palette with charts for the revenue data.

Frequently Asked Questions about pptx

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

FAQPage Schema
How do I create a PowerPoint presentation from HTML?

Create HTML files with fixed body dimensions (720pt × 405pt for 16:9), wrap all text in p, h1-h6, ul, or ol tags, then use the html2pptx.js library with PptxGenJS to convert each file into a slide and save with pptx.writeFile().

How do I edit an existing pptx file programmatically?

Unpack the .pptx with the unpack.py script to access raw OOXML, edit files like ppt/slides/slide1.xml directly, validate changes with validate.py, then repack using pack.py. This is required for comments, speaker notes, and animations.

Can I use a PowerPoint template to generate new slides?

Yes. Extract the template's text and thumbnails, build a slide inventory, then use rearrange.py to duplicate and reorder template slides and replace.py to swap placeholder text while preserving fonts, colors, bullets, and alignment.

Why do CSS gradients not work when converting HTML to PowerPoint?

PowerPoint does not support CSS gradients from HTML rendering. Rasterize gradients and icons to PNG images first using Sharp, then reference them as background images or img elements in the HTML.

How do I check a generated pptx for text overflow or layout issues?

Run the thumbnail.py script to generate a visual grid of all slides, then inspect for text cutoff, overlap, and contrast problems. The inventory.py script also reports frame overflow and overlapping shapes with measurements.