slides

Create and edit editable PPTX slide decks with PptxGenJS and validation scripts.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Creating and editing presentation slide decks is error prone, time consuming, and often produces non-editable rasterized outputs that are hard to maintain. This Skill centralizes authoring with JavaScript (PptxGenJS) and provides tooling to preserve editable elements, detect layout issues, and validate rendering before delivery.

Core Features & Use Cases

  • Bundled authoring helpers for text measurement, image sizing, SVG/LaTeX conversion, and layout builders to speed consistent slide creation.
  • A JavaScript-first workflow that produces an editable PPTX plus the authoring .js source so reviewers can iterate and reuse templates.
  • Validation and rendering scripts to rasterize slides to PNG, create montages for review, detect overflow/overlap, and identify missing or substituted fonts for reliable cross-platform rendering.
  • Practical use cases include building new decks from a brief, recreating slides from screenshots or PDFs while matching aspect ratio, and modifying dense decks with automatic overflow and font diagnostics.

Quick Start

Use the slides skill to author or update a PPTX with PptxGenJS, copy the bundled helpers into your workspace, render slides to PNGs, run the overflow and font checks, and deliver the editable .pptx with its JavaScript source.

Frequently Asked Questions about slides

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

FAQPage Schema
How do I generate editable PPTX files from JavaScript source?

You can generate editable PPTX files from JavaScript source using PptxGenJS authoring helpers that produce an editable .pptx file alongside the original .js code. This approach preserves editable elements so reviewers can iterate and reuse templates for future modifications.

Can I recreate PowerPoint slides from a PDF or screenshot while matching the aspect ratio?

You can recreate PowerPoint slides from screenshots or PDFs by matching the original aspect ratio and converting the content into editable PPTX format. The process produces an editable .pptx file with accompanying JavaScript source for ongoing maintenance and future edits.

How do I detect text overflow and missing fonts in PPTX presentations?

You can detect text overflow and missing fonts in PPTX presentations using bundled validation and rendering scripts that rasterize slides to PNG and run font detection checks. These scripts identify overflow, overlap, and substituted fonts to ensure reliable cross-platform rendering.

Does this PptxGenJS workflow support converting SVG and LaTeX into PowerPoint slides?

The PptxGenJS workflow supports converting SVG and LaTeX assets into PowerPoint slides using bundled authoring helpers for image sizing and conversion. It also rasterizes vector or unusual image assets to ensure consistent rendering and layout validation within the editable PPTX output.

What's the best way to validate PPTX layout before delivering a presentation deck?

The best way to validate PPTX layout before delivery is to render slides to PNGs and create montages for review, then run overflow and font checks using the bundled validation scripts. This layout validation process detects overlap and missing fonts to guarantee reliable cross-platform rendering.