slidev-cli-skilld

Build, present, and publish Slidev presentations using @slidev/cli. Suitable for: setting up a Slidev project, writing or editing slides.md (Markdown) presentations, running the dev server, adding code highlighting, animations, layouts or Vue components, exporting to PDF/PPTX/PNG/Markdown, building a hostable single-page app (SPA), or driving slides via the built-in MCP server.

Last repository push
GitHub Stars
187
Forks
10
Issues / PRs
2

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "slidev-cli-skilld" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-6567446fcc4ad3d4a8e39242d4be1e684eb477d6ddf6dafe5cf0061e412fcde8. Verify the upstream source and version against https://github.com/skilld-dev/vue-ecosystem-skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Build, present, and publish Slidev presentations using @slidev/cli. Suitable for: setting up a Slidev project, writing or editing slides.md (Markdown) presentations, running the dev server, adding code highlighting, animations, layouts or Vue components, exporting to PDF/PPTX/PNG/Markdown, building a hostable single-page app (SPA), or driving slides via the built-in MCP server.

0 Downloads

Introduction source: third_party · skilld-dev · 0.0.1 Reference

SkillPi interpretation

Tasks
Build, present, and ship Slidev decks with @slidev/cli. Use when scaffolding a Slidev project, writing or editing slides.md Markdown decks, running the dev server, adding code highlighting, animations, layouts, or Vue components, exporting to PDF/PPTX/PNG/Markdown, building a hostable SPA, or driving slides through the built-in MCP server.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: slidev-cli-skilld
description: Build, present, and ship Slidev decks with @slidev/cli. Use when scaffolding a Slidev project, writing or editing slides.md Markdown decks, running the dev server, adding code highlighting, animations, layouts, or Vue components, exporting to PDF/PPTX/PNG/Markdown, building a hostable SPA, or driving slides through the built-in MCP server.
license: MIT

Slidev CLI (@slidev/cli v53.0.0)

Markdown slides for developers, built on Vite, Vue 3, UnoCSS, and Shiki. Verified against the prepared @slidev/cli 53.0.0 package source.

Environment limits

  • Node.js >= 22.12.0 (package.json engines).
  • CLI export to PDF/PNG/PPTX needs an optional peer dependency: npm i -D playwright-chromium (package.json peerDependencies, marked optional).
  • vite-plugin-pwa is an optional peer dependency for PWA output.

Quick start

npm init slidev        # scaffold a project (README.md); pnpm create slidev also works
npm run dev            # dev server on http://localhost:3030
npm run build          # static SPA into dist/
npm run export         # PDF into the project root

In a scaffolded project, dev/build/export scripts wrap the slidev bin. Run the bin directly after npm i -g @slidev/cli, or with npx.

Verify: after dev, slides load at http://localhost:3030. After export, the PDF exists in the project root.

Commands

Task Command
Dev server slidev [entry] (entry defaults to slides.md)
Build SPA slidev build [entry..]
Export deck slidev export [entry..]
Export notes slidev export-notes [entry..]
Format markdown slidev format [entry..]
MCP server (stdio) slidev mcp [entry]
Eject theme slidev theme eject [entry]

Full flags and defaults: references/cli.md

Smallest working deck

---
theme: default
title: My Talk
transition: slide-left
---

# First slide

Content

---

# Second slide

<!--
Presenter notes: the last HTML comment of a slide.
-->
  • --- separates slides; blank lines around it.
  • The first frontmatter block is the headmatter (deck config).
  • Later blocks are per-slide frontmatter.

Key rules

  • Dev server default port is 3030; if taken, Slidev picks another in 3030-4000 (dist/cli.mjs port logic).
  • --tunnel requires --remote (dist/cli.mjs).
  • --per-slide is rejected with --format pptx-editable (dist/export-LauAJGMx.mjs).
  • slidev export prints a pointer to the browser exporter; when the dev server runs, visit http://localhost:<port>/export/ to export from the browser (dist/cli.mjs).
  • Editing slides programmatically: prefer the built-in MCP tools over raw text edits; they handle compound --- separators and hot-reload. See references/mcp.md.
  • Magic Move code animation needs a four-backtick wrapper fence. See references/code-blocks.md.

References

Topic File
CLI commands, flags, defaults, shortcuts references/cli.md
Markdown syntax: slides, notes, imports, diagrams references/syntax.md
Headmatter and per-slide frontmatter keys references/config.md
Code blocks: highlighting, Monaco, Magic Move, snippets references/code-blocks.md
Click animations, motion, transitions, markers, drawing references/animations.md
Built-in components, layouts, global context references/components-layouts.md
Export formats, build output, hosting references/exporting.md
MCP server for AI agents references/mcp.md

Common workflows

New deck, iterate, export PDF:

npm init slidev
slidev                       # dev server, edit slides.md, check localhost:3030
npm i -D playwright-chromium # once, for CLI export
slidev export --with-clicks  # PDF including click steps

Agent editing a live deck:

slidev &                     # dev server
# connect MCP client to http://localhost:3030/__mcp
# use slidev-list-slides / slidev-update-slide / slidev-insert-slide

Static site for GitHub Pages:

slidev build --base /<repo-name>/ --download

Resources

Current listing version

0.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value92/100

Highlights

  • 提供完整的 Slidev 演示文稿构建、展示与导出能力
  • 支持 PDF/PPTX/PNG/SPA 多格式输出
  • 集成 MCP 服务器实现 AI 驱动的幻灯片编辑
Trigger Precision95/100

Highlights

  • description 明确覆盖 scaffolding、编辑、导出、MCP 等核心场景
  • 触发词边界清晰,无歧义
Structure and Standards95/100

Highlights

  • 结构清晰,包含 Quick start、Commands、Examples、Workflows
  • frontmatter 完整,文档长度适中
Execution Reliability90/100

Highlights

  • 工具版本明确(@slidev/cli v53.0.0)
  • 覆盖端口冲突、依赖缺失等关键异常处理
Evidence Verifiability (mean of the first four)93/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • localhost
  • sli.dev

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.