A Claude Code skill that creates professional, branded slide presentations from storyboards or from scratch. Produces HTML/CSS decks with data charts, AI-generated illustrations, and structured layouts -- exported as PDF.
Tell Claude to build a presentation and this skill handles the entire pipeline:
- Research the topic (optional -- deploys parallel agents)
- Create a storyboard in markdown with slide-by-slide content
- Generate a style guide from brand colors (or use an existing one)
- Build data charts with matplotlib (pie, bar, line, dual-axis, stacked)
- Generate illustrations with Recraft V3 (optional -- characters, objects, icons)
- Assemble the deck as a single HTML file with CSS Grid layouts
- Verify each slide visually with Playwright screenshots
- Export to PDF for presenting
The result looks like it was designed by a professional agency -- not a PowerPoint template.
# Clone the repo
git clone https://github.com/sk2977/presentation-builder.git
# Copy to Claude Code skills directory
cp -r presentation-builder ~/.claude/skills/presentation-buildergit clone https://github.com/sk2977/presentation-builder.git
ln -s "$(pwd)/presentation-builder" ~/.claude/skills/presentation-builderAfter installation, Claude Code will automatically detect the skill when you mention presentations, slides, or decks.
Required:
- Claude Code (CLI, desktop app, or IDE extension)
- Python 3.x with matplotlib and Pillow
Optional (but recommended):
- Playwright (
npx playwright install chromium) -- for visual verification and PDF export - Recraft V3 API key -- for AI-generated illustrations ($0.04-0.08/image)
If you want AI-generated illustrations (characters, objects, icons):
- Get an API key at recraft.ai (Profile > API)
- Create a
.envfile in your project directory:
cp .env.example .env
# Edit .env and add your API keyWithout Recraft, the skill uses Claude-generated inline SVG (free, decent quality) or icon libraries.
Just tell Claude what you need:
"Create a 5-slide presentation about renewable energy trends for an investor audience. Use dark green and navy."
"I have a storyboard in storyboard.md and a style guide. Build the slides and export to PDF."
"I'm giving a 30-minute workshop to MBA students about venture capital in climate tech. Research the topic and build the full deck."
The skill will:
- Ask clarifying questions if needed (audience, duration, brand colors)
- Skip steps you've already done (if storyboard exists, it won't recreate it)
- Use Recraft if an API key is available, otherwise fall back to inline SVG
- Generate a PDF for presenting and an HTML file for browser viewing
your-project/
storyboard.md # Slide content and narrative
style_guide.md # Brand colors, typography, component specs
presentation.html # The deck (open in browser to present)
presentation.pdf # PDF export (for sharing/projecting)
graphics/
src/
chart_style.py # Shared matplotlib config
*.py # One script per chart
generate_recraft.py # Recraft API script (if used)
*.png # Chart images
recraft_*.png # AI illustrations (if Recraft used)
The skill adapts to available tools:
| Tier | Illustrations | Charts | Cost |
|---|---|---|---|
| Clean | None (text + charts only) | matplotlib | Free |
| SVG | Claude-generated inline SVG | matplotlib | Free |
| Illustrated | Recraft V3 AI illustrations | matplotlib | ~$0.50 |
Each slide uses CSS Grid for precise layout:
+--------------------------------------------------+
| Header (title + subtitle) | full width |
+-------------------------------------+------------+
| Content | Sidebar |
| (stats, text, charts) | (callout |
| | box) |
+-------------------------------------+------------+
| Audience Question / Key Takeaway | full width |
+--------------------------------------------------+
| Timeline (progressive dots) | full width |
+--------------------------------------------------+
- 1920x1080px slides (16:9 standard)
- CSS Grid layout with content + sidebar columns
- Charts expand to fill available space (no fixed max-height)
- Print CSS scales slides to fit Ledger paper for PDF export
- Stat boxes -- key numbers with branded bottom border
- Data tables -- dark header, alternating rows
- Callout/sidebar boxes -- dark background with accent border
- Audience questions -- full-width bar with brand-color left border
- Quote blocks -- italic, muted, left border accent
- Progress timeline -- circles connected by lines, progressively highlighted
- 2x2 matrices -- colored quadrants with axis labels
- Inline SVG icons -- or Recraft illustrations if available
See the examples/ directory for sample presentations built with this skill.
Contributions welcome. Key areas:
- Additional slide layout patterns (in
references/layout_patterns.md) - Chart type templates (in
scripts/) - Bug fixes and improvements to
SKILL.md
MIT