Slidev

Use this skill when working with Slidev presentations. Helps with slide syntax, frontmatter configuration, layouts, animations, code highlighting, diagrams, themes, and exporting. Prevents common mistakes like incorrect asset paths, deprecated features, and non-existent layouts.

marcoshaber99 Updated

File contents

Use this skill whenever you are working with Slidev code to obtain domain-specific knowledge. Read individual rule files for detailed explanations and code examples:

  • rules/anti-patterns.md - Critical mistakes to avoid: deprecated features, incorrect paths, non-existent layouts
  • rules/core-syntax.md - Slide separators, frontmatter structure, headmatter vs per-slide configuration
  • rules/layouts.md - Built-in layouts, named slots, custom layout creation
  • rules/code-blocks.md - Shiki highlighting, line highlighting syntax, Monaco editor, Magic Move
  • rules/animations.md - Click animations (v-click, v-after), slide transitions, v-motion
  • rules/components.md - Built-in components: Arrow, Link, Toc, SlidevVideo, RenderWhen
  • rules/diagrams.md - Mermaid and PlantUML integration and configuration
  • rules/assets.md - Images, videos, fonts - correct paths and public folder usage
  • rules/themes.md - Using themes, theme configuration, ejecting themes
  • rules/export.md - PDF, PNG, PPTX export and SPA build configuration
  • rules/presenter.md - Presenter mode, speaker notes, timer

marcoshaber99/slidev-skills/tree/main/skills/slidev commit 6c9f6605ee

Frequently asked questions

npx skillmds@latest add marcoshaber99/slidev