pptx

Generate, edit, and validate PPTX decks from HTML templates using Python and node tooling.

Updated Sep 4, 2022
One-click install
npx skills add https://github.com/yt3trees/dotfiles --skill pptx-yt3trees
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pptx
Source: https://github.com/yt3trees/dotfiles/tree/main/.gemini/skills/pptx
Command: npx skills add https://github.com/yt3trees/dotfiles --skill pptx-yt3trees

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python-pptx, Pillow, defusedxml, six.

What problem does it solve?

This Skill automates the heavy lifting of creating, editing, and analyzing PowerPoint presentations (.pptx). It enables teams to generate decks from templates, modify content and layouts, and validate slide structure and relationships without manual, repetitive steps.

Core Features & Use Cases

  • Template-driven slide creation: generate new decks from HTML templates and layout templates.
  • Edit and organize content: modify slide content, reorder slides, and apply layouts programmatically.
  • OOXML-aware validation: unpack, inspect, and validate PowerPoint files against OOXML schemas and relationships.
  • Batch operations & automation: inventory extraction, bulk replacements, thumbnail grids, and slide rearrangement to accelerate deck production.

Quick Start

Prepare a PPTX template and a corresponding JSON replacement file, then run the provided scripts to generate a final deck. Use the inventory tool to extract text, apply replacements, and rearrange slides before exporting the final PPTX.

Frequently Asked Questions about pptx

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

FAQPage Schema
How do I automate PPTX creation from HTML templates?

Automate PPTX creation by using node-based html2pptx to convert HTML templates into slide decks, then apply JSON replacement files to populate content and generate the final presentation programmatically.

What is OOXML validation for PowerPoint files?

OOXML validation unpacks and inspects PowerPoint files against OOXML schemas and relationships to ensure slide structure and content integrity without manual checks.

How do I batch replace text and rearrange slides in a PowerPoint presentation?

Batch replace text and rearrange slides by extracting an inventory of slide content, applying bulk replacements via JSON, and reordering slides programmatically before exporting the final PPTX.

Do I need python-pptx and LibreOffice to edit PPTX files programmatically?

Yes, editing PPTX files programmatically requires Python-based tooling like python-pptx and Pillow for content modification, along with LibreOffice or soffice for format transformations.

What is the best way to validate slide structure across an OOXML package?

The best way to validate slide structure across an OOXML package is to unpack the presentation file, inspect its internal schemas and relationships, and validate it against OOXML standards programmatically.