PPT Generator Skill
🎯 Core Capabilities
This skill merges "content creation" with "visual design" into one, allowing you to provide a piece of text and automatically generate a high-quality, well-designed PPT.
🎨 Seven Visual Styles (Style Gallery)
A. Creative & Storytelling
Suitable for: educational science, creative marketing, personal branding, light topics
- 🧱 Lego Style
- Visual: Lego minifigures + brick-built scenes, vibrant colors, macro photography feel.
- Applicable: Making abstract concepts concrete, process breakdown, edutainment.
- 🖼️ Vintage Pop Art
- Visual: 1950s American comics, high-contrast halftone dots, large red/blue/yellow blocks, thick lines.
- Applicable: Marketing posters, trend analysis, highlighting pain points and actions.
- 🎞️ Clay Stop-Motion
- Visual: Handmade clay models with fingerprint marks, soft warm lighting, cute and comforting.
- Applicable: Lifestyle, parenting education, light team building.
- ✒️ Minimalist Black & White (Dan Koe / Zen)
- Visual: Etching print texture, pure black background + white fine lines, minimalist whitespace.
- Applicable: Deep cognition, philosophical thinking, high-end consulting, personal IP.
B. Business & Professional
Suitable for: reports, roadshows, academic presentations, tech launches 5. 🎓 Academic Blue * Visual: Pure white background + deep blue titles + red emphasis, rigorous framework diagrams. * Applicable: Medical, scientific research, academic paper presentations. 6. 👔 Corporate Navy * Visual: Deep navy background + gold serif fonts, premium and grand. * Applicable: Fundraising decks, executive briefings, annual summaries. 7. 🔬 Tech Future * Visual: Black background + neon lines, data visualization style. * Applicable: AI product launches, internet tech sharing.
🛠️ Workflow
1. Style Recommendation
The user provides raw text, and the Agent automatically analyzes the tone and recommends a style.
User: "Help me turn this article about AI agents into a PPT." Agent: "This article discusses future workflows without manual intervention, which is quite avant-garde. I recommend the [🔬 Tech Future style] to showcase a futuristic feel, or the [🧱 Lego style] to break down how agents work like building blocks. Which one do you prefer?"
2. Content Generation
After a style is selected, the Agent calls the corresponding Prompt Template (located in templates/) to have the LLM generate structured JSON content (including slide titles, body text, and image prompts).
3. Image Generation
The Agent automatically calls image generation tools (e.g., Imagen/Midjourney) to batch-create illustrations for each slide based on the prompts in the JSON.
4. Assembly
Run generate_styled_ppt.py to automatically assemble the text and generated images into the final .pptx file.
📂 File Structure
.agent/skills/ppt-generator/
├── SKILL.md # Skill documentation
├── generate_styled_ppt.py # General assembly script (JSON -> PPTX)
├── templates/ # High-level prompt templates
│ ├── lego_style_prompt.md
│ ├── vintage_pop_art_prompt.md
│ ├── clay_style_prompt.md
│ └── dan_koe_style_prompt.md
├── styles/ # Style configuration files (colors, fonts)
│ ├── academic_blue_style.json
│ └── yuanli_style.json
└── prompts/ # Archived legacy prompts
💻 Command Line Invocation
# Assemble PPT (after JSON and images are ready)
python3 .agent/skills/ppt-generator/generate_styled_ppt.py \
--input "presentation_content.json" \
--output "final_presentation.pptx"