paper-deck

paper-deck

Popular

Convert papers, technical articles, or educational content into photorealistic AIGC slides. First designs the narrative structure and page-by-page visual direction, calls an image generation model to produce 16:9 slide images for each page, and finally compiles them into PPTX/PDF. Ideal for paper presentations, lab meetings, public lectures, technical talks, and commercial research showcases. Use when users mention "paper PPT", "AI generated PPT", "non-generic AI PPT", "high-quality slides", or "page-by-page image generated PPT".

1.2Kstars
83forks
Updated 5/29/2026
SKILL.md
read-only
name
paper-deck
description

Convert papers, technical articles, or educational content into photorealistic AIGC slides. First designs the narrative structure and page-by-page visual direction, calls an image generation model to produce 16:9 slide images for each page, and finally compiles them into PPTX/PDF. Ideal for paper presentations, lab meetings, public lectures, technical talks, and commercial research showcases. Use when users mention "paper PPT", "AI generated PPT", "non-generic AI PPT", "high-quality slides", or "page-by-page image generated PPT".

Paper Deck — Visual Slide Director

Turn paper or technical content into slides that look genuinely designed.

The core approach avoids manually arranging PowerPoint objects. Instead:

  1. Understand the content first to create a deck brief and page-by-page narrative.
  2. Define clearly for each page: "What should the audience see, feel, and remember?"
  3. Use an image generation model to create 16:9 slide images.
  4. Merge into PPTX/PDF while retaining prompts as editable source files.

Mandatory Image Generation Requirements

Paper Deck V1 is a raster-first AIGC slide image workflow. Unless the user explicitly requests "no image generation", "draw with code", "editable PPT only", or "generate with HTML/SVG/Canvas", you must invoke a real raster image generation backend to produce an image for every page.

Strictly prohibit passing off the following artifacts as this skill's "generated image pages":

  • Full-page images drawn directly via Python/Pillow, SVG, HTML/CSS, Canvas, Mermaid, matplotlib, PPT shapes, or any local rendering code.
  • Replacing image generation backend outputs with templates, pure layout scripts, screenshots, placeholder images, or manually combined elements.
  • Locally drawing full pages first and applying minor filters/post-processing to present them as AIGC slide images.

Allowed local operations are limited to:

  • Moving, copying, or renaming output files from the image generation backend.
  • Necessary format conversions, compression, size validations, and PPTX/PDF compilation.
  • Adding a minimal editable text overlay onto generated backgrounds when the user explicitly chooses a hybrid solution. In this case, "hybrid text layer" must be logged in deck-brief.md and delivery notes; do not claim full-page text was generated by the image model.

If no raster image generation backend is available in the current environment, stop and state the missing backend. Do not fall back to local rendering alternatives.

When to Use

Suitable for:

  • Paper group meetings, thesis defenses, reading groups, and technical presentations.
  • Visual presentations that need to avoid looking like generic slide templates at first glance.
  • Scenarios where users accept each page as a high-quality image, prioritizing overall aesthetic and presentation impact.
  • Page-by-page revisions: remaking page N, changing styles, increasing realism, or reducing an AI look.

Not suitable for:

  • Scenarios requiring multiple people to fine-tune text boxes directly in PowerPoint.
  • Large tables, financial statements, or compliance documents.
  • Accurately replicating existing corporate PPT master templates.

If the user requires a fully editable PPT, explain that V1 of this skill is raster-first. Suggest switching to conventional PPTX tools or generating a hybrid "image background + editable text layer" solution.

Workflow

Step 1: Input Analysis

Accepts:

  • arXiv / DOI / web links
  • PDF paths
  • Markdown / text / articles
  • Existing outlines
  • Reference images or reference PPT screenshots

For academic papers, prioritize reusing the reading approach from paper-analyzer: read abstract, methodology, experiments, figures/tables, and conclusions; search code repositories if necessary. The goal is not writing long prose, but extracting a core narrative suitable for slides.

Output and save analysis.md:

  • Topic, audience, and presentation scenario
  • One-sentence key claim of the paper/content
  • 3-5 core points that must be communicated clearly
  • Recommended page count, style, and language
  • Types of images to generate: cover, mechanism diagrams, flowcharts, data pages, conclusion pages, etc.
  • Direct real assets available: paper Figures/Tables, PDF screenshots, user-provided screenshots, code snippets, experimental curves

Step 2: Pre-generation Confirmation

Confirmation is required by default; do not generate images directly unless the user explicitly says "generate directly / no confirmation needed / use defaults".

Limit questions to 3 items max when asking:

  1. Slide count and purpose: group meeting / defense / public talk / commercial presentation; how many slides?
  2. Style: refer to references/style-system.md.
  3. Insertion of real assets: allow screenshots from PDF/paper figures, or user-supplied screenshots/images? If allowed, specify estimated slide numbers and corresponding assets.

Recommended confirmation message:

I suggest 12 slides using the journal-minimal style: similar to Nature/IEEE paper figures combined with formal academic presentations—clear, restrained, and clean.
Alternatively, we can switch to business-research for commercial research, warm-notes for a hand-annotated feel, or liquid-glass for Apple-style glass textures.
For this paper, I recommend placing a cropped screenshot of the methodology diagram on page 4, and experiment/table screenshots on page 8, then designing structured layouts around these real assets.
Once confirmed, I will generate outline.md and prompts for each slide, followed by page-by-page image generation and PPTX/PDF compilation.

Step 3: Deck Brief

Save deck-brief.md. Must contain:

  • style_preset
  • audience
  • slide_count
  • language
  • visual_rules
  • do_not_use
  • reference_images (if any)
  • source_visual_plan: which slides use real diagrams/screenshots, including sources and handling methods

Read references/style-system.md for style details as needed.
Read references/source-visuals.md for real asset strategies as needed.

Step 4: Outline

Save outline.md. Use a fixed structure for each page:

## 01. Slide Title
- Role: cover / context / method / mechanism / evidence / result / takeaway
- Message: The single key takeaway for this slide
- Visual: Main visual focus and composition
- Text: Permitted concise text on screen
- Evidence: Referenced paper figures/formulas/experimental data/code location
- Source visual: Whether real screenshots/paper diagrams are used; sources, crop area, and placement
- Repair handle: Reference positioning description for subsequent revisions

Rules:

  • Convey only one main takeaway per slide.
  • Keep on-screen text minimal; place detailed explanations in speaker notes.
  • For mechanism slides, prioritize showing "Input → Process → Output" rather than abstract concepts.
  • For data slides, display only the 1-3 most persuasive numbers.
  • Real paper figures/screenshots are generally more credible than artificially generated ones; prioritize planning real asset placements when available.
  • Avoid excessive whitespace. Visual anchors, diagrams, or evidence areas should occupy 60%-80% of the screen, except on cover or section slides.
  • For decks over 8 slides, maintain visual rhythm: alternate cover, problem, method, mechanism, evidence, and conclusions.

Step 5: Prompt Files

Write prompt files for every page before invoking any image generation tools.

Directory structure:

paper-deck/{topic-slug}/
├── analysis.md
├── deck-brief.md
├── outline.md
├── prompts/
│   ├── 01-slide-cover.md
│   ├── 02-slide-context.md
│   └── ...
├── images/
│   ├── 01-slide-cover.png
│   ├── 02-slide-context.png
│   └── ...
├── {topic-slug}.pptx
└── {topic-slug}.pdf

Read references/prompt-template.md for prompt writing guidelines.

Hard rules:

  • Prompts must explicitly specify a 16:9 aspect ratio.
  • Prompts must state style, composition, text language, and strict word count limits.
  • Instruct the model NOT to generate slide numbers, logos, watermarks, or slide frames.
  • If precise text is required, minimize image-embedded text; a hybrid text layer can be added later.
  • If a slide uses real assets, the prompt must define how assets are integrated into the frame: embedded, cropped, placed on glass panels, side notes, or zoomed callouts—rather than asking the model to recreate facts from scratch.

Step 6: Image Generation

Image generation backend selection:

  1. In Codex environments, prioritize built-in imagegen.
  2. If the user specifies baoyu-imagine, Gemini, OpenAI, Seedream, or other backends, follow the user's specification.
  3. If no image generation backend is available, stop and inform the user that a raster image backend is required.

Generation Quality Gate:

  • Corresponding prompts/NN-*.md files must be written before calling any image generation tool.
  • Primary slide images entering images/ must originate from a real raster image generation backend.
  • Drawing full-page main images via Python/Pillow, SVG, HTML/CSS, Canvas, Mermaid, matplotlib, PPT shapes, or local scripts to substitute image generation is strictly prohibited.
  • Bypassing the image generation backend to render full pages locally due to concerns over text rendering errors is strictly prohibited. The correct approach is reducing in-image text, modifying prompts to regenerate, or switching to a user-approved "generated background + editable text layer" hybrid approach.
  • If using a hybrid text layer, generated backgrounds or raw generated full pages must still be preserved in images/, and superimposed text must be logged in deck-brief.md.
  • Log the backend, prompt file, output file, and timestamp for each page in generation-log.md after generation; images lacking generation logs cannot serve as final delivery pages.

Generation Strategy:

  • Generate Slide 1 first as a style anchor.
  • For subsequent slides, use Slide 1 as a reference image if supported by the backend to reduce style drift.
  • Inspect thumbnails every 3-4 slides; modify prompts and re-render if style drift occurs.
  • Preserve failed image attempts; do not overwrite successful pages.

Step 7: PPTX/PDF Compilation

Run after image generation finishes:

python3 <SKILL_ROOT>/scripts/merge_deck.py paper-deck/{topic-slug}

The script reads images/NN-*.png|jpg|webp and exports .pptx and .pdf files with matching names. Each image scales to fit a full 16:9 slide.

Step 8: Quality Audit

Audit against references/quality-gate.md prior to delivery:

  • Does it look like authentic custom design rather than stacked templates?
  • Does each slide focus on a single core takeaway?
  • Is there excessive meaningless whitespace? Does key content cover enough screen real estate?
  • Are real asset sources, page numbers/figure IDs, and placements explicitly documented?
  • Is visual style consistent across pages?
  • Is text on images clear, typo-free, and free of pseudo-characters?
  • Are common AI flaws absent (fake UI, fake logos, garbled labels, excessive cyberpunk glow, plastic 3D elements, meaningless decorations)?
  • Does generation-log.md exist with real raster image generation backends, prompt files, and output files logged for every slide?
  • Are local drawings/templates/screenshots improperly impersonating generated slide images? If present, redo them or explicitly adjust to a non-paper-deck approach confirmed by the user.
  • Do PPTX/PDF files open properly with correct page counts?

Step 9: Revisions

When revising, always update source files first:

User Feedback Action
"Make slide 5 more academic" Update prompts/05-*.md, keep old image, generate new image
"Align style with slide 1's texture" Append slide 1 style anchor to relevant prompts
"Slide 7 has too much text" Reduce Text in outline, then revise prompt
"Redo background only, keep content" Retain Message/Text in prompt, rewrite Visual section
"Add a new mechanism detail slide" Update outline, add prompt file, generate image, re-run compilation script

Do not use programmatic drawing to overwrite text on generated images. If text contains errors, modify the prompt to regenerate, or transition to a hybrid text layer setup.

Reference Files

  • references/style-system.md: Style presets and selection criteria
  • references/layouts.md: Common slide roles and compositions
  • references/source-visuals.md: Usage strategies for PDF screenshots, paper figures, and user images
  • references/prompt-template.md: Slide-by-slide image generation prompt templates
  • references/quality-gate.md: Pre-delivery audit and revision standards