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.
📖 Content Preview
⬇️ Above is a preview of the first 3 pages. Download for the full content.
☕ 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.pyconverts PPTX to PNG previews - Overflow Detection:
slides_test.pyautomatically detects content exceeding slide boundaries - Font Detection:
detect_font.pyreports 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
- Set slide size (default 16:9)
- Import
pptxgenjs_helperslayout utilities - Write slide content in JavaScript
- Run render scripts to generate PPTX
- Validate layout (overflow detection, font checks)
- Deliver
.pptxand 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.
☕ Like this resource?