Skip to content
Skills Library
Programming · Conversion & formats

slidev-cli-skilld

/slidev-cli-skilld

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.

Licence
MIT
Last repository change
11.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
9
Scripts
0
HTML comments
1
URLs in SKILL.md
7
Deprecation

No signals detected. Repository changed on 11.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What to check before installing
  • SKILL.md zawiera komentarze HTML (1). Nie widać ich w podglądzie Markdown, a model je czyta.

What it does and when to use it

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.

Original author 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.

How it works

  1. Environment limits
  2. Quick start
  3. Commands
  4. Smallest working deck
  5. Key rules
  6. References
  7. Common workflows
  8. Resources
Original SKILL.md headings · 121 lines, 537 words
SKILL.md preview
---
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

```bash
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](references/cli.md)

## Smallest working deck

```md
---
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](references/mcp.md).
- Magic Move code animation needs a four-backtick wrapper fence. See [references/code-blocks.md](references/code-blocks.md).

## References

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

## Common workflows

New deck, iterate, export PDF:

```bash
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:

```bash
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:

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

## Resources

- Documentation: https://sli.dev
- Syntax guide: https://sli.dev/guide/syntax
- Theme gallery: https://sli.dev/resources/theme-gallery
Files in this package (9)
  • SKILL.md 4 KB
  • references/animations.md 2 KB
  • references/cli.md 5 KB
  • references/code-blocks.md 2 KB
  • references/components-layouts.md 3 KB
  • references/config.md 4 KB
  • references/exporting.md 3 KB
  • references/mcp.md 2 KB
  • references/syntax.md 3 KB

Versions

The database has no other skills named slidev-cli-skilld.

Identical content appears in 1 other GitHub folders. We show one copy with the highest score.

Database snapshot: 13.11.2026 · package version 7304b40c0085 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100slidev
    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.
  • 100slidev
    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.
  • 100slidev
    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.
  • 85Slidev Mastery
    This skill should be used when the user asks to "create slides with Slidev", "use Slidev syntax", "add Slidev components", "configure Slidev theme", "export Slidev presentation", or mentions Slidev-specific features like layouts, animations, Monaco editor, or code highlighting.…
  • 95slidev
    Use when the user wants to create slides, build a presentation or talk, make a deck or pitch, export slides to PDF, work with an existing slides.md, run slidev dev mode, or build a static slide site. Also applies when the user mentions "presentation", "keynote", "talk",…
  • 100slidev
    Guide for Slidev markdown-based presentation framework. Use when creating slide decks, planning presentations, setting up Slidev projects, extracting brand styles, building interactive demos, or needing an overview of Slidev development workflows.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.