--- 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 /baoyu-slide-deck path/to/content.md /baoyu-slide-deck path/to/content.md --style sketch-notes /baoyu-slide-deck path/to/content.md --audience executives /baoyu-slide-deck path/to/content.md --lang zh /baoyu-slide-deck path/to/content.md --slides 10 /baoyu-slide-deck path/to/content.md --outline-only /baoyu-slide-deck # Then paste content ``` ## 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 (en, zh, ja, etc.) | | `--slides ` | Target slide count (recommended: 8-25, max: 30) | | `--outline-only` | Generate outline only, skip image generation | **Slide Count Guidance**: | Content Length | Recommended Slides | |----------------|-------------------| | Short (< 1000 words) | 5-10 | | Medium (1000-3000 words) | 10-18 | | Long (3000-5000 words) | 15-25 | | Very Long (> 5000 words) | 20-30 (consider splitting) | Maximum 30 slides per deck. For longer content, split into multiple decks. ## Audience Guidelines Design decisions should adapt to target audience. Use `--audience` to set. | Audience | Content Density | Visual Style | Terminology | Slides | |----------|-----------------|--------------|-------------|--------| | `beginners` | Low | Friendly, illustrative | Plain language | 8-15 | | `intermediate` | Medium | Balanced, structured | Some jargon OK | 10-20 | | `experts` | High | Data-rich, precise | Technical terms | 12-25 | | `executives` | Medium-High | Clean, impactful | Business language | 8-12 | | `general` | Medium | Accessible, engaging | Minimal jargon | 10-18 | ### Audience-Specific Principles **Beginners**: - One concept per slide - Visual metaphors over abstract diagrams - Step-by-step progression - Generous whitespace **Experts**: - Multiple data points per slide acceptable - Technical diagrams with precise labels - Assume domain knowledge - Dense but organized information **Executives**: - Lead with insights, not data - "So what?" on every slide - Decision-enabling content - Bottom-line upfront (BLUF) ## Style Gallery ### Style Selection Principles **Content-First Approach**: 1. Analyze content topic, mood, and industry before selecting 2. Consider target audience expectations 3. Match style to subject matter (not personal preference) **Quick Reference by Content Type**: | Content Type | Recommended Styles | |--------------|-------------------| | Technical/Architecture | `blueprint`, `intuition-machine` | | Educational/Tutorials | `sketch-notes`, `chalkboard` | | Corporate/Business | `corporate`, `minimal` | | Creative/Artistic | `vector-illustration`, `watercolor` | | Product/SaaS | `notion`, `bold-editorial` | | Scientific/Research | `scientific`, `editorial-infographic` | **Note**: Full style specifications in `references/styles/