Przejdź do treści
Biblioteka skilli
Programowanie · Konwersja i formaty

slidev-cli-skilld

/slidev-cli-skilld

Buduje, uruchamia i eksportuje prezentacje Slidev przez CLI do PDF, PPTX, PNG lub Markdown.

Licencja
MIT
Ostatnia zmiana repozytorium
11.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
9
Skrypty
0
Komentarze HTML
1
Adresy URL w SKILL.md
7
Przestarzałość

Brak sygnałów. Repozytorium zmienione 11.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co sprawdzić przed instalacją
  • SKILL.md zawiera komentarze HTML (1). Nie widać ich w podglądzie Markdown, a model je czyta.

Co robi i kiedy

Buduje, uruchamia i eksportuje prezentacje Slidev przez CLI do PDF, PPTX, PNG lub Markdown.

Oryginalny opis (EN)

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.

Jak działa

  1. Environment limits
  2. Quick start
  3. Commands
  4. Smallest working deck
  5. Key rules
  6. References
  7. Common workflows
  8. Resources
Sekcje z nagłówków SKILL.md, w oryginale · 121 linii, 537 słów
Podgląd SKILL.md
---
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
Pliki w paczce (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

Wersje

W bazie nie ma innych skilli o nazwie slidev-cli-skilld.

Identyczna treść występuje jeszcze w 1 innych folderach na GitHubie. Tu pokazujemy jedną, najlepiej ocenioną kopię.

Migawka bazy z 13.11.2026 · wersja paczki 7304b40c0085 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100slidev
    Tworzy prezentacje dla programistów w Slidev z Markdownem, komponentami Vue i podświetlaniem kodu.
  • 100slidev
    Buduje prezentacje Slidev dla programistów: wykłady techniczne, przechodzenie przez kod i materiały dydaktyczne.
  • 100slidev
    Tworzy prezentacje webowe dla programistów w Slidevie, z Markdownem, komponentami Vue i podświetlaniem kodu.
  • 85Slidev Mastery
    Pomaga tworzyć prezentacje w Slidev: składnię markdown, układy, animacje, motywy, edytor Monaco, podświetlanie kodu i eksport.
  • 95slidev
    Tworzy prezentacje i wystąpienia w Slidev: praca z slides.md, tryb dev, eksport do PDF i budowanie statycznej strony ze slajdami.
  • 100slidev
    Prowadzi po frameworku prezentacji Slidev opartym na Markdown: tworzenie i planowanie slajdów, konfiguracja projektów, wyciąganie stylów marki i interaktywne dema.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.