slide-making-skill
Generate PowerPoint slides with PptxGenJS
Creating professional PowerPoint presentations requires precise formatting, positioning, and styling. This skill provides a complete PptxGenJS reference so AI coding tools can generate native .pptx files with consistent branding, proper typography, and clean layouts.
Download the skill ZIP
Upload in Claude
Go to Settings → Capabilities → Skills → Upload skill
Toggle on and start using
Test it
Using "slide-making-skill". Create a cover slide with the title "Q4 Results" and subtitle "Financial Overview"
Expected outcome:
A PowerPoint file with a centered title at 48pt bold Arial font, a subtitle at 24pt, and the specified theme background color. No page number badge on the cover slide.
Using "slide-making-skill". Add a bar chart with Q1-Q4 sales data and apply modern styling
Expected outcome:
A slide with a clean bar chart using custom theme colors, white chart area with rounded corners, muted axis labels, subtle value-axis gridlines, data labels at bar ends, and no legend for single-series display.
Security Audit
SafeAll 140 static analysis findings were evaluated and determined to be false positives. The 120 'external_commands' detections are markdown code block backticks (```javascript), not Ruby shell execution. The 3 'network' detections are placeholder example URLs in API documentation (example.com), not actual network requests. The 8 'weak cryptographic algorithm' detections are hex color codes (e.g., 'FF0000'), not cryptographic operations. The 5 'system reconnaissance' detections are PptxGenJS metadata properties (pres.author, pres.title), not system reconnaissance. No prompt injection attempts, data exfiltration, or malicious patterns found. The skill consists solely of markdown documentation with JavaScript API examples for the PptxGenJS library.
Risk Factors
⚙️ External commands (120)
🌐 Network access (3)
Quality Score
What You Can Build
Automated report presentations
Generate branded slide decks from data sources for recurring business reports with consistent formatting and color themes.
Design system slide templates
Create presentation slides that follow strict brand guidelines with predefined color palettes, typography, and layout rules.
Bulk slide generation
Produce large numbers of similar slides from structured data, such as product catalogs or training materials.
Try These Prompts
Create a cover slide for a presentation titled "Annual Report 2025" using a 16:9 layout with the theme colors provided.
Create a content slide with a section title and three bullet points using the PptxGenJS bullet API. Include a page number badge.
Create a bar chart slide showing quarterly sales data. Apply custom colors from the theme, clean white background, subtle gridlines, and data labels on bars.
Generate a complete presentation with a cover slide, agenda slide, data slides with charts and tables, and a closing slide. Apply the theme contract, font rules, color palette rules, and page number badges on all non-cover slides.
Best Practices
- Always create a fresh PptxGenJS instance for each presentation; do not reuse presentation objects across files.
- Use six-character hex color codes without the hash symbol (e.g., 'FF0000', not '#FF0000') to prevent file corruption.
- Apply the 'fit: shrink' option to long titles to prevent text wrapping outside the text box boundaries.
Avoid
- Never use async or await inside the createSlide function; the compile script does not await async operations.
- Never reuse option objects across multiple PptxGenJS calls; the library mutates objects in-place and corrupts subsequent shapes.
- Never use unicode bullet symbols like bullet characters in text; use the PptxGenJS bullet API option instead.
Frequently Asked Questions
What slide dimensions does this skill support?
Can I add animations or transitions to slides?
Why must hex colors not include the hash symbol?
How do I include a page number on each slide?
Which fonts should I use for text?
Can I use gradient fills for shapes and backgrounds?
Developer Details
Author
MiniMax-AILicense
MIT
Repository
https://github.com/MiniMax-AI/skills/tree/main/plugins/pptx-plugin/skills/slide-making-skillRef
main
File structure
📄 SKILL.md