pptx

Unpack, edit, validate, and repack PPTX presentations with Python scripts.

3|Updated Apr 30, 2024
One-click install
npx skills add https://github.com/LiamMarega/astro-portolio --skill pptx-liammarega
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pptx
Source: https://github.com/LiamMarega/astro-portolio/tree/main/.agents/skills/pptx
Command: npx skills add https://github.com/LiamMarega/astro-portolio --skill pptx-liammarega

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the end-to-end workflow of working with PPTX presentations, enabling efficient unpack/edit/validate/pack cycles to streamline deck production and ensure consistency across slides and templates.

Core Features & Use Cases

  • Unpack PPTX files to access slide XML, media, and references for programmatic editing.
  • Add, duplicate, or rearrange slides from layouts and existing slides to build decks quickly.
  • Validate content types, relationships, and XML against Office OpenXML schemas with optional auto-repair.
  • Repack edited content into a new PPTX file for distribution or deployment.
  • Use Case: a marketing team auto-generates a template-based deck, updates slide content programmatically, and repacks for client delivery.

Quick Start

Unpack a PPTX, edit slides with the included scripts, and repack to a new PPTX.

Frequently Asked Questions about pptx

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

FAQPage Schema
How do I automate PowerPoint slide creation and editing programmatically?

Automate PowerPoint slide creation by unpacking PPTX files into OpenXML, editing slide XML, adding slides from layouts, and repacking the result into a new PPTX deck using Python scripts.

Can I validate PowerPoint OpenXML content types and relationships before repacking?

You can validate PowerPoint OpenXML content types, relationships, and slide XML against Office OpenXML schemas with optional auto-repair to ensure PPTX deck consistency before repacking.

Does this PPTX automation workflow require Python and specific XML libraries?

This PPTX automation workflow requires Python scripts and leverages lxml, defusedxml, and Pillow dependencies to parse, validate, and manipulate OpenXML slide content.

What is the best way to generate template-based PowerPoint decks in bulk?

Generate template-based PowerPoint decks in bulk by unpacking a PPTX template, programmatically updating slide content and layouts, and repacking the edited files into new PPTX decks.

Why does my repacked PPTX file have broken slide references or invalid XML?

Repacked PPTX files may have broken references or invalid XML if OpenXML schema validation is skipped; running validators with auto-repair before repacking ensures structural consistency.