Scientific slides

From mkurman/zorai · View interactive version

Scientific slides is an AI agent skill from the GitHub repository mkurman/zorai. Build slide decks and presentations for research talks. Use this for making PowerPoint slides, conference presentations, seminar talks, research presentations, thesis defense slides, or any scientific talk. Provides slide structure, design templates, timing guidance, and visual validation. Works wit

How to use this skill

Skill file

Prompt Writing for Slide Generation

Full Slide Prompts (PDF Workflow)

For complete slides, include:

  1. Slide type: Title slide, content slide, diagram slide, etc.
  2. Title: The slide title text
  3. Content: Key points, bullet items, or descriptions
  4. Visual elements: What imagery, icons, or graphics to include
  5. Design style: Color scheme, mood, aesthetic

Example prompts:

Title slide:
"Title slide for a medical research presentation. Title: 'Advances in Cancer Immunotherapy'. Subtitle: 'Clinical Trial Results 2024'. Professional medical theme with subtle DNA helix in background. Navy blue and white color scheme."

Content slide:
"Presentation slide titled 'Key Findings'. Three bullet points: 1) 40% improvement in response rate, 2) Reduced side effects, 3) Extended survival outcomes. Include relevant medical icons. Clean, professional design with green and white colors."

Diagram slide:
"Presentation slide showing the research methodology. Title: 'Study Design'. Flowchart showing: Patient Screening → Randomization → Treatment Groups (A, B, Control) → Follow-up → Analysis. CONSORT-style flow diagram. Professional academic style."

Visual-Only Prompts (PPT Workflow)

For images to embed in PowerPoint, focus on the visual element only:

"Flowchart showing machine learning pipeline: Data Collection → Preprocessing → Model Training → Validation → Deployment. Clean technical style, blue and gray colors."

"Conceptual illustration of cloud computing with servers, data flow, and connected devices. Modern flat design, suitable for business presentation."

"Scientific diagram of cell division process showing mitosis phases. Educational style with labels, colorblind-friendly colors."

Visual Enhancement with Scientific Schematics

In addition to slide generation, use the scientific-schematics skill for technical diagrams:

When to use scientific-schematics instead:

How to generate schematics:

python scripts/generate_schematic.py "your diagram description" -o figures/output.png

For detailed guidance on creating schematics, refer to the scientific-schematics skill documentation.


Core Capabilities

1. Presentation Structure and Organization

Build presentations with clear narrative flow and appropriate structure for different contexts. For detailed guidance, refer to references/presentation_structure.md.

Universal Story Arc:

  1. Hook: Grab attention (30-60 seconds)
  2. Context: Establish importance (5-10% of talk)
  3. Problem/Gap: Identify what's unknown (5-10% of talk)
  4. Approach: Explain your solution (15-25% of talk)
  5. Results: Present key findings (40-50% of talk)
  6. Implications: Discuss meaning (15-20% of talk)
  7. Closure: Memorable conclusion (1-2 minutes)

Talk-Specific Structures:

2. Slide Design Principles

Create professional, readable, and accessible slides that enhance understanding. For complete design guidelines, refer to references/slide_design_principles.md.

ANTI-PATTERN: Avoid Dry, Text-Heavy Presentations

❌ What Makes Presentations Dry and Forgettable:

✅ What Makes Presentations Engaging and Memorable:

Core Design Principles:

Visual-First Approach (CRITICAL):

Simplicity with Impact:

Typography for Engagement:

Color for Impact:

Layout for Visual Interest:

3. Data Visualization for Slides

Adapt scientific figures for presentation context. For detailed guidance, refer to references/data_visualization_slides.md.

Key Differences from Journal Figures:

Visualization Best Practices:

Common Mistakes to Avoid:

4. Talk-Specific Guidance

Different presentation contexts require different approaches. For comprehensive guidance on each type, refer to references/talk_types_guide.md.

Conference Talks (10-20 minutes):

Academic Seminars (45-60 minutes):

Thesis Defenses (45-60 minutes):

Grant Pitches (10-20 minutes):

Journal Clubs (20-45 minutes):

5. Implementation Options

Nano Banana Pro PDF (Default - Recommended)

Best for: Visually stunning slides, fast creation, non-technical audiences

This is the default and recommended approach. Generate each slide as a complete image using AI.

Workflow:

  1. Plan each slide (title, content, visual elements)
  2. Generate each slide with generate_slide_image.py
  3. Combine into PDF with slides_to_pdf.py
# Generate slides
python scripts/generate_slide_image.py "Title: Introduction..." -o slides/01.png
python scripts/generate_slide_image.py "Title: Methods..." -o slides/02.png

# Combine to PDF
python scripts/slides_to_pdf.py slides/*.png -o presentation.pdf

Advantages:

Best for:

PowerPoint via PPTX Skill

Best for: Editable slides, custom designs, template-based workflows

Reference: See document-skills/pptx/SKILL.md for complete documentation

Use Nano Banana Pro with --visual-only to generate images, then build PPTX with text.

Key Resources:

Workflow:

  1. Generate visuals with generate_slide_image.py --visual-only
  2. Design HTML slides (for programmatic) or use templates
  3. Create presentation using html2pptx or template editing
  4. Add generated images and text content
  5. Generate thumbnails for visual validation
  6. Iterate based on visual inspection

Advantages:

LaTeX Beamer

Best for: Mathematical content, consistent formatting, version control

Reference: See references/beamer_guide.md for complete documentation

Templates Available:

Workflow:

  1. Choose appropriate template
  2. Customize theme and colors
  3. Add content (LaTeX native: equations, code, algorithms)
  4. Compile to PDF
  5. Convert to images for visual validation

Advantages:

6. Visual Review and Iteration

Implement iterative improvement through visual inspection. For complete workflow, refer to references/visual_review_workflow.md.

Visual Validation Workflow:

Step 1: Generate PDF (if not already PDF)

Step 2: Convert to Images

# Using the pdf_to_images script
python scripts/pdf_to_images.py presentation.pdf review/slide --dpi 150

# Or use pptx skill's thumbnail tool
python ../document-skills/pptx/scripts/thumbnail.py presentation.pptx review/thumb

Step 3: Systematic Inspection

Check each slide for:

Step 4: Document Issues

Create issue log:

Slide # | Issue Type | Description | Priority
--------|-----------|-------------|----------
3       | Text overflow | Bullet 4 extends beyond box | High
7       | Overlap | Figure overlaps with caption | High
12      | Font size | Axis labels too small | Medium

Step 5: Apply Fixes

Make corrections to source files:

Step 6: Re-Validate

Repeat Steps 1-5 until no critical issues remain.

Stopping Criteria:

7. Timing and Pacing

Ensure presentations fit allocated time. For comprehensive timing guidance, refer to assets/timing_guidelines.md.

The One-Slide-Per-Minute Rule:

Time Allocation:

Practice Requirements:

Timing Checkpoints:

For 15-minute talk:

Emergency Strategies:

8. Validation and Quality Assurance

Automated Validation:

# Validate slide count, timing, file size
python scripts/validate_presentation.py presentation.pdf --duration 15

# Generates report on:
# - Slide count vs. recommended range
# - File size warnings
# - Slide dimensions
# - Font size issues (PowerPoint)
# - Compilation success (Beamer)

Manual Validation Checklist:

Workflow for Presentation Development

Stage 1: Planning (Before Creating Slides)

Define Context:

  1. What type of talk? (Conference, seminar, defense, etc.)
  2. How long? (Duration in minutes)
  3. Who is the audience? (Specialists, general, mixed)
  4. What's the venue? (Room size, A/V setup, virtual/in-person)
  5. What happens after? (Q&A, discussion, networking)

Research and Literature Review (Use research-lookup skill):

  1. Search for background literature: Find 5-10 key papers establishing context
  2. Identify knowledge gaps: Use research-lookup to find what's unknown
  3. Locate comparison studies: Find papers with similar methods or results
  4. Gather supporting citations: Collect papers supporting your interpretations
  5. Build reference list: Create .bib file or citation list for slides
  6. Note key findings to cite: Document specific results to reference

Develop Content Outline:

  1. Identify 1-3 core messages
  2. Select key findings to present
  3. Choose essential figures (typically 3-6 for 15-min talk)
  4. Plan narrative arc with proper citations
  5. Allocate time by section

Example Outline for 15-Minute Talk:

1. Title (30 sec)
2. Hook: Compelling problem (60 sec) [Cite 1-2 papers via research-lookup]
3. Background (90 sec) [Cite 3-4 key papers establishing context]
4. Research question (45 sec) [Cite papers showing gap]
5. Methods overview (2 min)
6-8. Main result 1 (3 min, 3 slides)
9-10. Main result 2 (2 min, 2 slides)
11-12. Result 3 or validation (2 min, 2 slides)
13-14. Discussion and implications (2 min) [Compare to 2-3 prior studies]
15. Conclusions (45 sec)
16. Acknowledgments (15 sec)

NOTE: Use research-lookup to find papers for background (slides 2-4) 
and discussion (slides 13-14) BEFORE creating slides.

Stage 2: Design and Creation

Choose Implementation Method:

Option A: PowerPoint (via PPTX skill)

  1. Read assets/powerpoint_design_guide.md
  2. Read document-skills/pptx/SKILL.md
  3. Choose approach (programmatic or template-based)
  4. Create master slides with consistent design
  5. Build presentation following outline

Option B: LaTeX Beamer

  1. Read references/beamer_guide.md
  2. Select appropriate template from assets/
  3. Customize theme and colors
  4. Write content in LaTeX
  5. Compile to PDF

Design Considerations (Make It Visually Appealing):

Stage 3: Content Development

Populate Slides (Visual-First Strategy):

  1. Start with visuals: Plan which figures, images, diagrams for each key point
  2. Use research-lookup extensively: Find 8-15 papers for proper citations
  3. Create visual backbone first: Add all figures, charts, images, diagrams
  4. Add minimal text as support: Bullet points complement visuals, don't replace them
  5. Design section dividers: Visual breaks with images or graphics (not just text)
  6. Polish title/closing: Make visually striking, include contact info
  7. Add transitions/builds: Control information flow

VISUAL CONTENT REQUIREMENTS (Make Slides Engaging):

Scientific Content (Research-Backed):

Text Guidelines (Less is More):

Stage 4: Visual Validation

Generate Images:

# Convert PDF to images
python scripts/pdf_to_images.py presentation.pdf review/slides

# Or create thumbnail grid
python ../document-skills/pptx/scripts/thumbnail.py presentation.pptx review/grid

Systematic Review:

  1. View each slide image
  2. Check against issue checklist
  3. Document problems with slide numbers
  4. Test readability from distance (view at 50% size)

Common Issues to Fix:

Iteration:

  1. Fix identified issues in source
  2. Regenerate PDF/presentation
  3. Convert to images again
  4. Re-inspect
  5. Repeat until clean

Stage 5: Practice and Refinement

Practice Schedule:

What to Practice:

Refinement Based on Practice:

Stage 6: Final Preparation

Technical Checks:

Content Final:

Delivery Prep:

Integration with Other Skills

Research Lookup (Critical for Scientific Presentations):

Scientific Writing:

PPTX Skill:

Data Visualization:

Common Pitfalls to Avoid

Content Mistakes

Dry, Boring Presentations (CRITICAL TO AVOID):

Too Much Content:

Too Much Text:

Missing Research Context:

Poor Narrative:

Rushing Through Results:

Design Mistakes

Generic, Default Appearance:

Text-Heavy, Visual-Poor:

Small Fonts:

Low Contrast:

Cluttered Slides:

Inconsistent Formatting:

Missing Visual Hierarchy:

Timing Mistakes

Not Practicing:

No Time Checkpoints:

Going Over Time:

Skipping Conclusions:

Tools and Scripts

Nano Banana Pro Scripts

generate_slide_image.py - Generate slides or visuals with AI:

# Full slide (for PDF workflow)
python scripts/generate_slide_image.py "Title: Introduction\nContent: Key points" -o slide.png

# Visual only (for PPT workflow)
python scripts/generate_slide_image.py "Diagram description" -o figure.png --visual-only

# Options:
# -o, --output       Output file path (required)
# --visual-only      Generate just the visual, not complete slide
# --iterations N     Max refinement iterations (default: 2)
# -v, --verbose      Verbose output

slides_to_pdf.py - Combine slide images into PDF:

# From glob pattern
python scripts/slides_to_pdf.py slides/*.png -o presentation.pdf

# From directory (sorted by filename)
python scripts/slides_to_pdf.py slides/ -o presentation.pdf

# Options:
# -o, --output    Output PDF path (required)
# --dpi N         PDF resolution (default: 150)
# -v, --verbose   Verbose output

Validation Scripts

validate_presentation.py:

python scripts/validate_presentation.py presentation.pdf --duration 15

# Checks:
# - Slide count vs. recommended range
# - File size warnings
# - Slide dimensions
# - Font sizes (PowerPoint)
# - Compilation (Beamer)

pdf_to_images.py:

python scripts/pdf_to_images.py presentation.pdf output/slide --dpi 150

# Converts PDF to images for visual inspection
# Supports: JPG, PNG
# Adjustable DPI
# Page range selection

PPTX Skill Scripts

From document-skills/pptx/scripts/:

External Tools

Recommended:

Reference Files

Comprehensive guides for specific aspects:

Assets

Templates

Guides

Quick Start Guide

For a 15-Minute Conference Talk (PDF Workflow - Recommended)

  1. Research & Plan (45 minutes):
  1. Generate Slides with Nano Banana Pro (1-2 hours):

Important: Use consistent formatting, attach previous slides, and include citations!

```bash

# Title slide (establishes style - default author: K-Dense)

python scripts/generate_slide_image.py "Title slide: 'Your Research Title'. Conference name, K-Dense. FORMATTING GOAL: [your color scheme], minimal professional design, no decorative elements, clean and corporate." -o slides/01_title.png

# Introduction slide with citations (attach previous for consistency)

python scripts/generate_slide_image.py "Slide titled 'Why This Matters'. Three key points with simple icons. CITATIONS: Include at bottom: (Smith et al., 2023; Jones et al., 2024). FORMATTING GOAL: Match attached slide style exactly." -o slides/02_intro.png --attach slides/01_title.png

# Continue for each slide (always attach previous, include citations where relevant)

python scripts/generate_slide_image.py "Slide titled 'Methods'. Key methodology points. CITATIONS: (Based on Chen et al., 2022). FORMATTING GOAL: Match attached slide style exactly." -o slides/03_methods.png --attach slides/02_intro.png

# Combine to PDF

python scripts/slides_to_pdf.py slides/*.png -o presentation.pdf

```

  1. Review & Iterate (30 minutes):
  1. Practice (2-3 hours):
  1. Finalize (30 minutes):

Total time: ~5-6 hours for quality AI-generated presentation

Alternative: PowerPoint Workflow

If you need editable slides (e.g., for company templates):

  1. Plan slides as above
  2. Generate visuals with --visual-only flag:

```bash

python scripts/generate_slide_image.py "diagram description" -o figures/fig1.png --visual-only

```

  1. Build PPTX using the PPTX skill with generated images
  2. Add text separately using PPTX workflow

See document-skills/pptx/SKILL.md for complete PowerPoint workflow.

Summary: Key Principles

  1. Visual-First Design: Every slide needs strong visual element (figure, image, diagram) - avoid text-only slides
  2. Research-Backed: Use research-lookup to find 8-15 papers, cite 3-5 in intro, 3-5 in discussion
  3. Modern Aesthetics: Choose contemporary color palette matching topic, not default themes
  4. Minimal Text: 3-4 bullets, 4-6 words each (24-28pt font), let visuals tell story
  5. Structure: Follow story arc, spend 40-50% on results
  6. High Contrast: 7:1 preferred for professional appearance
  7. Varied Layouts: Mix full-figure, two-column, visual overlays (not all bullets)
  8. Timing: Practice 3-5 times, ~1 slide per minute, never skip conclusions
  9. Validation: Visual review workflow to catch overflow and overlap
  10. White Space: 40-50% of slide empty for visual breathing room

Remember:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.