Index of every page on this site: llms.txt
All skills
vite-hub avatar

/slidev

@8c10e89
by ViteHubvite-hub/drop9 stars
Run it yourself

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.

Use this Skill: https://skilld.dev/gh/vite-hub/drop/slidev

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencescore-layouts.md

≈701 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Built-in Layouts

Available layouts for slides.

Basic Layouts

default

Standard slide layout.

---
layout: default
---

center

Content centered horizontally and vertically.

---
layout: center
---

cover

Title/cover slide with centered content.

---
layout: cover
---

end

End slide.

---
layout: end
---

full

Full-screen content, no padding.

---
layout: full
---

none

No layout styling.

---
layout: none
---

Text Layouts

intro

Introduction slide.

---
layout: intro
---

quote

Large quotation display.

---
layout: quote
---

section

Section divider.

---
layout: section
---

statement

Statement/affirmation display.

---
layout: statement
---

fact

Fact/data display.

---
layout: fact
---

Multi-Column Layouts

two-cols

Two columns side by side:

---
layout: two-cols
---

# Left Column

Left content

::right::

# Right Column

Right content

two-cols-header

Header with two columns below:

---
layout: two-cols-header
---

# Header

::left::

Left content

::right::

Right content

Image Layouts

image

Full-screen image:

---
layout: image
image: /photo.jpg
backgroundSize: cover
---

image-left

Image on left, content on right:

---
layout: image-left
image: /photo.jpg
class: my-class
---

# Content on Right

image-right

Image on right, content on left:

---
layout: image-right
image: /photo.jpg
---

# Content on Left

Props: image, class, backgroundSize

Iframe Layouts

iframe

Full-screen iframe:

---
layout: iframe
url: https://example.com
---

iframe-left

Iframe on left, content on right:

---
layout: iframe-left
url: https://example.com
---

# Content

iframe-right

Iframe on right, content on left:

---
layout: iframe-right
url: https://example.com
---

# Content

Layout Loading Order

  1. Slidev default layouts
  2. Theme layouts
  3. Addon layouts
  4. Custom layouts (./layouts/)

Later sources override earlier ones.

Custom Layouts

Create layouts/my-layout.vue:

<template>
  <div class="slidev-layout my-layout">
    <slot />
  </div>
</template>

<style scoped>
.my-layout {
  display: flex;
  align-items: center;
  justify-content: center;
}
</style>

With named slots:

<template>
  <div class="slidev-layout two-areas">
    <div class="top">
      <slot name="top" />
    </div>
    <div class="bottom">
      <slot />
    </div>
  </div>
</template>

Usage:

---
layout: two-areas
---

::top::

Top content

::default::

Bottom content

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning10d3 checks · Risk SAFE
  • Gen Agent Trust Hub10d

    The skill provides a comprehensive guide for using Slidev, a developer-focused presentation tool, including its Model Context Protocol (MCP) server for AI agents. While it offers powerful features like live code execution and direct filesystem edits, these are standard functionalities for developers. However, the ability to read and modify files through the MCP server introduces an attack surface for indirect prompt injection.

  • Socket10d

    No alerts

  • Snyk10d

    Risk: MEDIUM · 1 issue

Signed by skilld at 8c10e89. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated last month

README badge

README badge for vite-hub/drop/slidev