slidev
Evidence-based presentation creation with Slidev, enforced design guardrails, and multi-platform diagrams
Summary
This skill enables developers to create technical presentations using Slidev, with built-in design guardrails based on cognitive science research to prevent common mistakes.
- It enforces evidence-based principles for slide design, supports multi-platform diagrams, and generates polished, developer-focused content for tech talks and conferences.
Overview
Create developer-focused technical presentations using Slidev with evidence-based design guardrails
 
What is this?
A Claude Code plugin for creating technical presentations powered by [Slidev](https://sli.dev) - the presentation framework for developers. Specifically designed for tech talks, conference presentations, internal demos, and developer-focused content.
Key differentiator: Evidence-based design principles are enforced as guardrails, not suggestions. The plugin automatically prevents common presentation mistakes through hard limits based on cognitive science research.
Example Presentations
See real-world technical presentations created with this plugin, including source code and PDF exports:
- ā¢[GPUs on Kubernetes Unlocked](https://github.com/ro14nd-talks/gpus-on-kubernetes-unlocked) - Technical deep-dive on GPU scheduling (PDF)
- ā¢[Lifting LLMs on K8s](https://github.com/ro14nd-talks/lifting-llms-on-k8s) - Running large language models on Kubernetes (PDF)
Built on Slidev
Slidev is a web-based presentation tool built for developers. Write your slides in markdown, use Vue components, live code with Monaco editor, and export to PDF/PPTX. This plugin adds intelligent automation, evidence-based guardrails, and complete workflow management on top of Slidev's powerful foundation.
Key Features
šÆ Evidence-Based Design Guardrails (Enforced)
These are not suggestions - they're automatic hard limits based on cognitive science research:
- ā¢ā¤6 elements per slide - Prevents information overload (Miller's Law: working memory holds 7±2 items)
- ā¢<50 words body text - Ensures slides support speech, not replace it
- ā¢One idea per slide - Automatically splits dense content into focused slides
- ā¢Meaningful assertion titles - "System handles 10K req/sec" not "Results"
- ā¢18pt+ fonts, 4.5:1+ contrast - Accessibility by default, not afterthought
- ā¢Colorblind-safe palettes - Blue + Orange default (tested for all types of colorblindness)
When content exceeds limits: The plugin creates additional slides instead of cramming. Quality over convenience.
š ļø Developer-Focused Features
- ā¢Code syntax highlighting - Shiki/Prism integration with 100+ languages
- ā¢Live coding - Monaco editor embedded in slides for demos
- ā¢Mermaid diagrams - Architecture, flowcharts, sequence diagrams
- ā¢Multi-platform diagrams - Auto-generate PlantUML + Excalidraw alternatives
- ā¢Modular slide files -
01-title.md,02-hook.mdetc. inslides/directory - ā¢Git-friendly - Meaningful diffs, easy collaboration
š Complete Workflow
End-to-end presentation creation:
- Frame presentation scope - Set duration, audience, and calculate target slide count
- Interactive brainstorming - Web research and local file analysis
- Structured outline with validation
- Modular slide generation with enforced quality limits
- Visual enhancement with diagrams and images
- Presenter notes generation
- LaTeX handout with prose explanations and research links
- Export to PDF/PPTX/PNG
Prerequisites
Required
- ā¢[Slidev](https://sli.dev) - The presentation framework this plugin is built on
``bash npm install -g @slidev/cli ``
- ā¢Node.js (v18 or later)
- ā¢npm (comes with Node.js)
Optional
- ā¢LaTeX (pdflatex) - For handout generation
- macOS: brew install --cask mactex-no-gui - Ubuntu: sudo apt-get install texlive-latex-base texlive-latex-extra
- ā¢mermaid-cli - For high-quality offline diagram rendering
``bash npm install -g @mermaid-js/mermaid-cli ``
- ā¢excalidraw-brute-export-cli - For Excalidraw diagram rendering (auto-installed on first use)
``bash npm install -g excalidraw-brute-export-cli npx playwright install-deps npx playwright install chromium ``
Installation
Via Marketplace (recommended):
# Add the marketplace (once)
/plugin marketplace add rhuss/cc-rhuss-marketplace
# Install the plugin
/plugin install slidev@cc-rhuss-marketplaceFrom source:
git clone https://github.com/rhuss/cc-slidev.git
cd cc-slidev
# Install plugin via Makefile
make install
# After making changes, reinstall
make reinstallSee CONTRIBUTING.md for the full development workflow.
Complete Workflow Example
Here's a full end-to-end workflow for creating a technical presentation:
1. Frame your presentation
/slidev:frameSet presentation parameters: duration, audience level, and style. The plugin calculates target slide count using research-based timing (90s per slide default).
2. Brainstorm content
/slidev:brainstormInteractive Q&A session about your presentation topic. The plugin researches the web, analyzes local files, and extracts key themes within your framing constraints.
3. Create structured outline
/slidev:outlineGenerates a structured outline with slide breakdown, validates timing against your framing, and ensures logical flow.
4. Generate modular slides
/slidev:generateCreates individual slide files in slides/ directory:
presentation/
āāā slides.md # Master file (slide 1 = title from frontmatter)
āāā slides/
ā āāā 02-hook.md # Slide 2
ā āāā 03-problem-statement.md # Slide 3
ā āāā 04-architecture.md # Slide 4
ā āāā ...Note: Slide 1 (title) comes from frontmatter in slides.md, so slide files start at 02-.
Each slide is enforced to meet quality standards automatically.
5. Preview with Slidev
/slidev:previewOpens Slidev dev server at localhost:3030. Press p for presenter mode with notes. Hot reload on file changes.
6. Edit specific slides
/slidev:edit 5Shows table of contents, current slide content, and quality analysis. Edit individual slide files directly.
7. Enhance with visuals
/slidev:visualsAnalyzes all slides and suggests:
- ā¢Mermaid diagrams (flowcharts, sequence, architecture)
- ā¢Stock photos (Unsplash integration)
- ā¢AI image prompts (DALL-E, Midjourney, Stable Diffusion)
Generates multiple options per slide.
8. Generate comprehensive handout
/slidev:handoutCreates professional LaTeX handout with:
- ā¢Embedded slide images (PNG export)
- ā¢Prose explanations
- ā¢Research links and citations
- ā¢Presenter notes
9. Export final presentation
/slidev:export pdfExports to PDF, PPTX, or PNG using Slidev's built-in exporters.
Result: Professional technical presentation ready for your conference talk or demo!
File Structure
When you create a presentation, the plugin generates this structure:
introduction-to-kubernetes/
āāā slides.md # Master Slidev file (slide 1 = title from frontmatter)
āāā slides/
ā āāā 02-hook.md # Slide 2 (first slide file)
ā āāā 03-problem.md # Slide 3
ā āāā 04-kubernetes-architecture.md # Slide 4
ā āāā 05-benefits.md # Slide 5
ā āāā ...
āāā diagrams/ # ALL diagram sources (version controlled)
ā āāā kubernetes-architecture.mmd
ā āāā kubernetes-architecture.puml
ā āāā kubernetes-architecture.excalidraw
ā āāā ...
āāā presentation-config.md # Framing parameters (duration, audience, etc.)
āāā brainstorm.md # Research and ideation notes
āāā outline.md # Validated presentation outline
āāā handout.tex # LaTeX handout source
āāā handout.pdf # Compiled handout
āāā package.json # Slidev dependencies
āāā public/
ā āāā images/ # Rendered diagrams and photos
ā āāā kubernetes-architecture/
ā ā āāā diagram.svg
ā ā āāā diagram-plantuml.svg
ā ā āāā diagram-excalidraw.svg
ā āāā ...
āāā exports/
āāā slides.pdf
āāā slides.pptxModular slides benefits:
- ā¢Files ordered in presentation sequence (
01-,02-, etc.) - ā¢Meaningful names for easy navigation
- ā¢Individual edits without touching other slides
- ā¢Git-friendly collaboration
Diagram organization:
- ā¢Sources (
diagrams/): Version-controlled, editable (.mmd, .puml, .excalidraw) - ā¢Renders (
public/images/): Generated artifacts (.svg, .png), can be regenerated - ā¢NO EXCEPTIONS: All sources MUST be in top-level
./diagrams/directory
All Commands
| Command | Description |
|---|---|
/slidev:init <topic> | Initialize new presentation project (full workflow orchestrator) |
/slidev:frame | Define scope, duration, and slide count targets |
/slidev:brainstorm | Interactive brainstorming with research |
/slidev:outline | Create/revise presentation outline |
/slidev:generate | Generate modular slides from outline |
/slidev:edit <N> | Edit specific slide with context |
/slidev:add <N> | Insert new slide at position N (shifts others back) |
/slidev:delete <N> | Delete slide at position N with renumbering |
/slidev:continue | Resume work on existing presentation |
/slidev:visuals | Add diagrams and images to all slides |
/slidev:diagram <N> | Create diagram for specific slide |
/slidev:notes | Generate/enhance presenter notes |
/slidev:handout | Generate LaTeX handout with slides and prose |
/slidev:preview | Start Slidev dev server |
/slidev:export <format> | Export to PDF, PPTX, PNG |
/slidev:redraw-diagrams | Regenerate diagrams in multiple formats |
Evidence-Based Design Principles
This plugin enforces (not suggests) design principles based on research from:
- ā¢MIT Communication Lab
- ā¢TED presentation guidelines
- ā¢PLOS Computational Biology
- ā¢Cognitive load research (Miller's Law)
- ā¢Accessibility standards (WCAG 2.1)
See `references/presentation-best-practices.md` for full research documentation.
Core Principles (Enforced)
1. One Idea Per Slide
- ā¢Each slide communicates exactly one central point
- ā¢If content requires >90 seconds, auto-split into multiple slides
- ā¢Slide title states the one clear finding
2. Meaningful Titles (Assertions, Not Labels)
- ā¢ā Bad: "Results", "Background", "Methods"
- ā¢ā Good: "System handles 10K req/sec", "Current solutions fail under load"
- ā¢Format: subject + verb + finding
3. Cognitive Load Limit (ā¤6 Elements)
- ā¢Count: bullets + images + diagrams + charts + code blocks
- ā¢Hard limit: If >6 elements ā automatically split into multiple slides
- ā¢Research basis: Working memory capacity is 7±2 items
4. Minimal Text (<50 Words)
- ā¢Body text only - title not counted
- ā¢Use phrases, not sentences
- ā¢Hard limit: >50 words ā split or move to presenter notes
- ā¢Detailed explanations go in presenter notes, not slides
5. Visual Over Text
- ā¢Almost every slide needs a visual (diagram, chart, image, code)
- ā¢Exceptions: quotes, definitions, transition slides
- ā¢Plugin suggests visuals during generation
6. Accessibility by Default
- ā¢Font sizes: Body ā„18pt, headings ā„24pt
- ā¢Contrast: ā„4.5:1 for all text
- ā¢Colors: Colorblind-safe palette (Blue + Orange default)
- ā¢Don't rely on color alone: Use patterns, labels, shapes
For Developers
Why This Plugin Exists
Generic presentation tools fail developers because:
- ā¢PowerPoint/Keynote: Not code-friendly, hard to version control
- ā¢Google Slides: No local workflow, limited code support
- ā¢Raw Slidev: Powerful but no guardrails against bad design
This plugin solves that by combining:
- ā¢Slidev's developer-friendly foundation (markdown, code, Git)
- ā¢Automatic enforcement of presentation best practices
- ā¢Complete workflow automation (brainstorm ā export)
- ā¢Multi-platform diagram support
Ideal Use Cases
- ā¢Conference talks - Tech conferences, meetups, user groups
- ā¢Internal demos - Architecture reviews, sprint demos, technical deep-dives
- ā¢Training materials - Developer onboarding, workshops, tutorials
- ā¢Open source presentations - Community presentations with Git collaboration
Developer Features
Code Syntax Highlighting:
def process(): important_line() # Highlighted another_important() # Highlighted return result
Live Coding (Monaco Editor):
def editable(): return "Users can edit this code live"
Mermaid Diagrams:
graph TD A[Client] --> B[API Server] B --> C[Database]
Multi-Platform Diagrams: The plugin auto-generates equivalent diagrams in:
- ā¢Mermaid (inline in slides)
- ā¢PlantUML (high-quality SVG)
- ā¢Excalidraw (hand-drawn style)
Configuration
Create .claude/slidev.local.md in your project for custom preferences:
---
# Slidev settings
theme: seriph # default, apple-basic, etc.
export_format: pdf # pdf, pptx, png
# Presentation defaults
default_duration_minutes: 15
slides_per_minute: 1.5 # 90 seconds per slide
# Visual theme
visual_theme:
primary_color: "#3b82f6" # Blue
secondary_color: "#f97316" # Orange
style: "technical" # modern-minimal, technical, etc.
# Rendering
mermaid_rendering: inline # inline, offline, online
---All fields optional with sensible defaults.
Troubleshooting
Slidev not found
Install Slidev globally:
npm install -g @slidev/cliHandout generation fails
Install LaTeX:
# macOS
brew install --cask mactex-no-gui
# Ubuntu/Debian
sudo apt-get install texlive-latex-base texlive-latex-extra
# Fedora/RHEL
sudo dnf install texlive-scheme-basic texlive-latexMermaid diagrams low quality
Install mermaid-cli for offline high-quality rendering:
npm install -g @mermaid-js/mermaid-cliExcalidraw rendering fails
Install excalidraw-brute-export-cli and dependencies:
npm install -g excalidraw-brute-export-cli
npx playwright install-deps
npx playwright install chromiumNote: The script will auto-install these on first use if missing.
Development
# Validate plugin manifests
make validate
# Install or reinstall
make install
make reinstall
# Test workflow
/slidev:init Test PresentationSee CONTRIBUTING.md for details and ARCHITECTURE.md for system design.
License
MIT Ā© Roland Huss
Credits
- ā¢Built with Slidev by Anthony Fu
- ā¢Evidence-based design principles from MIT Communication Lab, TED, PLOS Computational Biology
- ā¢Diagram support: Mermaid, PlantUML, Excalidraw
Contributing
See CONTRIBUTING.md for development setup and workflow. Feedback and suggestions are welcome via issues.
Tip: Start with /slidev:init Your Topic for a guided end-to-end workflow, or use individual commands for specific phases.
Install & Usage
/plugin marketplace add <org/repo>Add the configuration to /plugin install slidev@<marketplace>
/pluginUse Cases
Usage Examples
/slidev Create a presentation about GPU scheduling on Kubernetes with 10 slides, using evidence-based design guardrails.
Generate a Slidev deck for a tech talk on microservices patterns, including code examples and architecture diagrams.
/slidev Convert my markdown notes into a Slidev presentation for an internal demo on LLM deployment.
Security Audits
Frequently Asked Questions
What is slidev?
This skill enables developers to create technical presentations using Slidev, with built-in design guardrails based on cognitive science research to prevent common mistakes. It enforces evidence-based principles for slide design, supports multi-platform diagrams, and generates polished, developer-focused content for tech talks and conferences.
How to install slidev?
To install slidev: add a marketplace (/plugin marketplace add <org/repo>), then add the config to /plugin install slidev@<marketplace>. Finally, /plugin in Claude Code.
What is slidev best for?
slidev is a plugin categorized under General. It is designed for: design. Created by rhuss.
What can I use slidev for?
slidev is useful for: Create a technical presentation for a conference talk on Kubernetes GPU scheduling with enforced design constraints.; Develop an internal demo deck for a new microservices architecture, ensuring slides follow cognitive load limits.; Generate a slide deck for a workshop on running LLMs on Kubernetes, with embedded code snippets and diagrams.; Convert a set of markdown notes into a professional Slidev presentation with automatic layout and styling.; Design a pitch deck for a developer tool, using evidence-based guardrails to maximize audience retention.; Produce a multi-platform diagram-rich presentation for a team meeting, with consistent design across slides..