Home
cd ../playbooks
Developer ToolsBeginner

Slidev Presentation Builder

Build developer-focused presentations with Slidev — Markdown-driven slides with live code, syntax highlighting, Monaco editor embeds, Mermaid/PlantUML diagrams, LaTeX math, click-based animations, and presenter notes, plus a quick-reference table for the exact syntax each feature needs.

5 minutes
By Anthony Fu (antfu/skills)Source
#slidev#presentations#markdown#vue#developer-tools#conference-talks

PowerPoint can't run your code live, animate a diff line-by-line, or render a Mermaid diagram from a code block — Slidev builds slides from Markdown with Vite and Vue underneath, so a conference talk or code walkthrough stays version-controlled text instead of a fragile binary file nobody can diff.

Who it's for: developers preparing a conference talk, workshop, or internal tech talk with live code examples, engineers who want presenter notes and slides in the same version-controlled Markdown file, teams building teaching materials with runnable code snippets and diagrams, anyone tired of PowerPoint for anything code-heavy

Example

"Build a conference talk about our new API with live code examples" → A Slidev project scaffolded with pnpm create slidev, slides written in Markdown with --- separators, syntax-highlighted and click-revealed code blocks using the {1|2-3|all} line-highlighting syntax, a Mermaid architecture diagram embedded directly in a code fence, and a PDF export via pnpm run export for sharing afterward

CLAUDE.md Template

New here? 3-minute setup guide → | Already set up? Copy the template below.

Or install from your terminal:
npx ccplaybooks add slidev-presentations
# Slidev — Presentation Slides for Developers

Create and present web-based slidedecks for developers using Slidev, a slides maker built on Vite, Vue, and Markdown. Use it for technical presentations, conference talks, code walkthroughs, teaching materials, and developer decks — anything that benefits from live code, syntax highlighting, math, and diagrams over a traditional slide tool.

## When to Use

- Technical presentations or slidedecks with live code examples.
- Syntax-highlighted code snippets with animations.
- Interactive demos (Monaco editor, runnable code).
- Mathematical equations (LaTeX) or diagrams (Mermaid, PlantUML).
- Recording presentations with presenter notes.
- Exporting to PDF, PPTX, or hosting as a standalone SPA.

Get new playbooks like this one

One email a week with new Claude Code workflows. Free, like everything here.

No spam. Unsubscribe anytime.

README.md

What This Does

A quick-reference guide for Slidev, the Vite/Vue/Markdown-based slide tool built specifically for developers, covering the full range of what makes it different from a general-purpose presentation tool: live, runnable code blocks (including an embedded Monaco editor and a "monaco-run" mode), line-by-line and click-revealed syntax highlighting, Mermaid and PlantUML diagrams rendered straight from a code fence, LaTeX math, and Magic Move animations that morph one code block into the next. The core syntax is minimal — --- separates slides, the first frontmatter block sets deck-wide config, HTML comments become presenter notes — and a quick-reference table maps every notable feature (code tabs, draggable elements, scoped per-slide CSS, layout slots, click animations, rough-marker annotations) to its exact Markdown or frontmatter syntax.

It also covers the practical mechanics of shipping a deck: the dev server for live editing, the presenter mode (with notes, a timer, and a next-slide preview) that runs alongside the audience-facing view, PDF export via a headless Chromium build, and building a standalone SPA for hosting the deck as a website. Built-in layouts (cover, two-cols, center, quote, image-left, and more) cover the standard structural needs of a talk without custom CSS.


Quick Start

Step 1: Create a Project Folder

mkdir slidev-talk && cd slidev-talk

Step 2: Download the Template

Click Download above, then:

mv ~/Downloads/CLAUDE.md ./

Step 3: Build a Deck

claude

Ask Claude to scaffold a Slidev presentation on your topic, add live code examples, embed a diagram, or set up presenter notes. It will use pnpm create slidev to bootstrap the project and write slides in the correct Markdown syntax for whichever features the talk needs.


Tips & Best Practices

  • Keep presenter notes (the HTML comments under each slide) genuinely useful during the actual talk — timing cues, the point you're trying to land, or a reminder of what to demo next, not a transcript of the slide content.
  • Use click-based line highlighting ({1|2-3|all}) instead of separate slides when walking through a code block step by step — it keeps the audience oriented on one piece of code instead of re-parsing a new slide each time.
  • Export to PDF early and check it renders correctly — some interactive features (Monaco, draggable elements, drawing mode) don't have a meaningful static PDF equivalent, and it's better to know that before the day of the talk.

Limitations

  • PDF export requires playwright-chromium and a working headless-browser environment — CI or sandboxed environments without browser support will need that dependency installed separately.
  • Interactive features (live-runnable Monaco code, draggable elements, drawing mode) only work in the live dev-server or hosted SPA view, not in a static PDF or PPTX export.
  • Best suited to developer-audience talks that benefit from code and diagrams; a purely visual or narrative deck may not gain much over a conventional slide tool.

$Related Playbooks

Developer Tools

Technical Writing Style Guide

Write docstrings, READMEs, commit messages, and PR descriptions that read like human technical documentation instead of LLM output — six concrete 'tells' with before/after rewrites, a smoothness diagnostic for prose that sounds authoritative while stating one fact three times, and industry-metaphor substitution tables ('surfaces' to 'raises/returns/logs', 'wired through' to 'passed as a parameter').

5 minutes
Intermediate
Developer Tools

Three.js Scroll World Builder

Build a scroll-controlled real-time Three.js experience as one persistent 3D world instead of stacked sections — a scene-ledger data model for authoring chapters, native-scroll-to-deterministic-state mapping with separate exact and smoothed progress, cinematic camera composition, a measurable per-device performance budget, and mandatory reduced-motion and WebGL-failure fallbacks.

20 minutes
Advanced
Developer Tools

Visual Explainer HTML Pages

Have Claude Code explain architectures, diffs and plans as self-contained HTML pages with labeled Mermaid diagrams and a deliberate design pass, instead of walls of chat text, terminal ASCII or generic AI-looking pages.

5 minutes
Intermediate
Developer Tools

Web Animation Design Principles

Design web animations that feel natural and purposeful — a decision-first easing blueprint (ease-out for entrances, ease-in-out for movement, ease for hover), duration and frequency rules, spring configuration, the GPU-only performance rule, and mandatory prefers-reduced-motion accessibility patterns with working CSS and Framer Motion code.

5 minutes
Intermediate
Developer Tools

Web Technique to Skill Extractor

Turn a one-off web visual or interaction technique into a reusable, well-scoped skill — the one-sentence mechanism test that separates a real technique from mere styling, a mechanism-vs-staging sort for what belongs in the skill versus the demo, rules anchored to named failures instead of adjectives, and a demo craft bar that treats the acceptance reference as a target, not inspiration.

10 minutes
Advanced
Developer Tools

Planning with Files

Persistent, file-based planning for multi-step AI-agent work — task_plan.md, findings.md, and progress.md on disk, a 2-action rule for capturing multimodal findings before they're lost, a 3-strike error protocol, and a 5-question reboot test to verify state survives a compaction.

5 minutes
Intermediate
Developer Tools

Secret Scan and Rotation

Find committed credentials in a repository's working tree and full history, triage real secrets from test fixtures, and drive rotation-first remediation — with an absolute rule against ever printing a secret's actual value, even during the scan itself.

5 minutes
Intermediate
Developer Tools

Self-Improvement Loop Design

Design systems where the harness itself is the optimization target — an optimization ladder from prompt to context to workflow to harness code, a two-split empirical acceptance gate, an outside-the-loop invariant for the evaluator, and a catalog of documented reward-hacking and collapse failure modes.

10 minutes
Advanced
Developer Tools

Skill Security Inspector

Review an AI agent skill before installing it using two independent lines — static scanner evidence plus source-aware semantic judgment — checking purpose fit, permission fit, sensitive access, external transmission, execution risk, and persistence, down to a clear APPROVE, CAUTION, or REJECT verdict.

10 minutes
Intermediate
Developer Tools

Writing for AI Agents: A Craft Reference

A theory of writing any document an agent consumes — skills, CLAUDE.md, reference docs — built on context pointers, an information hierarchy of steps versus disclosed reference, completion criteria, and leading words that anchor behavior in the fewest tokens.

10 minutes
Advanced
Developer Tools

Windows RDP Connection Doctor

Diagnose Windows App / AVD / W365 remote-desktop connection quality on macOS — transport selection (UDP Shortpath vs WebSocket), VPN/proxy interference with STUN/TURN, and Shortpath failures from the logs.

15 minutes
Intermediate
Developer Tools

Who Built This Before Me

Check whether your project, tool, library, or product idea has already been built — before you invest a weekend or a quarter in it.

5 minutes
Intermediate

Browse all Developer Tools playbooks →