Skip to content
baoyu-slide-deck logo

Slide Deck Generator

baoyu-slide-deck

Generate professional slide deck images from content. Creates comprehensive outlines with style instructions, then generates individual slide images. Use when user asks to "create slides", "make a presentation", "generate deck", or "slide deck".

SKILL.md

Full skill instructions

Slide Deck Generator

Transform content into professional slide deck with comprehensive outlines and generated slide images.

Usage

# From markdown file
/​baoyu-slide-deck path/​to/​article.md

# With style preference
/​baoyu-slide-deck path/​to/​article.md --style corporate
/​baoyu-slide-deck path/​to/​article.md --style playful
/​baoyu-slide-deck path/​to/​article.md --style technical

# With audience specification
/​baoyu-slide-deck path/​to/​article.md --audience beginners
/​baoyu-slide-deck path/​to/​article.md --audience executives

# With language
/​baoyu-slide-deck path/​to/​article.md --lang zh
/​baoyu-slide-deck path/​to/​article.md --lang en

# Outline only (no image generation)
/​baoyu-slide-deck path/​to/​article.md --outline-only

# Direct content input
/​baoyu-slide-deck
[paste content]

Options

OptionDescription
--style <name>Visual style preset (see Style Gallery)
--audience <type>Target audience level
--lang <code>Output language (en, zh, etc.)
--slides <number>Target slide count (max 20)
--outline-onlyGenerate outline only, skip image generation

Style Gallery

StyleDescription
editorial (Default)Clean, sophisticated, minimalist
corporateProfessional, trustworthy, polished
technicalPrecise, data-driven, analytical
playfulBold, energetic, engaging
minimalUltra-clean, zen-like, focused
storytellingNarrative-driven, cinematic, immersive
warmCozy, healing, hand-drawn illustration style
retro-flatFlat vector illustration with retro palette
notionMinimalist hand-drawn line art, intellectual

Detailed style definitions: references/​styles/<style>.md

Auto Style Selection

When no --style is specified, analyze content for style signals:

Content SignalsSelected Style
AI, coding, tech, digital, algorithm, datatechnical
Business, strategy, investment, corporatecorporate
Personal story, journey, narrative, emotionstorytelling
Simple, zen, focus, essential, one ideaminimal
Fun, creative, workshop, educationalplayful
Research, analysis, thought leadershipeditorial
Wellness, healing, cozy, self-care, lifestyle, comfortwarm
Tutorial, explainer, how-to, beginner, product, guideretro-flat
Knowledge, concept, productivity, SaaS, notion, intellectualnotion

Audience Presets

AudienceApproach
beginnersStep-by-step, more context, simpler visuals
intermediateBalanced detail, some assumed knowledge
expertsDense information, technical depth, less hand-holding
executivesHigh-level insights, key metrics, strategic focus
generalAccessible language, broad appeal, clear takeaways

File Management

With Article Path

path/​to/
├── article.md
└── slide-deck/
    ├── outline.md
    ├── prompts/
    │   ├── 01-cover.md
    │   ├── 02-content-1.md
    │   └── ...
    ├── 01-cover.png
    ├── 02-content-1.png
    └── ...

Without Article Path

./​baoyu-slide-deck-outputs/​YYYY-MM-DD/[topic-slug]/
├── outline.md
├── prompts/
│   ├── 01-cover.md
│   └── ...
├── 01-cover.png
└── ...

Workflow

Step 1: Analyze Content & Select Style

  1. Read source content
  2. If --style specified, use that style
  3. Otherwise, analyze content for style signals
  4. Extract key information:
    • Core narrative and key messages
    • Important data points and statistics
    • Logical flow and structure
    • Target audience signals

Step 2: Generate Outline

Create outline with STYLE_INSTRUCTIONS block and slide specifications.

Outline Format:

# Slide Deck Outline: [Topic]

**Source**: [source file or "Direct input"]
**Style**: [selected style]
**Audience**: [target audience]
**Language**: [output language]
**Slide Count**: N slides
**Generated**: YYYY-MM-DD HH:mm

---

<STYLE_INSTRUCTIONS>
Design Aesthetic: [Overall style description]
Background Color: [Description and Hex Code]
Primary Font: [Font name for Headlines]
Secondary Font: [Font name for Body copy]
Color Palette:
  Primary Text Color: [Hex Code]
  Primary Accent Color: [Hex Code]
Visual Elements: [Lines, shapes, imagery style, etc.]
</​STYLE_INSTRUCTIONS>

---

## Slide 1: [Descriptive Title]

**Position**: Cover
**Filename**: 01-cover.png

// NARRATIVE GOAL
[Storytelling purpose within the overall arc]

// KEY CONTENT
Headline: [Main message - narrative, not "Title: Subtitle" format]
Sub-headline: [Supporting context]
Body:
- [Key point 1 with specific data from source]
- [Key point 2 with specific data from source]

// VISUAL
[Detailed description of imagery, charts, graphics, or abstract visuals]

// LAYOUT
[Composition, hierarchy, spatial arrangement, focus points]

---

## Slide 2: [First Content]
...

## Slide N: [Back Cover]
...

Required Slide Structure:

  1. Slide 1: Cover Slide (poster-style, heroic typography)
  2. Slides 2-N-1: Content slides (consistent internal style)
  3. Slide N: Back Cover (closing statement, not "Thank You")

Step 3: Save Outline

Save outline as outline.md in target directory.

If --outline-only flag is set, stop here.

Step 4: Create Prompt Files

For each slide, create a style-specific prompt file.

Prompt Format:

Slide theme: [slide title]
Style: [style name]
Position: [cover/​content/​back-cover]

Visual composition:
- Main visual: [style-appropriate description from VISUAL section]
- Layout: [from LAYOUT section]
- Decorative elements: [style-specific decorations]

Color scheme:
- Background: [style background color]
- Primary text: [style text color]
- Accent: [style accent color]

Text content:
- Headline: [headline text]
- Sub-headline: [sub-headline if any]
- Body points: [bullet points if any]

Style notes: [specific style characteristics to emphasize]

Step 5: Generate Images

For each slide, generate using:

/​baoyu-gemini-web --promptfiles [SKILL_ROOT]/​skills/​baoyu-slide-deck/​prompts/​system.md [TARGET_DIR]/​prompts/​01-cover.md --image [TARGET_DIR]/​01-cover.png

Generation flow:

  1. Generate images sequentially
  2. After each image, output progress: "Generated X/​N"
  3. On failure, auto-retry once
  4. If retry fails, log reason, continue to next

Step 6: Completion Report

Slide Deck Generated!

Topic: [topic]
Style: [style name]
Audience: [audience]
Location: [directory path]
Slides: N total

- 01-cover.png ✓ Cover
- 02-content-1.png ✓ Content
- 03-content-2.png ✓ Content
- ...
- 0N-back-cover.png ✓ Back Cover

Outline: outline.md

[If any failures]
Failed:
- 0X-slide-name.png: [failure reason]

Notes

Design Philosophy

  • Deck is designed for reading and sharing, not live presentation
  • Structure should be self-explanatory without a presenter
  • Include enough context for visuals to be understood standalone
  • Err on the side of audience having more expertise than expected

Content Rules

  • Maximum 20 slides per deck
  • Every data point must trace to source material
  • All details in prompts - image generator has no access to source

Style Rules

  • Avoid AI-generated clichés ("It wasn't just X, it was Y")
  • Use narrative headlines, not "Title: Subtitle" format
  • Cover and Back Cover should be visually distinct (poster-style)
  • Back Cover should be meaningful closure, not "Thank You" or "Questions?"

Prohibited

  • Never include photorealistic images of prominent individuals
  • Never include placeholder slides for author name, date, etc.

Image Generation

  • Image generation typically takes 10-30 seconds per slide
  • Auto-retry once on generation failure
  • Use cartoon alternatives for sensitive public figures
  • Output language matches content language
  • Maintain style consistency across all slides

More Productivity & Planning skills

brainstorming logo
Productivity & Planning

brainstorming

Structured design dialogue that validates ideas before implementation begins.

295.4K 385.7K
View
ui-ux-pro-max logo
Productivity & Planning

ui-ux-pro-max

Comprehensive design intelligence for web and mobile UI/UX across 10 technology stacks.

133.1K 383.9K
View
writing-plans logo
Productivity & Planning

writing-plans

Comprehensive implementation plans for multi-step tasks, breaking down specs into bite-sized, testable steps.

295.4K 268K
View
using-superpowers logo
Productivity & Planning

using-superpowers

Introduction to the obra skills system with mandatory skill invocation rules and best practices.

295.4K 259.8K
View
executing-plans logo
Productivity & Planning

executing-plans

Execute a written implementation plan with critical review and task checkpoints.

295.4K 229.1K
View
dispatching-parallel-agents logo
Productivity & Planning

dispatching-parallel-agents

Delegate independent tasks to specialized agents working concurrently with isolated context.

295.4K 206.3K
View
using-git-worktrees logo
Productivity & Planning

using-git-worktrees

Isolated git worktrees with smart directory selection and safety verification.

295.4K 205.2K
View
webapp-testing logo
Productivity & Planning

webapp-testing

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

179.7K 170.6K
View
content-strategy logo
Productivity & Planning

content-strategy

Plan searchable and shareable content that drives traffic, builds authority, and generates leads.

53.3K 150.9K
View
repo-intake-and-plan logo
Productivity & Planning

repo-intake-and-plan

README-first repository scanner that extracts commands and classifies reproduction candidates without executing them.

497 139.6K
View
marketing-ideas logo
Productivity & Planning

marketing-ideas

Brainstorm and prioritize marketing strategies tailored to your SaaS stage, budget, and goals.

53.3K 137.2K
View
site-architecture logo
Productivity & Planning

site-architecture

Plan and optimize your website's page hierarchy, navigation, URL structure, and internal linking.

53.3K 112.8K
View

Productivity AI tools

Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View
SaveDay logo
Productivity

SaveDay

Capture, organize, and utilize your knowledge effortlessly.

Free
View
A
Productivity

Any Summary

Instant Summaries of Audio & Video Interviews with AnySummary

Freemium
View
M
Productivity

Map This

Transform PDFs into engaging mind maps.

Freemium
View
ChatPDF logo
Productivity

ChatPDF

Chat with any PDF instantly

Free
View
I
Productivity

intellisay

Create an optimal daily plan using your voice

Paid
View
A
Productivity

Aurora AI

A productivity platform to centralize organizational knowledge and workflows with contextual AI assistance.

Paid
View
AskYourPDF logo
Productivity

AskYourPDF

AskYourPDF Pricing Plans: Tailored to Your Needs

Free
View