slides

Create and validate PowerPoint decks from code with PptxGenJS.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/allenbenj/pages --skill slides-allenbenj
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: slides
Source: https://github.com/allenbenj/pages/tree/main/.agents/skills/slides
Command: npx skills add https://github.com/allenbenj/pages --skill slides-allenbenj

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires Pillow, pdf2image, numpy, python-pptx, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

Manual PowerPoint deck authoring and layout verification is time-consuming and error-prone; this Skill automates the creation and validation of PPTX decks from code, ensuring editable outputs and consistent layouts.

Core Features & Use Cases

  • Deterministic deck authoring with PptxGenJS and bundled helpers to control fonts, layouts, and visuals.
  • Automated rendering and validation pipeline that can generate per-slide PNGs, montages, and overlap/font-substitution checks to ensure fidelity.
  • End-to-end use cases include building new decks, recreating existing decks from references, and validating complex slide arrangements for consistent delivery.

Quick Start

Create a dedicated deck workspace, install the bundled dependencies, and run the provided scripts to render and validate slides.

Frequently Asked Questions about slides

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

FAQPage Schema
How do I automate PowerPoint deck creation and validate slide layouts from code?

You can automate PPTX deck creation by using PptxGenJS with bundled helpers to define layouts, then run Python scripts to render per-slide PNGs and validate layout constraints like overlaps and margins.

Can I check for font substitutions and overlapping elements in a generated PPTX file?

Yes, you can check for font substitutions and overlaps by running the automated validation pipeline, which analyzes rendered slide images to ensure accurate layout fidelity and constraint compliance.

What is the best way to recreate an existing PowerPoint deck from reference images?

The best way to recreate an existing deck is to use the deterministic authoring workflow with PptxGenJS, comparing generated slides against reference material to ensure accurate layout recreation.

Do I need Python and Pillow to render and validate slides created with PptxGenJS?

Yes, you need Python with Pillow, pdf2image, and numpy to render PptxGenJS outputs into PNGs and run validation scripts that check layout constraints and visual fidelity.

Why are my automated PowerPoint slide layouts misaligned during rendering?

Misaligned layouts during rendering often occur when font substitutions happen or margin constraints are violated; running the validation pipeline identifies these overlaps and substitution errors.