Slidev Presentation Framework
Entry point for Slidev development. Provides an overview and routes to focused skills.
Available Skills
This plugin provides focused skills for specific Slidev topics:
Content Strategy
- slidev:presentations - Presentation strategy, problem-first framing, rule of threes, audience templates, one-pagers, assertion-evidence design
- slidev:styles - Brand discovery with Playwright MCP, theme generation, compliance validation, WCAG contrast checks
- slidev:interactive - Interactive demos, Vue components, iframe mocks, workflow animations, clickable prototypes
Technical Reference
- slidev:syntax - Slide separators, frontmatter, layouts, MDC syntax, presenter notes, clicks, transitions
- slidev:code - Code blocks: Shiki highlighting, line highlighting, Monaco editor, Magic Move, TwoSlash, code groups
- slidev:export - Export to PDF, PPTX, PNG, SPA build, CLI flags
- slidev:troubleshooting - Common errors, export failures, font issues, configuration debugging
Available Agents
Three agents compose into a pipeline for end-to-end presentation creation:
- content-strategist (haiku) - Questionnaire for audience, tone, problem framing, key messages. Outputs a content strategy brief
- brand-discoverer (haiku) - Extracts brand tokens (colors, fonts, spacing) from websites using Playwright MCP. Outputs brand config JSON
- slide-builder (sonnet) - Builds complete Slidev decks from strategy brief + brand config, applying presentation best practices
Each agent works independently or in sequence. The recommended pipeline:
- Run
content-strategist to define what the presentation needs
- Run
brand-discoverer if brand compliance is required
- Run
slide-builder to construct the deck from both outputs
Quick Start
# Create a new Slidev project
npm init slidev@latest
# Or start from an existing markdown file
npx slidev slides.md
Minimal Slide Deck
---
theme: default
title: My Presentation
---
# Welcome
First slide content
---
# Second Slide
More content here
---
layout: center
---
# Centered Slide
This slide uses the center layout
Project Structure
my-presentation/
├── slides.md # Main slide content
├── package.json # Dependencies
├── components/ # Custom Vue components (auto-imported)
├── layouts/ # Custom layouts
├── pages/ # Additional slide files
├── public/ # Static assets
├── styles/ # Custom CSS/UnoCSS
└── snippets/ # External code snippets
Key Concepts
- Markdown-first: Write slides in Markdown with YAML frontmatter for configuration
- Vue 3 powered: Use Vue components directly in slides
- Vite-based: Hot module replacement for instant preview updates
- Theme ecosystem: Install themes via npm packages (
slidev-theme-*)
- Code-focused: Built-in syntax highlighting, Monaco editor, and animated code transitions
- Presenter mode: Dual-window mode with notes, timer, and slide navigation
Configuration
Global configuration goes in the first slide's frontmatter:
---
theme: default
title: My Talk
info: |
Description of the presentation
author: Your Name
download: true
exportFilename: my-talk
highlighter: shiki
lineNumbers: true
drawings:
persist: false
transition: slide-left
comark: true
---
comark (formerly mdc, still a working but deprecated alias — see the syntax skill) enables Comark/MDC-style component syntax.
See templates/mise.toml for project task definitions.
1---2name: slidev3description: Guide for Slidev markdown-based presentation framework. Use when creating slide decks, planning presentations, setting up Slidev projects, extracting brand styles, building interactive demos, or needing an overview of Slidev development workflows.4---56# Slidev Presentation Framework78Entry point for Slidev development. Provides an overview and routes to focused skills.910## Available Skills1112This plugin provides focused skills for specific Slidev topics:1314### Content Strategy15- **slidev:presentations** - Presentation strategy, problem-first framing, rule of threes, audience templates, one-pagers, assertion-evidence design16- **slidev:styles** - Brand discovery with Playwright MCP, theme generation, compliance validation, WCAG contrast checks17- **slidev:interactive** - Interactive demos, Vue components, iframe mocks, workflow animations, clickable prototypes1819### Technical Reference20- **slidev:syntax** - Slide separators, frontmatter, layouts, MDC syntax, presenter notes, clicks, transitions21- **slidev:code** - Code blocks: Shiki highlighting, line highlighting, Monaco editor, Magic Move, TwoSlash, code groups22- **slidev:export** - Export to PDF, PPTX, PNG, SPA build, CLI flags23- **slidev:troubleshooting** - Common errors, export failures, font issues, configuration debugging2425## Available Agents2627Three agents compose into a pipeline for end-to-end presentation creation:2829- **content-strategist** (haiku) - Questionnaire for audience, tone, problem framing, key messages. Outputs a content strategy brief30- **brand-discoverer** (haiku) - Extracts brand tokens (colors, fonts, spacing) from websites using Playwright MCP. Outputs brand config JSON31- **slide-builder** (sonnet) - Builds complete Slidev decks from strategy brief + brand config, applying presentation best practices3233Each agent works independently or in sequence. The recommended pipeline:341. Run `content-strategist` to define what the presentation needs352. Run `brand-discoverer` if brand compliance is required363. Run `slide-builder` to construct the deck from both outputs3738## Quick Start3940```bash41# Create a new Slidev project42npm init slidev@latest4344# Or start from an existing markdown file45npx slidev slides.md46```4748### Minimal Slide Deck4950```markdown51---52theme: default53title: My Presentation54---5556# Welcome5758First slide content5960---6162# Second Slide6364More content here6566---67layout: center68---6970# Centered Slide7172This slide uses the center layout73```7475### Project Structure7677```78my-presentation/79├── slides.md # Main slide content80├── package.json # Dependencies81├── components/ # Custom Vue components (auto-imported)82├── layouts/ # Custom layouts83├── pages/ # Additional slide files84├── public/ # Static assets85├── styles/ # Custom CSS/UnoCSS86└── snippets/ # External code snippets87```8889## Key Concepts9091- **Markdown-first**: Write slides in Markdown with YAML frontmatter for configuration92- **Vue 3 powered**: Use Vue components directly in slides93- **Vite-based**: Hot module replacement for instant preview updates94- **Theme ecosystem**: Install themes via npm packages (`slidev-theme-*`)95- **Code-focused**: Built-in syntax highlighting, Monaco editor, and animated code transitions96- **Presenter mode**: Dual-window mode with notes, timer, and slide navigation9798## Configuration99100Global configuration goes in the first slide's frontmatter:101102```yaml103---104theme: default105title: My Talk106info: |107 Description of the presentation108author: Your Name109download: true110exportFilename: my-talk111highlighter: shiki112lineNumbers: true113drawings:114 persist: false115transition: slide-left116comark: true117---118```119120`comark` (formerly `mdc`, still a working but deprecated alias — see the `syntax` skill) enables Comark/MDC-style component syntax.121122See `templates/mise.toml` for project task definitions.