Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

slidev

БесплатноБез исполняемых скриптовНе проверен

Create and present web-based slidedecks for developers using Slidev with Markdown, Vue components, code highlighting, animations, and interactive features…

slidevjsот slidevjs★ 49 702 звезды на GitHub16 установок в других каталогах

Об этом скилле

Slidev - Presentation Slides for Developers

Web-based slides maker built on Vite, Vue, and Markdown.

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)
  • Record presentations with presenter notes
  • Export to PDF, PPTX, or host as SPA
  • Code walkthroughs for developer talks or workshops

Prerequisites

Slidev is a Node.js project. Before creating or running a deck, check that the machine has:

  • Node.js >= 22.12.0: node -v. If it is missing or older, install the LTS release from https://nodejs.org or use a version manager such as nvm or fnm.
  • pnpm (recommended package manager): pnpm -v. If it is missing, run npm i -g pnpm or corepack enable. npm, yarn, and bun also work; replace pnpm in the commands below.

Do not assume a development setup exists. If either check fails, walk the user through the installation before running any Slidev command.

Quick Start

pnpm create slidev    # Create project
pnpm run dev          # Start dev server (opens http://localhost:3030)
pnpm run build        # Build static SPA
pnpm run export       # Export to PDF (requires playwright-chromium)

Verify: After pnpm run dev, confirm slides load at http://localhost:3030. After pnpm run export, check the output PDF exists in the project root.

Basic Syntax

---
theme: default
title: My Presentation
---

# First Slide

Content here

---

# Second Slide

More content

<!--
Presenter notes go here
-->
  • --- separates slides
  • First frontmatter = headmatter (deck config)
  • HTML comments = presenter notes

Core References

Topic Description Reference
Markdown Syntax Slide separators, frontmatter, notes, code blocks core-syntax
Animations v-click, v-clicks, motion, transitions core-animations
Headmatter Deck-wide configuration options core-headmatter
Frontmatter Per-slide configuration options core-frontmatter
CLI Commands Dev, build, export, theme commands core-cli
Components Built-in Vue components core-components
Layouts Built-in slide layouts core-layouts
Exporting PDF, PPTX, PNG export options core-exporting
Hosting Build and deploy to various platforms core-hosting
Global Context $nav, $slidev, composables API core-global-context

Feature Reference

Code & Editor

Feature Usage Reference
Line highlighting ```ts {2,3} code-line-highlighting
Click-based highlighting ```ts {1|2-3|all} code-line-highlighting
Line numbers lineNumbers: true or {lines:true} code-line-numbers
Scrollable code {maxHeight:'100px'} code-max-height
Code tabs ::code-group (requires comark: true) code-groups
Monaco editor ```ts {monaco} editor-monaco
Run code ```ts {monaco-run} editor-monaco-run
Edit files <<< ./file.ts {monaco-write} editor-monaco-write
Code animations ````md magic-move code-magic-move
TypeScript types ```ts twoslash code-twoslash
Import code <<< @/snippets/file.js code-import-snippet

Diagrams & Math

Feature Usage Reference
Mermaid diagrams ```mermaid diagram-mermaid
PlantUML diagrams ```plantuml diagram-plantuml
LaTeX math $inline$ or $$block$$ diagram-latex

Layout & Styling

Feature Usage Reference
Canvas size canvasWidth, aspectRatio layout-canvas-size
Zoom slide zoom: 0.8 layout-zoom
Scale elements <Transform :scale="0.5"> layout-transform
Layout slots ::right::, ::default:: layout-slots
Scoped CSS <style> in slide style-scoped
Global layers `global-to
Полный SKILL.md на GitHub

Установить slidev в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

README.mdreferences/animation-click-marker.mdreferences/animation-drawing.mdreferences/animation-rough-marker.mdreferences/api-slide-hooks.mdreferences/build-og-image.mdreferences/build-pdf.mdreferences/build-remote-assets.mdreferences/build-seo-meta.mdreferences/code-groups.mdreferences/code-import-snippet.mdreferences/code-line-highlighting.mdreferences/code-line-numbers.mdreferences/code-magic-move.mdreferences/code-max-height.mdreferences/code-twoslash.mdreferences/core-animations.mdreferences/core-cli.mdreferences/core-components.mdreferences/core-exporting.mdreferences/core-frontmatter.mdreferences/core-global-context.mdreferences/core-headmatter.mdreferences/core-hosting.mdreferences/core-layouts.mdreferences/core-syntax.mdreferences/diagram-latex.mdreferences/diagram-mermaid.mdreferences/diagram-plantuml.mdreferences/editor-monaco-run.mdreferences/editor-monaco-write.mdreferences/editor-monaco.mdreferences/editor-prettier.mdreferences/editor-side.mdreferences/editor-vscode.mdreferences/layout-canvas-size.mdreferences/layout-draggable.mdreferences/layout-global-layers.mdreferences/layout-slots.mdreferences/layout-transform.md

FAQ

Что делает скилл slidev?

Create and present web-based slidedecks for developers using Slidev with Markdown, Vue components, code highlighting, animations, and interactive features. Use when building technical presentations, conference talks, code walkthroughs, teaching materials, or developer decks.

Как установить скилл slidev?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл slidev запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить slidev с