pptx

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

Updated Apr 16, 2026
One-click install
npx skills add https://github.com/quangtuyennguyen/loan-application-workflow --skill pptx-quangtuyennguyen
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: pptx
Source: https://github.com/quangtuyennguyen/loan-application-workflow/tree/main/.claude/skills/pptx
Command: npx skills add https://github.com/quangtuyennguyen/loan-application-workflow --skill pptx-quangtuyennguyen

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve? Working with .pptx files programmatically is error-prone: templates break, placeholders linger, and slides render with overlapping or overflowing content. This Skill provides a complete workflow for reading, editing, and creating PowerPoint presentations with built-in QA so the output actually looks right. ## Core Features & Use Cases - Read and analyze presentations: Extract text with markitdown, generate thumbnail grids, or unpack raw XML for deep inspection. - Template-based editing: Unpack a .pptx, duplicate or reorder slides, edit slide XML content, clean orphaned files, and repack with schema validation. - Create decks from scratch: Use pptxgenjs to build slides with text, shapes, images, icons, tables, and charts, guided by design rules for palettes, typography, and layout. - Mandatory visual QA: Convert slides to images via LibreOffice and pdftoppm, then inspect for overflow, overlap, contrast, and leftover placeholder text. - Use Case: You receive a branded pitch deck template and need to produce a 12-slide quarterly review. The Skill analyzes the template layouts, maps your content to varied slide types, edits the XML, and runs visual QA until no issues remain. ## Quick Start Use the pptx skill to create a five-slide presentation about our Q3 results using the attached template.

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 .pptx file in Python?▼

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

How do I edit an existing PowerPoint template programmatically?▼

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

What library can create PowerPoint slides from scratch in JavaScript?▼

pptxgenjs creates .pptx files from scratch with support for text, shapes, images, tables, and charts. Use 6-character hex colors without a # prefix and bullet: true instead of unicode bullet characters to avoid file corruption.

Why does my generated pptx file appear corrupt?▼

Common causes include hex colors with a # prefix, opacity encoded in 8-character color strings, negative shadow offsets, and reusing option objects across pptxgenjs calls. The pack.py validator auto-repairs some issues and reports schema violations.

How do I visually check slides for layout problems?▼

Convert the .pptx to PDF with LibreOffice (soffice), then to per-slide JPEGs with pdftoppm at 150 DPI. Inspect the images for overlapping elements, text overflow, low contrast, and leftover placeholder text, then fix and re-render.