pptx

Create, edit, and validate PowerPoint .pptx presentations via XML manipulation and pptxgenjs.

Updated Mar 17, 2026
One-click install
npx skills add https://github.com/AveryRen/WarpTalk-TestPayment --skill pptx-averyren
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pptx
Source: https://github.com/AveryRen/WarpTalk-TestPayment/tree/main/agent/.agents/skills/pptx
Command: npx skills add https://github.com/AveryRen/WarpTalk-TestPayment --skill pptx-averyren

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve? Working with .pptx files programmatically is error-prone: extracting content, editing slides inside templates, and generating decks from scratch all require deep knowledge of OOXML structure, and small mistakes corrupt the file. This Skill provides scripts, workflows, and design guidance to handle any .pptx task reliably. ## Core Features & Use Cases - Read and analyze presentations: Extract text with markitdown, generate thumbnail grids, and unpack raw XML for inspection. - Template-based editing: Unpack, duplicate, reorder, and edit slides in existing decks, then clean orphaned files and repack with schema validation. - Create decks from scratch: Build presentations with pptxgenjs including charts, tables, icons, images, and styled layouts, guided by built-in design palettes and typography rules. - Use Case: You receive a branded template and a content outline. Use this Skill to map content to varied slide layouts, replace placeholders, render slides to images, and run visual QA until the deck is clean. ## Quick Start Use the pptx skill to create a ten-slide pitch deck from my outline and then visually verify every slide for layout issues.

Frequently Asked Questions about pptx

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

FAQPage Schema
How do I extract text from a PowerPoint .pptx file?

Run python -m markitdown presentation.pptx to extract all text content from a .pptx file. For a visual overview, use the thumbnail.py script to generate a labeled grid of slide images.

How do I create a PowerPoint presentation from scratch programmatically?

Use the pptxgenjs library to build slides with text, shapes, images, charts, and tables in JavaScript. The Skill's pptxgenjs.md guide covers layouts, styling options, and common pitfalls like hex color formatting that corrupts files.

How do I edit slides in an existing PowerPoint template?

Unpack the .pptx with unpack.py, duplicate or reorder slides via add_slide.py and the sldIdLst, edit each slide's XML with the Edit tool, then run clean.py and pack.py to produce a validated output file.

Why does my generated pptx file appear corrupt in PowerPoint?

Corruption usually comes from using '#' in hex colors, encoding opacity in 8-character color strings, negative shadow offsets, or broken relationship IDs. The pack.py script validates against XSD schemas and auto-repairs common issues.

Can I convert PowerPoint slides to images for visual inspection?

Yes. Convert the .pptx to PDF with LibreOffice via soffice.py, then run pdftoppm to produce per-slide JPEG images. These images support visual QA checks for overflow, overlap, and contrast problems.

What are the limitations of pptxgenjs for slide generation?

pptxgenjs does not natively support gradient fills, so gradient images must be used as backgrounds. Option objects are mutated in place and must not be reused across calls, and rounded rectangles do not align with rectangular accent overlays.