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-cli.md

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

CLI Commands

Slidev command-line interface reference.

Dev Server

slidev [entry]
slidev slides.md

Options:

Option Default Description
--port 3030 Server port
--open false Open browser
--remote [password] - Enable remote access
--bind 0.0.0.0 Bind address
--base / Base URL path
--log warn Log level
--force false Force optimizer re-bundle
--theme - Override theme

Examples:

slidev --port 8080 --open
slidev --remote mypassword
slidev --base /talks/my-talk/

Build

slidev build [entry]

Options:

Option Default Description
--out dist Output directory
--base / Base URL for deployment
--download false Include PDF download
--theme - Override theme
--without-notes false Exclude presenter notes

Examples:

slidev build --base /my-repo/
slidev build --download --out public
slidev build slides1.md slides2.md  # Multiple builds

Export

slidev export [entry]

Options:

Option Default Description
--output - Output filename
--format pdf pdf / png / pptx / pptx-editable / md
--timeout 30000 Timeout per slide (ms)
--range - Slide range (e.g., 1,4-7)
--dark false Export dark mode
--with-clicks false Include click steps
--with-toc false PDF table of contents
--wait 0 Wait ms before export
--wait-until networkidle Wait condition
--omit-background false Transparent background
--executable-path - Browser path

Examples:

slidev export
slidev export --format pptx
slidev export --format png --range 1-5
slidev export --with-clicks --dark
slidev export --timeout 60000 --wait 2000

Format

slidev format [entry]

Formats the slides markdown file.

MCP Server

slidev mcp [entry]

Starts an MCP (Model Context Protocol) server over stdio for AI agents to inspect and edit the slides. When a dev server is running, an HTTP MCP endpoint is also available at http://localhost:<port>/__mcp. See tool-mcp.

Theme Eject

slidev theme eject [entry]

Options:

Option Default Description
--dir theme Output directory
--theme - Theme to eject

Extracts theme to local directory for customization.

npm Script Usage

In package.json:

{
  "scripts": {
    "dev": "slidev",
    "build": "slidev build",
    "export": "slidev export"
  }
}

With arguments (note --):

npm run dev -- --port 8080 --open
npm run export -- --format pptx

Boolean Options

slidev --open           # Same as --open true
slidev --no-open        # Same as --open false

Install CLI Globally

npm i -g @slidev/cli

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