pptx

Creates, edits, and verifies PowerPoint decks using pptxgenjs, python-pptx, and OOXML editing.

1|Updated May 29, 2026
One-click install
npx skills add https://github.com/memasanz/agent-harness --skill pptx-memasanz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pptx
Source: https://github.com/memasanz/agent-harness/tree/main/.github/skills/pptx
Command: npx skills add https://github.com/memasanz/agent-harness --skill pptx-memasanz

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pptxgenjs, python-pptx, markitdown, and includes scripts (resource) and references (resource) components.

What problem does it solve? AI-generated slide decks often look generic and ship with layout bugs like overlapping text, off-canvas charts, and leftover placeholder content. This Skill provides tool selection guidance, design conventions, and a mandatory QA loop so decks come out polished and verified. ## Core Features & Use Cases - Tool Selection Guidance: Choose between pptxgenjs for from-scratch decks, python-pptx for Python pipelines and light edits, and OOXML unpack/edit/repack for structural changes that preserve theme and master. - Design Conventions: Topic-informed color palettes, typography pairings, layout variants, and anti-patterns that distinguish designed decks from generated ones. - Mandatory QA Loop: markitdown text extraction for content checks plus rendered-image visual inspection by a fresh-context sub-agent, with fix-and-verify cycles. - Use Case: A user needs a final-deliverable pitch deck from project data. The Skill generates it with pptxgenjs using a custom palette and varied layouts, renders thumbnails via LibreOffice and Poppler, and runs visual QA before delivery. ## Quick Start Use the pptx skill to create a ten-slide project status deck from my data and run the full visual QA loop before delivering it.

Frequently Asked Questions about pptx

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

FAQPage Schema
How do I create a PowerPoint deck programmatically?

Use pptxgenjs in Node for from-scratch decks with expressive layouts, or python-pptx if generation lives in an existing Python pipeline. Always set explicit positions, sizes, and font faces on text boxes and charts so rendering is consistent.

pptxgenjs vs python-pptx: which should I use?

pptxgenjs offers more expressive layout primitives and is preferred for brand-new decks. python-pptx covers most of the same surface area and is pragmatic for small content edits or when you already have a Python codebase.

How do I edit an existing pptx without losing the theme?

Use python-pptx for light edits like text fixes, image swaps, or chart data replacement, since it preserves theme, master, and fonts. For structural changes like reordering or deleting slides, unpack the .pptx as a ZIP, edit the OOXML directly, and repack from inside the folder.

Why does PowerPoint say it found a problem with my edited pptx?

The repair dialog usually means the repacked ZIP has entries prefixed with the folder name, a slide was added without a [Content_Types].xml override, or a deleted slide left a stale relationship in presentation.xml.rels. Zip from inside the unpacked directory and keep content types and rels consistent.

How do I visually QA a generated slide deck?

Render the deck to per-slide JPEGs using the render-thumbnails scripts, which pipe the .pptx through LibreOffice to PDF and then Poppler's pdftoppm. Hand the images to a fresh-context sub-agent with an inspection prompt that assumes bugs exist, then run at least one fix-and-verify cycle.

When should I not use this pptx workflow?

Do not use it for PDF, Word, Excel, or Google Slides output, which need different tools. It also does not apply to pure content questions where no .pptx file is produced or read, or to architecture diagrams that belong in a dedicated diagram skill.