--- name: baoyu-slide-deck description: 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". --- # Slide Deck Generator Transform content into professional slide deck images with flexible style options. ## Usage ```bash # Auto-select style based on content /baoyu-slide-deck path/to/content.md # Specify a style /baoyu-slide-deck path/to/content.md --style sketch-notes /baoyu-slide-deck path/to/content.md --style minimal # Target specific audience /baoyu-slide-deck path/to/content.md --audience executives # Set output language /baoyu-slide-deck path/to/content.md --lang zh # Limit slide count /baoyu-slide-deck path/to/content.md --slides 10 # Generate outline only (skip image generation) /baoyu-slide-deck path/to/content.md --outline-only # Direct content input /baoyu-slide-deck [paste content] # Combine options /baoyu-slide-deck path/to/content.md --style storytelling --audience experts --slides 15 ``` ## Script Directory **Important**: All scripts are located in the `scripts/` subdirectory of this skill. **Agent Execution Instructions**: 1. Determine this SKILL.md file's directory path as `SKILL_DIR` 2. Script path = `${SKILL_DIR}/scripts/.ts` 3. Replace all `${SKILL_DIR}` in this document with the actual path **Script Reference**: | Script | Purpose | |--------|---------| | `scripts/merge-to-pptx.ts` | Merge slides into PowerPoint | | `scripts/merge-to-pdf.ts` | Merge slides into PDF | ## Options | Option | Description | |--------|-------------| | `--style ` | Visual style (see Style Gallery) | | `--audience ` | Target audience: beginners, intermediate, experts, executives, general | | `--lang ` | Output language for prompts and slides (en, zh, ja, etc.) | | `--slides ` | Target slide count | | `--outline-only` | Generate outline only, skip image generation | ## Style Gallery | Style | Description | Best For | |-------|-------------|----------| | `sketch-notes` | Hand-drawn sketch notes, warm & friendly | Educational, tutorials, knowledge sharing | | `blueprint` | Technical blueprint, precise & analytical | Architecture, system design, data analysis | | `bold-editorial` | Magazine editorial, high-impact & dynamic | Product launches, marketing, keynotes | | `vector-illustration` | Flat vector with black outlines, retro & cute | Creative proposals, children's content, brand showcases | | `minimal` | Ultra-clean, maximum whitespace | Executive briefings, keynotes, premium brands | | `storytelling` | Cinematic, full-bleed visuals | Narratives, case studies, emotional impact | | `warm` | Soft gradients, wellness aesthetic | Lifestyle, wellness, personal development | | `notion` (Default) | SaaS dashboard, clean data focus | Product demos, SaaS, productivity tools | | `corporate` | Navy/gold, professional business | Investor decks, client proposals, quarterly reports | | `playful` | Vibrant colors, dynamic rounded shapes | Workshops, training, creative pitches | Detailed style definitions: `references/styles/