pptx

Create, edit, and analyze PowerPoint .pptx files using XML manipulation and PptxGenJS.

Updated Jun 30, 2026
One-click install
npx skills add https://github.com/kaitoartz/dotfiles --skill pptx-kaitoartz
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: pptx
Source: https://github.com/kaitoartz/dotfiles/tree/main/dot_agents/skills/pptx
Command: npx skills add https://github.com/kaitoartz/dotfiles --skill pptx-kaitoartz

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires markitdown, pptxgenjs.

What problem does it solve? Working with PowerPoint files programmatically is error-prone: decks are ZIP containers of XML, and naive generation produces broken layouts or text-only slides. This Skill provides structured workflows for reading, editing, and generating .pptx files with visual quality and structural integrity. ## Core Features & Use Cases - Content Extraction: Extract text and structure from any .pptx file using markitdown, or unpack the ZIP container to inspect raw slide XML. - Surgical Editing: Modify existing decks by editing presentation.xml and slide XML directly to reorder slides, update text, or adjust placeholders. - Programmatic Generation: Build new presentations with PptxGenJS following design rules for color palettes, visual hierarchy, and layout variety. - Use Case: A user asks to update a quarterly pitch deck — extract the current content, edit specific slides via XML, and repack the file without breaking the template. ## Quick Start Use the pptx skill to create a five-slide pitch deck about our product launch with a bold color palette and visual elements on every slide.

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?▼

Run python -m markitdown presentation.pptx to extract text and structure from the file. For complex queries, unpack the .pptx as a ZIP container and inspect the raw XML in ppt/slides/ directly.

How to edit an existing PowerPoint presentation programmatically?▼

Unpack the .pptx file, edit ppt/presentation.xml to reorder or delete slides, modify text in ppt/slides/slide{N}.xml, then repack the directory into a valid .pptx. This surgical XML approach preserves the original template.

What library should I use to generate PowerPoint files in Node.js?▼

Use PptxGenJS as the primary generation engine. Avoid 8-character hex color codes and use the opacity property instead, and never reuse option objects across shape or text calls to prevent mutation side-effects.

Why do PptxGenJS colors render incorrectly with 8-character hex codes?▼

PptxGenJS does not handle RRGGBBAA hex codes properly. Use standard 6-character hex colors and set transparency through the dedicated opacity property on the shape or text options.

What are the design limitations of generated slide decks?▼

Generated decks must avoid text-only slides — every slide needs a visual element such as an image, icon, chart, or stylized shape. Layouts should favor multi-column grids and half-bleed images over simple bulleted lists.