luwill/research-skills32 files

Paper Slide Deck

Use when the user wants visually striking, shareable slide-deck IMAGES from any content — an article, blog post, topic, or paper — where look-and-feel matters more than editable precision (风格化幻灯/小红书配图/公众号配图/视觉化海报), optimized for reading and social sharing rather than live presentation. Offers 17 T2I aesthetic styles (watercolor, sketch-notes, pixel-art, editorial, chalkboard, etc.); each slide is an AI-generated image (Gemini/Nano Banana), so the look is distinctive but text/math/data are baked into the image (not editable). NOT for a faithful academic talk where equations, numbers, tables, and citations must stay exact, editable, and projector-ready (组会/答辩/thesis defense/conference/results-heavy talks) — for that use scholar-slides instead, since text-to-image will garble math and data.

Specification
Skill ID
luwill/research-skills/paper-slide-deck
Publisher
luwill
Repository
research-skills
Installs
0
Files
32
Synced
Sep 23, 2026
How to use it

Open any RiverX project, open the Skills panel in the chat, and search for this identifier. The files are fetched from the source repository at install time.

luwill/research-skills/paper-slide-deckInstalls these files
  • SKILL.md
  • references/analysis-framework.md
  • references/base-prompt.md
  • references/content-rules.md
  • references/figure-container-template.md
  • references/modification-guide.md
  • references/outline-template.md
  • references/styles/academic-paper.md
  • references/styles/blueprint.md
  • references/styles/bold-editorial.md
  • references/styles/chalkboard.md
  • references/styles/corporate.md
  • references/styles/dark-atmospheric.md
  • references/styles/editorial-infographic.md
  • references/styles/fantasy-animation.md
  • references/styles/intuition-machine.md
  • references/styles/minimal.md
  • references/styles/notion.md
  • references/styles/pixel-art.md
  • references/styles/scientific.md
  • references/styles/sketch-notes.md
  • references/styles/vector-illustration.md
  • references/styles/vintage.md
  • references/styles/watercolor.md
  • scripts/apply-template.ts
  • scripts/detect-figures.ts
  • scripts/extract-figure.ts
  • scripts/generate-slides.py
  • scripts/merge-to-pdf.ts
  • scripts/merge-to-pptx.ts
  • scripts/package-lock.json
  • scripts/package.json

What this skill tells the agent

Paper Slide Deck Generator

Transform academic papers and content into professional slide deck images with automatic figure extraction.

Usage

/paper-slide-deck path/to/paper.pdf
/paper-slide-deck path/to/paper.pdf --style academic-paper
/paper-slide-deck path/to/content.md --style sketch-notes
/paper-slide-deck path/to/content.md --audience executives
/paper-slide-deck path/to/content.md --lang zh
/paper-slide-deck path/to/content.md --slides 10
/paper-slide-deck path/to/content.md --outline-only
/paper-slide-deck  # Then paste content

Setup (one-time)

The TypeScript scripts (merge-to-*, detect-figures, extract-figure, apply-template) need Node dependencies. Install them once:

cd ${SKILL_DIR}/scripts && npm install

This installs canvas, pdfjs-dist, pptxgenjs, and pdf-lib (a package-lock.json pins versions). If a script exits with missing Node dependency "<name>", run the command above. The Python generator (generate-slides.py) auto-installs google-genai on first run.

Also install PyMuPDF (pip install pymupdf) — it is the reliable fallback for extracting figures from pages that embed bitmaps (X-rays, CAM heatmaps, photographs), where the pdfjs + canvas path in extract-figure.ts fails with Error: Image or Canvas expected. For medical-imaging papers this is the common case, not the exception, so treat PyMuPDF as required, not optional.

Image generation & no-API-key path

Image generation needs either a GOOGLE_API_KEY/GEMINI_API_KEY (Gemini API) or the Gemini Web skill. If no key and no web option is available, the skill still works in a degraded mode — do not abort:

  1. Run with --outline-only to produce the outline + prompts (no images).
  2. For a source PDF, extract real figures/tables with detect-figures.ts + extract-figure.ts + apply-template.ts (no API key needed — pure rendering).
  3. Merge whatever slides exist (extract-sourced pages) into PPTX/PDF, and hand the prompts/ back to the user to generate images later when a key is available.

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/<script-name>.ts
  3. Replace all ${SKILL_DIR} in this document with the actual path

Script Reference: | Script | Purpose | |--------|---------| | scripts/generate-slides.py | Generate AI slides via Gemini API (Python) | | scripts/merge-to-pptx.ts | Merge slides into PowerPoint | | scripts/merge-to-pdf.ts | Merge slides into PDF | | scripts/detect-figures.ts | Auto-detect figures/tables in PDF (heuristic; verify pages) | | scripts/extract-figure.ts | Render a full PDF page to PNG (optional --crop; PyMuPDF fallback) | | scripts/apply-template.ts | Apply figure container template |

Options

OptionDescription
--style <name>Visual style (see Style Gallery)
--audience <type>Target audience: beginners, intermediate, experts, executives, general
--lang <code>Output language (en, zh, ja, etc.)
--slides <number>Target slide count
--outline-onlyGenerate outline only, skip image generation

Style Gallery

StyleDescriptionBest For
academic-paperClean professional, precise chartsAcademic-style visuals, technical handouts (for a faithful editable talk use scholar-slides)
blueprint (Default)Technical schematics, grid textureArchitecture, system design
chalkboardBlack chalkboard, colorful chalkEducation, tutorials, classroom
notionSaaS dashboard, card-based layoutsProduct demos, SaaS, B2B
bold-editorialMagazine cover, bold typography, darkProduct launches, keynotes
corporateNavy/gold, structured layoutsInvestor decks, proposals
dark-atmosphericCinematic dark mode, glowing accentsEntertainment, gaming
editorial-infographicMagazine explainers, flat illustrationsTech explainers, research
fantasy-animationGhibli/Disney style, hand-drawnEducational, storytelling
intuition-machineTechnical briefing, bilingual labelsTechnical docs, academic
minimalUltra-clean, maximum whitespaceExecutive briefings, premium
pixel-artRetro 8-bit, chunky pixelsGaming, developer talks
scientificAcademic diagrams, precise labelingBiology, chemistry, medical
sketch-notesHand-drawn, warm & friendlyEducational, tutorials
vector-illustrationFlat vector, retro & cuteCreative, children's content
vintageAged-paper, historical stylingHistorical, heritage, biography
watercolorHand-painted textures, natural warmthLifestyle, wellness, travel

Auto Style Selection

Content SignalsSelected Style
paper, thesis, defense, conference, ieee, acm, icml, neurips, cvpr, acl, aaai, iclracademic-paper
tutorial, learn, education, guide, intro, beginnersketch-notes
classroom, teaching, school, chalkboard, blackboardchalkboard
architecture, system, data, analysis, technicalblueprint
creative, children, kids, cute, illustrationvector-illustration
briefing, bilingual, infographic, conceptintuition-machine
executive, minimal, clean, simple, elegantminimal
saas, product, dashboard, metrics, productivitynotion
investor, quarterly, business, corporate, proposalcorporate
launch, marketing, keynote, bold, impact, magazinebold-editorial
entertainment, music, gaming, creative, atmosphericdark-atmospheric
explainer, journalism, science communicationeditorial-infographic
story, fantasy, animation, magical, whimsicalfantasy-animation
gaming, retro, pixel, developer, nostalgiapixel-art
biology, chemistry, medical, pathway, scientificscientific
history, heritage, vintage, expedition, historicalvintage
lifestyle, wellness, travel, artistic, naturalwatercolor
Defaultblueprint
Academic-signal caution: When the content matches academic-paper signals (paper/thesis/neurips/cvpr/icml/…), this skill still bakes text into an image, so equations, result tables, and exact numbers may be garbled. Extract real figures/tables from the source PDF (Source: extract) rather than letting the model redraw them, and if the deck needs faithful, editable formulas/data, tell the user to use scholar-slides instead.

Layout Gallery

Optional layout hints for individual slides. Specify in outline's // LAYOUT section.

Slide-Specific Layouts

LayoutDescriptionBest For
title-heroLarge centered title + subtitleCover slides, section breaks
quote-calloutFeatured quote with attributionTestimonials, key insights
key-statSingle large number as focal pointImpact statistics, metrics
split-screenHalf image, half textFeature highlights, comparisons
icon-gridGrid of icons with labelsFeatures, capabilities, benefits
two-columnsContent in balanced columnsPaired information, dual points
three-columnsContent in three columnsTriple comparisons, categories
image-captionFull-bleed image + text overlayVisual storytelling, emotional
agendaNumbered list with highlightsSession overview, roadmap
bullet-listStructured bullet pointsSimple content, lists

Infographic-Derived Layouts

LayoutDescriptionBest For
linear-progressionSequential flow left-to-rightTimelines, step-by-step
binary-comparisonSide-by-side A vs BBefore/after, pros-cons

Use this skill in a project

Open any RiverX project, search the Skills panel for luwill/research-skills/paper-slide-deck, and install it in one click.

Use this skill