$npx -y skills add freestylefly/canghe-skills --skill canghe-slide-deckGenerates professional slide deck images from content. Creates outlines with style instructions, then generates individual slide images. Use when user asks to "create slides", "make a presentation", "generate deck", "slide deck", or "PPT".
| 1 | # Slide Deck Generator |
| 2 | |
| 3 | Transform content into professional slide deck images. |
| 4 | |
| 5 | ## Usage |
| 6 | |
| 7 | ```bash |
| 8 | /canghe-slide-deck path/to/content.md |
| 9 | /canghe-slide-deck path/to/content.md --style sketch-notes |
| 10 | /canghe-slide-deck path/to/content.md --audience executives |
| 11 | /canghe-slide-deck path/to/content.md --lang zh |
| 12 | /canghe-slide-deck path/to/content.md --slides 10 |
| 13 | /canghe-slide-deck path/to/content.md --outline-only |
| 14 | /canghe-slide-deck # Then paste content |
| 15 | ``` |
| 16 | |
| 17 | ## Script Directory |
| 18 | |
| 19 | **Agent Execution Instructions**: |
| 20 | 1. Determine this SKILL.md file's directory path as `SKILL_DIR` |
| 21 | 2. Script path = `${SKILL_DIR}/scripts/<script-name>.ts` |
| 22 | |
| 23 | | Script | Purpose | |
| 24 | |--------|---------| |
| 25 | | `scripts/merge-to-pptx.ts` | Merge slides into PowerPoint | |
| 26 | | `scripts/merge-to-pdf.ts` | Merge slides into PDF | |
| 27 | |
| 28 | ## Options |
| 29 | |
| 30 | | Option | Description | |
| 31 | |--------|-------------| |
| 32 | | `--style <name>` | Visual style: preset name, `custom`, or custom style name | |
| 33 | | `--audience <type>` | Target: beginners, intermediate, experts, executives, general | |
| 34 | | `--lang <code>` | Output language (en, zh, ja, etc.) | |
| 35 | | `--slides <number>` | Target slide count (8-25 recommended, max 30) | |
| 36 | | `--outline-only` | Generate outline only, skip image generation | |
| 37 | | `--prompts-only` | Generate outline + prompts, skip images | |
| 38 | | `--images-only` | Generate images from existing prompts directory | |
| 39 | | `--regenerate <N>` | Regenerate specific slide(s): `--regenerate 3` or `--regenerate 2,5,8` | |
| 40 | |
| 41 | **Slide Count by Content Length**: |
| 42 | | Content | Slides | |
| 43 | |---------|--------| |
| 44 | | < 1000 words | 5-10 | |
| 45 | | 1000-3000 words | 10-18 | |
| 46 | | 3000-5000 words | 15-25 | |
| 47 | | > 5000 words | 20-30 (consider splitting) | |
| 48 | |
| 49 | ## Style System |
| 50 | |
| 51 | ### Presets |
| 52 | |
| 53 | | Preset | Dimensions | Best For | |
| 54 | |--------|------------|----------| |
| 55 | | `blueprint` (Default) | grid + cool + technical + balanced | Architecture, system design | |
| 56 | | `chalkboard` | organic + warm + handwritten + balanced | Education, tutorials | |
| 57 | | `corporate` | clean + professional + geometric + balanced | Investor decks, proposals | |
| 58 | | `minimal` | clean + neutral + geometric + minimal | Executive briefings | |
| 59 | | `sketch-notes` | organic + warm + handwritten + balanced | Educational, tutorials | |
| 60 | | `watercolor` | organic + warm + humanist + minimal | Lifestyle, wellness | |
| 61 | | `dark-atmospheric` | clean + dark + editorial + balanced | Entertainment, gaming | |
| 62 | | `notion` | clean + neutral + geometric + dense | Product demos, SaaS | |
| 63 | | `bold-editorial` | clean + vibrant + editorial + balanced | Product launches, keynotes | |
| 64 | | `editorial-infographic` | clean + cool + editorial + dense | Tech explainers, research | |
| 65 | | `fantasy-animation` | organic + vibrant + handwritten + minimal | Educational storytelling | |
| 66 | | `intuition-machine` | clean + cool + technical + dense | Technical docs, academic | |
| 67 | | `pixel-art` | pixel + vibrant + technical + balanced | Gaming, developer talks | |
| 68 | | `scientific` | clean + cool + technical + dense | Biology, chemistry, medical | |
| 69 | | `vector-illustration` | clean + vibrant + humanist + balanced | Creative, children's content | |
| 70 | | `vintage` | paper + warm + editorial + balanced | Historical, heritage | |
| 71 | |
| 72 | ### Style Dimensions |
| 73 | |
| 74 | | Dimension | Options | Description | |
| 75 | |-----------|---------|-------------| |
| 76 | | **Texture** | clean, grid, organic, pixel, paper | Visual texture and background treatment | |
| 77 | | **Mood** | professional, warm, cool, vibrant, dark, neutral | Color temperature and palette style | |
| 78 | | **Typography** | geometric, humanist, handwritten, editorial, technical | Headline and body text styling | |
| 79 | | **Density** | minimal, balanced, dense | Information density per slide | |
| 80 | |
| 81 | Full specs: `references/dimensions/*.md` |
| 82 | |
| 83 | ### Auto Style Selection |
| 84 | |
| 85 | | Content Signals | Preset | |
| 86 | |-----------------|--------| |
| 87 | | tutorial, learn, education, guide, beginner | `sketch-notes` | |
| 88 | | classroom, teaching, school, chalkboard | `chalkboard` | |
| 89 | | architecture, system, data, analysis, technical | `blueprint` | |
| 90 | | creative, children, kids, cute | `vector-illustration` | |
| 91 | | briefing, academic, research, bilingual | `intuition-machine` | |
| 92 | | executive, minimal, clean, simple | `minimal` | |
| 93 | | saas, product, dashboard, metrics | `notion` | |
| 94 | | investor, quarterly, business, corporate | `corporate` | |
| 95 | | launch, marketing, keynote, magazine | `bold-editorial` | |
| 96 | | entertainment, music, gaming, atmospheric | `dark-atmospheric` | |
| 97 | | explainer, journalism, science communication | `editorial-infographic` | |
| 98 | | story, fantasy, animation, magical | `fantasy-animation` | |
| 99 | | gaming, retro, pixel, developer | `pixel-art` | |
| 100 | | biology, chemistry, medical, scientific | `scientific` | |
| 101 | | history, heritage, vintage, expedition | `vintage` | |
| 102 | | lifestyle, wellness, travel, artistic | `watercolor` | |
| 103 | | Default | `blueprint` | |
| 104 | |
| 105 | ## Design P |