📄

Request My Resume

Thank you for your interest! To receive my resume, please reach out to me through any of the following channels:

← Back to Resources
AI & Dev Pay What You Want 📎 ZIP · 65KB

AI PPTX Generator Skill | Slides Skill Download

A PptxGenJS-based AI Skill toolkit that enables AI to generate editable PPTX files directly, not HTML web presentations. Includes layout helpers, rendering validation tools, and complete workflows.

☕ Pay What You Want

ZIP · 65KB

Overview

This is a Slides Skill toolkit designed for AI Agents, enabling AI to generate real, editable .pptx PowerPoint files instead of HTML web presentations.

Built on PptxGenJS, it includes complete layout helpers, rendering validation scripts, and best-practice workflows.

Core Features

🎯 Native PPTX Output

  • Generate native PowerPoint files that open in Office/WPS/Keynote
  • Preserve full editability of text, charts, and images
  • Support multiple slide sizes (16:9, 4:3, etc.)

🛠️ Complete Toolchain

  • Layout Helpers: pptxgenjs_helpers/ provides auto text box sizing, image cropping, LaTeX formulas, code highlighting
  • Render Validation: render_slides.py converts PPTX to PNG previews
  • Overflow Detection: slides_test.py automatically detects content exceeding slide boundaries
  • Font Detection: detect_font.py reports missing or substituted fonts

📐 Smart Layout

  • Automatic text box sizing (autoFontSize, calcTextBox)
  • Intelligent image cropping and scaling (imageSizingCrop, imageSizingContain)
  • Overlap and out-of-bounds warning system

🎨 Rich Content Support

  • Native PowerPoint charts (bar, line, pie, etc.)
  • LaTeX math formula rendering
  • Syntax-highlighted code blocks
  • SVG vector graphics embedding

Use Cases

  • AI Agent automated presentation generation
  • Rebuild editable PPT from screenshots/PDFs
  • Batch report slide generation
  • Data visualization presentations
  • Technical documentation to PPT conversion

Workflow

  1. Set slide size (default 16:9)
  2. Import pptxgenjs_helpers layout utilities
  3. Write slide content in JavaScript
  4. Run render scripts to generate PPTX
  5. Validate layout (overflow detection, font checks)
  6. Deliver .pptx and source .js

Package Contents

slides/
├── SKILL.md                    # Complete documentation
├── LICENSE.txt                 # License
├── assets/
│   └── pptxgenjs_helpers/      # Layout helper library
├── scripts/
│   ├── render_slides.py        # PPTX to PNG
│   ├── slides_test.py          # Overflow detection
│   ├── create_montage.py       # Generate thumbnail montage
│   ├── detect_font.py          # Font detection
│   └── ensure_raster_image.py  # Image format conversion
├── references/
│   └── pptxgenjs-helpers.md    # API reference
└── agents/
    └── openai.yaml             # Agent config example

Tech Stack

  • PptxGenJS: JavaScript PPTX generation library
  • Python Scripts: Rendering and validation tools
  • LibreOffice: For PPTX to image conversion and font detection

Requirements

  • Node.js environment (to run PptxGenJS)
  • Python 3.x (to run validation scripts)
  • LibreOffice (optional, for rendering and font detection)

Why This Tool?

Unlike HTML web presentations (like reveal.js), this tool generates real PowerPoint files:

✅ Open and edit in Office/WPS/Keynote
✅ Support native charts and animations
✅ Universal file format, easy to share
✅ Preserve full editing capabilities

Perfect for scenarios requiring deliverable editable presentations.

TuneFab streaming music to MP3 converter banner

TuneFab Streaming Music Converter

Download and convert Spotify, Apple Music, YouTube Music, Amazon Music, Deezer, Pandora, SoundCloud, and Audible to MP3, WAV, or FLAC.

  • Supports major streaming music platforms and Audible.
  • Keeps original quality while exporting MP3, WAV, or FLAC.
  • Useful when you want offline listening and a single desktop workflow.
Explore TuneFab

Affiliate links. Opens TuneFab in a new tab.

☕ Like this resource?

Mr. Guo Logo

© 2026 Mr'Guo

Twitter Github WeChat