Professional presentation engine. Generates SVG pages and converts them to native editable PPTX via svgtopptx.
Includes 8 layout templates covering dark, light, consulting, tech, and more.
When to Use
- User asks to create a PPT / presentation / slides
User provides content, outline, or data that needs to become a PPTX
User mentions "make a PPT", "generate slides", "presentation", etc.
Interaction Flow (must follow)
After receiving a PPT request, do not generate immediately. Guide the user step by step:
Step 1: Confirm Topic and Duration
Got it, I'll make this PPT for you.
Topic: "{extracted from user message}" — correct?
How long is the presentation? This determines page count:
- 10 min → 10-12 pages
20 min → 15-18 pages
30 min → 22-25 pages
45 min → 28-35 pages
Duration is required — do not skip this. Page count directly depends on it.
If the user already provided a detailed outline, skip topic confirmation but still ask duration.
Step 2: Pick a Style
Pick a style (just reply with the number):
1. darkwarm (default) — dark warm tone, AI/tech feel
consultant — white + blue, consulting style
cloudorange — deep navy + orange, cloud/tech architecture
aiops — full dark, ops/DevOps style
techblue — blue tech, formal business
smartred — red business
exhibit — light showcase, data-heavy
pixelretro — pixel retro, creative/fun
Step 3: Confirm Outline
Propose a structure based on the topic and style:
Based on your needs, here's a suggested structure ({N} pages):
P1 — Cover: {title}
P2 — Table of Contents
P3 — {Section 1 title}
...
P{N} — Closing: {key takeaway / CTA}
Want to adjust anything, or shall I start generating?
Step 4: Generate
Only start after user confirms. Send a status message:
Starting generation, estimated X minutes.
Then execute the Technical Flow below.
Step 5: Deliver and Iterate
Send the final PPTX with a brief note:
PPT is ready, {N} pages total.
Want changes? Just say:
- "Update the data on page 3"
"Add a page about XX"
"Make the colors darker"
Technical Flow (executed in Step 4)
CODEBLOCK0
Phase 1: Read Design Spec
Load the target style's design spec and reference templates:
CODEBLOCK1
Phase 2: Generate SVG Files
Use the write tool to create SVG files page by page in /tmp/ppt_svgs/{style}/.
SVG Rules:
1. viewBox must be 0 0 1280 720 (16:9)
Strictly follow design_spec.md for colors, fonts, and layout
Do not use: foreignObject, clipPath, mask, <style>, class
File naming: 01_cover.svg, 02_toc.svg, 03_chapter1.svg... in order
All text uses <text> elements with font-family, font-size, INLINECODE11