pptx

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

Updated Jan 21, 2026
One-click install
npx skills add https://github.com/usf-cen4020-s26/in_college_program --skill pptx-usf-cen4020-s26
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pptx
Source: https://github.com/usf-cen4020-s26/in_college_program/tree/main/.claude/skills/pptx
Command: npx skills add https://github.com/usf-cen4020-s26/in_college_program --skill pptx-usf-cen4020-s26

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve? Working with .pptx files programmatically is complex because they are ZIP archives of XML files, making tasks like creating slides from scratch, editing existing decks, or applying templates error-prone and time-consuming. ## Core Features & Use Cases - Presentation Creation: Build new presentations from HTML slides via the html2pptx workflow with accurate positioning, charts, tables, and design palettes. - OOXML Editing: Unpack, edit, validate, and repack raw PowerPoint XML for modifying slides, speaker notes, comments, and layouts. - Template-Based Generation: Duplicate, reorder, and populate template slides using inventory extraction and text replacement scripts. - Use Case: A user needs a quarterly sales deck matching their company template. The Skill extracts the template inventory, maps content to layouts, replaces placeholder text, and validates the output with thumbnail grids. ## Quick Start Create a 5-slide PowerPoint presentation about quarterly sales results with a title slide, charts, and a summary slide.

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), then use the html2pptx.js library with PptxGenJS to convert each file into a slide. Charts and tables are added to placeholder areas via the PptxGenJS API before saving with pptx.writeFile().

How do I edit an existing PowerPoint file programmatically?

Unpack the .pptx with the unpack.py script, edit the slide XML files directly, validate changes with validate.py against the original, then repack with pack.py. This OOXML workflow handles speaker notes, comments, and layouts.

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. Finally, replace placeholder text using inventory.py and replace.py with a JSON mapping.

Why does my PowerPoint file get corrupted when adding charts?

A common cause is using hex colors with a '#' prefix in PptxGenJS, which corrupts the file. Always pass colors without the prefix, such as color: "FF0000", and avoid CSS gradients in HTML since they must be rasterized to PNG first.

What fonts can I use when generating PowerPoint slides from HTML?

Only web-safe fonts are supported: Arial, Helvetica, Times New Roman, Georgia, Courier New, Verdana, Tahoma, Trebuchet MS, Impact, and Comic Sans MS. Custom fonts like Roboto or Segoe UI may cause rendering issues.