Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Slidev CLI

$ slidev Official Low Risk
Slidev · Design & Docs · MIT · macos / linux / windows

Slidev (@slidev/cli) builds interactive code-heavy presentations from Markdown using Vue components, Shiki syntax highlighting, and Vite. While slidev build and slidev export --format pdf work from the CLI, Slidev is optimized around a browser dev server and requires playwright-chromium for PDF/PNG exports.

FCRS-1.0 Score
74 /100
Usable w/ Caveats
Medium Confidence
Zero-Friction Install
npm install -g @slidev/cli
CLI vs MCP Decision CLI Only

slidev runs Vite builds and Playwright browser exports locally inside the presentation project directory.

Agent-Readiness Checklist

— JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 17 / 25

Default slidev command launches an interactive Vite dev server and browser; build and export work non-interactively once deps are installed.

  • Bare slidev invocation starts a blocking dev server
  • slidev build and slidev export --format pdf run non-interactively
Trust & Safety 21 / 25

Pure local build tool, though theme/plugin imports execute project JavaScript/Vue code during Vite bundling.

  • No credentials or remote SaaS mutations
  • Theme packages run Vite/Node plugins locally
Setup & Portability 10 / 15

Heavy Node/Vite/Vue ecosystem footprint plus playwright-chromium requirement for slidev export.

  • Requires playwright-chromium for PDF/PNG/PPTX export
  • Interactive theme install prompts if themes are missing
Utility & Efficiency 11 / 15

Rich interactive code slides (Monaco, Twoslash, animations), though overkill compared to marp for simple automated PDF decks.

  • Feature-rich Vite/Vue presentation engine
Maintenance & Lineage 8 / 10

Official Slidev project (slidevjs/slidev) actively maintained under MIT.

  • Official Slidev GitHub organization
Docs & Verifiability 7 / 10

Good docs at sli.dev covering CLI options and exporting.

  • Official docs at sli.dev/guide/exporting.html

Security, Auth & Guardrails

Auth Modes
No Auth
Credential Storage

No credentials required; local Vite/Node.js build tool.

Side Effects
Read-Only Local Write
Cost & Quotas

Free open-source software (MIT).

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Slidev CLI Agent Rules
- Run `slidev build` or `slidev export` in CI/agent turns; NEVER launch the interactive `slidev` dev server synchronously.
- Ensure `playwright-chromium` is installed before running `slidev export --format pdf`.
- Pin theme packages in `package.json` instead of prompting for dynamic theme installs.

Agent-Ready Command Recipes

Safe Read-Only Queries

Check Slidev CLI version
slidev --version

Displays the installed @slidev/cli version locally.

Controlled Writes & Previews

Build Slidev deck as static SPA
slidev build slides.md --out dist

Bundles the presentation into static HTML/JS/CSS assets in dist without launching Playwright.

Strengths for Agents

  • + Builds rich interactive developer slide decks with code highlighting, diagrams, and Vue components.
  • + slidev build outputs a clean deployable static SPA.
  • + slidev export --format pdf --with-clicks captures animated step transitions.

Caveats & Pitfalls

  • ! Heavy runtime footprint (Vite, Vue, Playwright Chromium) compared to marp or typst.
  • ! Running bare slidev starts a blocking dev server and can prompt to install missing themes.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI