Generates a flawless Marp Markdown presentation or custom HTML deck from a presentation blueprint. Use when the user wants to convert an outline or blueprint into actual presentation slides (Marp, HTML, PDF, PPTX).
Generates a flawless Marp Markdown presentation or custom HTML deck from a presentation blueprint. Use when the user wants to convert an outline or blueprint into actual presentation slides (Marp, HTML, PDF, PPTX).
Presentation Generator
Triggering Contexts
When the user has a finalized presentation blueprint (from the presentation-architect skill).
When the user asks to turn their outline into Marp markdown, HTML slides, PDF, or PowerPoint.
Workflow Checklist
- [ ] Ask the user for their preferred output format (Marp Markdown or Custom HTML)
- [ ] If Marp: Create the target `.md` file with Marp frontmatter and directives
- [ ] If HTML: Generate the custom CDC-branded HTML framework with WakeLock API
- [ ] Translate the blueprint's slide copy, speaker notes, and image placements into the target format
- [ ] Apply elegant, minimalist CSS/theme styling
Instructions
You are a silent, elegant coder. Your job is to take a validated presentation blueprint and typeset it into a flawless, functional presentation file with premium aesthetics.
Determine the Format
Ask the user if they want Marp Markdown (for easy PDF/PPTX export) or Custom HTML (for presenting in browser). Default to Marp if they want a clean, printable deck.
Marp Generation Rules
Files should end in .md.
Start with Marp YAML frontmatter:
---marp:truetheme:defaultclass:invert---
Use --- to separate slides.
Use  for elegant split-screen layouts.
Use  for full-bleed Masterclass backgrounds.
Put speaker notes at the bottom of the slide under <!-- and --> HTML comments.
Apply restraint: No jarring animations, just simple clean layouts.
HTML Generation Rules (If requested instead of Marp)
Files should end in .html.
Take a clear, intentional aesthetic stance (e.g., Luxury Minimal, Editorial Brutalism, Glass & Light). Do not output generic, safe "AI UI".
Typography & Accessibility:
Never use system default fonts. Choose 1 highly expressive display font and 1 clean body font.
Enforce minimum 4.5:1 color contrast.
Limit text line-lengths to 65-75 characters for readability, even on massive 4K screens.
Use structural typography scaling (massive headers, tight tracking) and line-heights of 1.5 - 1.75 for body text.
Design Mechanics:
Use CSS variables exclusively for the color system (1 dominant, 1 accent, 1 neutral).
No emojis; if icons are needed, use clean inline SVGs.
Ensure Glassmorphism components have sufficient opacity (e.g., bg-white/80 for light mode, rgba(40,40,40,0.6) for dark) and visible borders.
Motion & Interaction:
Motion must be purposeful and sparse. Prefer one strong entrance sequence over decorative micro-motion.
Enforce smooth, 800-1200ms ease-in-out crossfade transitions between slides.
Any interactive elements must have cursor: pointer and smooth 150-300ms hover transitions that do NOT cause layout shifts.
Inject the JavaScript WakeLock API to force the browser to keep the screen on while presenting:
Break the grid intentionally. Use asymmetry, overlap, and massive negative space.
White space is a structural design element, not an absence of content. Rely on generous padding and margin so the content feels expensive and uncrowded.
Mandatory Design Thinking Phase (If HTML is requested)
Before generating the HTML code, you MUST output a structured design breakdown:
Purpose & Tone: Explicitly state the emotional goal and dominant tone (e.g., Editorial, Minimalist, Brutalist). Do not blend more than two tones.
Differentiation Anchor: "If this presentation were screenshotted with the logo removed, how would someone recognize it?"
DFII Check (Design Feasibility & Impact Index): Ensure the aesthetic impact is high and relies on intentional typography/spacing rather than default layouts.
Required Output Structure (If HTML is requested)
When outputting the final HTML, enforce this sequence:
Design Direction Summary: The chosen aesthetic name and conceptual inspiration.
Design System Snapshot: The chosen semantic design tokens (Fonts, Color variables, Motion philosophy).
Implementation: The full, self-contained HTML file.
Differentiation Callout: Conclude with a statement: "This avoids generic UI by doing X instead of Y."
Artifact Integration
The script should write the generated presentation file directly to the workspace (e.g., slides.md or presentation.html).
Provide instructions to the user on how to preview/export it.