$npx -y skills add LeonChaoX/qinyan-academic-skills --skill paper-slide-deckGenerate professional slide deck images from academic papers and content. Creates comprehensive outlines with style instructions, auto-detects figures from PDFs, then generates individual slide images. Use when user asks to "create slides", "make a presentation", "generate deck",
| 1 | # Paper Slide Deck Generator |
| 2 | |
| 3 | Transform academic papers and content into professional slide deck images with automatic figure extraction. |
| 4 | |
| 5 | ## Usage |
| 6 | |
| 7 | ```bash |
| 8 | /paper-slide-deck path/to/paper.pdf |
| 9 | /paper-slide-deck path/to/paper.pdf --style academic-paper |
| 10 | /paper-slide-deck path/to/content.md --style sketch-notes |
| 11 | /paper-slide-deck path/to/content.md --audience executives |
| 12 | /paper-slide-deck path/to/content.md --lang zh |
| 13 | /paper-slide-deck path/to/content.md --slides 10 |
| 14 | /paper-slide-deck path/to/content.md --outline-only |
| 15 | /paper-slide-deck # Then paste content |
| 16 | ``` |
| 17 | |
| 18 | ## Script Directory |
| 19 | |
| 20 | **Important**: All scripts are located in the `scripts/` subdirectory of this skill. |
| 21 | |
| 22 | **Agent Execution Instructions**: |
| 23 | 1. Determine this SKILL.md file's directory path as `SKILL_DIR` |
| 24 | 2. Script path = `${SKILL_DIR}/scripts/<script-name>.ts` |
| 25 | 3. Replace all `${SKILL_DIR}` in this document with the actual path |
| 26 | |
| 27 | **Script Reference**: |
| 28 | | Script | Purpose | |
| 29 | |--------|---------| |
| 30 | | `scripts/generate-slides.py` | Generate AI slides via Gemini API (Python) | |
| 31 | | `scripts/merge-to-pptx.ts` | Merge slides into PowerPoint | |
| 32 | | `scripts/merge-to-pdf.ts` | Merge slides into PDF | |
| 33 | | `scripts/detect-figures.ts` | Auto-detect figures/tables in PDF | |
| 34 | | `scripts/extract-figure.ts` | Extract figure from PDF page (uses PyMuPDF fallback) | |
| 35 | | `scripts/apply-template.ts` | Apply figure container template | |
| 36 | |
| 37 | ## Options |
| 38 | |
| 39 | | Option | Description | |
| 40 | |--------|-------------| |
| 41 | | `--style <name>` | Visual style (see Style Gallery) | |
| 42 | | `--audience <type>` | Target audience: beginners, intermediate, experts, executives, general | |
| 43 | | `--lang <code>` | Output language (en, zh, ja, etc.) | |
| 44 | | `--slides <number>` | Target slide count | |
| 45 | | `--outline-only` | Generate outline only, skip image generation | |
| 46 | |
| 47 | ## Style Gallery |
| 48 | |
| 49 | | Style | Description | Best For | |
| 50 | |-------|-------------|----------| |
| 51 | | `academic-paper` | Clean professional, precise charts | Conference talks, thesis defense | |
| 52 | | `blueprint` (Default) | Technical schematics, grid texture | Architecture, system design | |
| 53 | | `chalkboard` | Black chalkboard, colorful chalk | Education, tutorials, classroom | |
| 54 | | `notion` | SaaS dashboard, card-based layouts | Product demos, SaaS, B2B | |
| 55 | | `bold-editorial` | Magazine cover, bold typography, dark | Product launches, keynotes | |
| 56 | | `corporate` | Navy/gold, structured layouts | Investor decks, proposals | |
| 57 | | `dark-atmospheric` | Cinematic dark mode, glowing accents | Entertainment, gaming | |
| 58 | | `editorial-infographic` | Magazine explainers, flat illustrations | Tech explainers, research | |
| 59 | | `fantasy-animation` | Ghibli/Disney style, hand-drawn | Educational, storytelling | |
| 60 | | `intuition-machine` | Technical briefing, bilingual labels | Technical docs, academic | |
| 61 | | `minimal` | Ultra-clean, maximum whitespace | Executive briefings, premium | |
| 62 | | `pixel-art` | Retro 8-bit, chunky pixels | Gaming, developer talks | |
| 63 | | `scientific` | Academic diagrams, precise labeling | Biology, chemistry, medical | |
| 64 | | `sketch-notes` | Hand-drawn, warm & friendly | Educational, tutorials | |
| 65 | | `vector-illustration` | Flat vector, retro & cute | Creative, children's content | |
| 66 | | `vintage` | Aged-paper, historical styling | Historical, heritage, biography | |
| 67 | | `watercolor` | Hand-painted textures, natural warmth | Lifestyle, wellness, travel | |
| 68 | |
| 69 | ## Auto Style Selection |
| 70 | |
| 71 | | Content Signals | Selected Style | |
| 72 | |-----------------|----------------| |
| 73 | | paper, thesis, defense, conference, ieee, acm, icml, neurips, cvpr, acl, aaai, iclr | `academic-paper` | |
| 74 | | tutorial, learn, education, guide, intro, beginner | `sketch-notes` | |
| 75 | | classroom, teaching, school, chalkboard, blackboard | `chalkboard` | |
| 76 | | architecture, system, data, analysis, technical | `blueprint` | |
| 77 | | creative, children, kids, cute, illustration | `vector-illustration` | |
| 78 | | briefing, bilingual, infographic, concept | `intuition-machine` | |
| 79 | | executive, minimal, clean, simple, elegant | `minimal` | |
| 80 | | saas, product, dashboard, metrics, productivity | `notion` | |
| 81 | | investor, quarterly, business, corporate, proposal | `corporate` | |
| 82 | | launch, marketing, keynote, bold, impact, magazine | `bold-editorial` | |
| 83 | | entertainment, music, gaming, creative, atmospheric | `dark-atmospheric` | |
| 84 | | explainer, journalism, science communication | `editorial-infographic` | |
| 85 | | story, fantasy, animation, magical, whimsical | `fantasy-animation` | |
| 86 | | gaming, retro, pixel, developer, nostalgia | `pixel-art` | |
| 87 | | biology, chemistry, medical, pathway, scientific | `scientific` | |
| 88 | | history, heritage, vintage, expedition, historical | `vintage` | |
| 89 | | lifestyle, wellness, travel, artistic, natural | `watercolor` | |
| 90 | | Default | `blueprint` | |
| 91 | |
| 92 | ## Layout Gallery |
| 93 | |
| 94 | Optional |