pptx

Process and manipulate .pptx files to read, extract, edit, and generate slide decks.

Updated Apr 5, 2026
One-click install
npx skills add https://github.com/rizaldiem/digital-invitation-web_V2 --skill pptx-rizaldiem
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pptx
Source: https://github.com/rizaldiem/digital-invitation-web_V2/tree/main/.windsurf/skills/pptx
Command: npx skills add https://github.com/rizaldiem/digital-invitation-web_V2 --skill pptx-rizaldiem

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

It removes the friction of programmatically working with PowerPoint (.pptx) files by providing tools to read, extract, edit, validate, and generate slide decks without manual PowerPoint editing. This helps teams automate template adaptation, content replacement, visual QA, and reliable repacking for distribution.

Core Features & Use Cases

  • Read & Extract: Extract text, speaker notes, and raw XML from .pptx files for analysis or reuse.
  • Edit & Build: Unpack, modify slide XML, duplicate or create slides from layouts, and re-pack into a valid PPTX.
  • Create from Scratch: Use documented pptxgenjs workflows to generate new presentations programmatically.
  • Visual QA & Conversion: Produce thumbnail grids and convert slides to images/PDF for visual inspection and iterative fixes.
  • Validation & Repair: Validate XML against XSD schemas, repair common OOXML issues, and ensure content-types and relationships are correct.
  • Use Case: Convert a templated investor deck into a tailored pitch deck by mapping content to layout slides, running visual QA, fixing layout issues, and exporting a production-ready PPTX.

Quick Start

Run the thumbnail and text-extraction tools on presentation.pptx to inspect layouts and extract content, edit the unpacked XML or generate slides, then clean and pack the directory to produce the final output.pptx.

Frequently Asked Questions about pptx

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

FAQPage Schema
How do I extract text and speaker notes from a .pptx file programmatically?

To extract text and speaker notes from a .pptx file, you can unpack the presentation package and read the raw XML directly from the slide structures. This allows you to pull content for analysis or reuse without manual PowerPoint editing.

What's the best way to edit slide XML to modify an existing PowerPoint presentation?

Editing slide XML involves unpacking the .pptx package, modifying the extracted XML files to update layouts or content, and then repacking the directory into a valid PPTX. This approach ensures content-types and relationships remain correct for distribution.

Can I generate PowerPoint slides from scratch using pptxgenjs?

Yes, you can generate new PowerPoint presentations from scratch by utilizing documented pptxgenjs workflows. This programmatic generation allows you to build slide decks dynamically, mapping content directly into layout slides without needing an existing template.

How do I perform visual QA on .pptx slides without opening PowerPoint?

To perform visual QA on .pptx slides without opening PowerPoint, you can generate thumbnail grids and convert slides to images or PDF. This visual inspection process helps identify and iteratively fix layout issues before exporting a production-ready file.

Why does my repacked .pptx file have broken relationships or OOXML errors?

Repacked .pptx files often have broken relationships or OOXML errors due to incorrect XML modifications. You can validate XML against XSD schemas using defusedxml and lxml to repair common issues and ensure content-types and relationships are structurally correct.

Do I need Python and Pillow installed to create .pptx presentation thumbnails?

Yes, generating thumbnails and converting slides to images for visual inspection requires Python environments with dependencies like Pillow and lxml installed. These libraries handle the image processing and XML parsing necessary for visual QA.