pptx

Create, edit, and inspect PowerPoint .pptx presentations using OOXML manipulation and PptxGenJS.

Updated Apr 17, 2026
One-click install
npx skills add https://github.com/Syedyasir001/RVULibPass --skill pptx-syedyasir001
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pptx
Source: https://github.com/Syedyasir001/RVULibPass/tree/main/.agent/skills/library/pptx
Command: npx skills add https://github.com/Syedyasir001/RVULibPass --skill pptx-syedyasir001

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve? Working with .pptx files programmatically is error-prone: raw OOXML is verbose, templates break when edited naively, and generated slides often have overflow, contrast, or layout defects. This Skill provides structured workflows for reading, editing, and creating PowerPoint presentations with built-in QA loops. ## Core Features & Use Cases - Read and analyze presentations: Extract text with markitdown, generate thumbnail grids, and unpack raw OOXML for inspection. - Template-based editing: Unpack, duplicate, reorder, and repack slides using scripts like add_slide.py, clean.py, and pack.py while preserving relationships and content types. - Create from scratch: Build decks with PptxGenJS or convert HTML slides to PowerPoint via the html2pptx library with accurate positioning and validation. - Design and QA guidance: Apply curated color palettes, typography pairings, and layout patterns, then run content and visual QA cycles using PDF/image conversion. - Use Case: Given a corporate template deck and a project brief, unpack the template, map content to varied layouts, edit slide XML in parallel, repack, and visually verify every slide before delivery. ## Quick Start Use the pptx skill to create a five-slide pitch deck about our quarterly 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 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 script to generate a labeled grid of slide images, or unpack the file to inspect raw slide XML.

How do I edit an existing PowerPoint template programmatically?

Unpack the .pptx with the unpack script, duplicate or reorder slides via add_slide.py and the sldIdLst in presentation.xml, edit each slide's XML content, then clean orphaned files and repack. Always run visual QA on rendered slide images afterward.

Can I convert HTML slides to PowerPoint?

Yes, the html2pptx library converts HTML slides to PowerPoint with accurate positioning using Playwright rendering. Text must be wrapped in p, h1-h6, ul, or ol tags, and CSS gradients must be rasterized to PNG with Sharp first.

Why does my PptxGenJS file get corrupted?

Common causes include using # prefixes on hex colors, encoding opacity in 8-character hex strings, negative shadow offsets, and reusing option objects across calls since PptxGenJS mutates them in place. Use plain 6-character hex and fresh option objects.

What tools are needed to visually QA generated slides?

Convert the .pptx to PDF with LibreOffice (soffice), then render pages to JPEG images with Poppler's pdftoppm at 150 DPI. Inspect the images for overflow, overlap, contrast, and alignment issues, then fix and re-render affected slides.