pptx

Create, edit, and analyze PowerPoint presentations using XML manipulation and pptxgenjs.

2|1|Updated Apr 26, 2026
One-click install
npx skills add https://github.com/dkyazzentwatwa/skill_starter_pack --skill pptx-dkyazzentwatwa
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pptx
Source: https://github.com/dkyazzentwatwa/skill_starter_pack/tree/main/pptx
Command: npx skills add https://github.com/dkyazzentwatwa/skill_starter_pack --skill pptx-dkyazzentwatwa

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, layouts look generic, and visual defects slip through without inspection. This Skill provides structured workflows for reading, editing, and building presentations with built-in QA loops. ## Core Features & Use Cases - Read and analyze decks: Extract text with markitdown, generate thumbnail grids, and unpack raw OOXML for inspection. - Template-based editing: Unpack, duplicate, reorder, and edit slides via scripts like add_slide.py, clean.py, and pack.py with schema validation. - Create from scratch: Build presentations with pptxgenjs, including charts, tables, icons, and styled layouts guided by design palettes and typography rules. - Use Case: Turn a quarterly report outline into a branded pitch deck by duplicating template slides, replacing placeholder content, then running automated visual QA on rendered slide images. ## Quick Start Use the pptx skill to create a five-slide presentation about our product launch with a dark title slide and a chart of quarterly sales.

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

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 edit an existing PowerPoint template programmatically?

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

What library can create PowerPoint slides from scratch in JavaScript?

pptxgenjs creates presentations from scratch with support for text, shapes, images, tables, and charts. Install it with npm install -g pptxgenjs and define slides using addText, addShape, and addChart calls.

Why does my pptxgenjs file get corrupted?

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

How do I visually check generated slides for layout problems?

Convert the .pptx to PDF with LibreOffice soffice, then render pages to images with pdftoppm. Inspect the images for overlapping elements, text overflow, low contrast, and inconsistent spacing before finalizing.