pptx

Generate and edit PowerPoint presentations using PptxGenJS with design templates and QA validation.

3|1|Updated Nov 19, 2025
One-click install
npx skills add https://github.com/lukaskellerstein/claude-my-marketplace --skill pptx-lukaskellerstein
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: pptx
Source: https://github.com/lukaskellerstein/claude-my-marketplace/tree/main/plugins/office-plugin/skills/pptx
Command: npx skills add https://github.com/lukaskellerstein/claude-my-marketplace --skill pptx-lukaskellerstein

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pptxgenjs, react, react-dom, react-icons, sharp, markitdown, Pillow, and includes scripts (resource) and references (resource) components.

What problem does it solve? Creating polished PowerPoint decks programmatically is error-prone: corrupted XML, mismatched image aspect ratios, inconsistent layouts, and leftover placeholder text. This Skill provides a complete workflow for generating professional .pptx files with PptxGenJS, plus editing existing branded templates without breaking their design. ## Core Features & Use Cases - Deck Generation from Scratch: Follow a 7-step workflow covering narrative structure, design template selection (7 pre-built systems like Pitch Deck and Corporate Quarterly), layout variety (14 layout implementations), image sourcing, and PptxGenJS code generation. - Template Editing: Unpack existing .pptx files, edit slide XML directly, duplicate or remove slides, clean orphaned media, and repack while preserving branding. - Multi-Stage QA: Generate slide thumbnails for visual inspection, validate against OOXML XSD schemas with auto-repair, and grep for placeholder text before delivery. - Use Case: Ask for a 10-slide pitch deck about your startup. The Skill picks the Pitch Deck template, plans visuals per slide, writes the PptxGenJS script, generates the file, and runs visual plus schema QA until clean. ## Quick Start Create a 5-slide pitch deck about my product with a dark tech design and save it as pitch.pptx.

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 presentation with PptxGenJS?▼

Install pptxgenjs via npm, create a presentation object with a 16x9 layout, add slides with text, shapes, images, and charts, then call writeFile. This Skill provides 14 ready-made layout functions and design templates to ensure consistent, professional output.

How to edit an existing PPTX template without breaking it?▼

Unpack the .pptx into its XML structure, edit text inside <a:t> elements, replace media files keeping the same filenames, then repack. Run schema validation with the --original flag to catch only new errors introduced by your edits.

Why does my generated PPTX file get corrupted?▼

Common causes include using # prefixes on hex colors, encoding opacity in hex strings, reusing option objects across addShape calls (PptxGenJS mutates them), and negative shadow offsets. Use factory functions for options and the opacity property instead.

Can I add charts to PowerPoint slides programmatically?▼

Yes, PptxGenJS supports native BAR, LINE, PIE, DOUGHNUT, SCATTER, BUBBLE, and RADAR charts that remain editable in PowerPoint. Alternatively, generate charts as high-DPI PNGs with D3 or Mermaid and embed them as images.

What tools are needed for PPTX visual QA?▼

Visual QA requires LibreOffice (soffice) to convert slides and poppler-utils (pdftoppm) for thumbnail rendering via the thumbnail.py script. If unavailable, the Skill falls back to structural checks using markitdown text extraction.