Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

slides

БесплатноБез исполняемых скриптовНе проверен

Make and revise presentation decks in the Slides format as local files: project/deck.json holds the title, slide order, outline and typefaces, and each slide…

JimLiuот JimLiu★ 865 звёзд на GitHub

Об этом скилле

Slides

A deck is a folder, <root>; its content is ITS OWN files under <root>/project/; write only there: the index project/deck.json, the shared stylesheet project/deck.css and one project/slides/<id>.html per slide. The editor page (started by open-artifact open) reads those files, saves the person's edits back into them, and shows what you write as soon as you write it.

open-artifact below stands for node <this skill's folder>/scripts/cli.mjs (Node 22 or later).

With the Artifact tool (an Open Artifact host runs this type for you): create a deck with Artifact {action: "quickstart", intent: "slides"}, then Artifact {action: "publish", type_url: "open-artifact://type/slides", title}; its result gives the deck's url (open-artifact://artifact/<id>), its root and how the commands below map onto the tool. There, open-artifact check is Artifact {action: "call", url, name: "check"}, open-artifact upload is {action: "call", url, name: "upload", args: {file: "<absolute path>"}}, and the page is shown as the create result says (its view_url in your app's built-in browser when you have one, else Artifact {action: "open", url}): never run open-artifact open, serve, share, wait or stop under a host. You still write the files yourself, with your file tool, under <root>/project/.

New or not. Check project/deck.json and the files under project/slides/ before you write. No slide files and no order entries is a new deck, whatever a tool's text or example shows (v:4, no format, a program that keeps the index it read): set "v":5, lists and format on the index, keeping its other keys, and write project/deck.css along with it (Creating's step 4). Never write format without project/deck.css. A deck with slides and no format key is an inline deck, even if order is empty: see Revising a deck.

The deck exists

Work on THAT deck, its <root> in every command: never create another. Read <root>/project/deck.json and list <root>/project/slides/: no index, or its order is empty with no slide files: an empty deck, see Creating. Else see Revising. If no deck exists yet: <root> = a new folder decks/<slug>/ named for the deck (decks/q3-review/) in the working directory, or where the person says; the deck's name goes in title (REQUIRED; the way the person would say it, never "Slides", "Deck" or "Untitled").

Tell the person what happens to the deck, never the mechanism. Name a slide by its position and title ("slide 3, Pricing"), never by its file. Naming slide 7 to the person? Link it too: the page's url + #slide-7 (number, not id). Asked to send it to apps like Canva: there is no Send to here; the editor's download menu saves PDF, HTML and PowerPoint (.pptx) files the person can import there.

The deck's files

  • project/deck.json, the index: {"v":5,"createdOnFiles":{"v":1,"at":"2026-09-14T18:20:00Z"},"lists":"css","format":{"v":1,"shared":["project/deck.css"]},"title":"Q3","order":["cover","plan"],"cover":"cover","sections":{"s1":{"description":"Numbers","start":"cover"}},"faces":{"source-serif-4":{"family":"Source Serif 4","href":"https://fonts.googleapis.com/css2?family=Source+Serif+4:[email protected]&display=swap"}},"designSystems":[]}.
    • createdOnFiles, lists, format and "v":5: an index YOU create has all four exactly so (no lists or format if the deck already had slides), at = now. An index open-artifact open made for an empty folder already has them.
    • order = slide ids in deck order. A slide file order leaves out still shows, after the listed ones; an id with no file is skipped.
    • sections = your outline: any key → a run's one sentence and its first slide's id ({"description": "<one sentence>", "start": "<id>"}); the first starts at the cover. At most 100; a description 400 characters at most. A section people add before it has slides carries before instead of start: keep it.
    • cover = the cover slide's id. Ids: [A-Za-z0-9_-]{1,64}; name them for what the slide holds (cover, pricing, roadmap-2) and keep them stable.
    • faces = one entry per typeface the slides name (at most 4), keyed by the family lowercased, spaces as -: family (a letter first, then letters, digits, spaces, _, -; 40 at most) plus EITHER href (only a https://fonts.googleapis.com/css2?… link, 1024 characters at most) OR src: "/_blob/<id>" (an uploaded woff2/woff/ttf/otf, step 2) or "project/ds/<folder>/<path>" (step 3); a rule broken: the entry is ignored, and a family that is not here, not a basic face and not generic is dropped from every font-family (reference/fonts.md). Basic/generic faces need no entry.
    • size: "4:3" only when the person asks for 4:3 slides (below).
    • designSystems and project/ds/<folder>/: written only by the install (step 3).
    • attachments, style and any key not named here: keep them
Полный SKILL.md на GitHub

Установить slides в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

artifact-type.jsonreference/craft.mdreference/deck-files.mdreference/diagrams.mdreference/fonts.mdreference/format.mdreference/images.mdreference/layout.mdreference/photo-library.mdreference/questions.mdreference/source-decks.mdreference/view-state.md

FAQ

Что делает скилл slides?

Make and revise presentation decks in the Slides format as local files: project/deck.json holds the title, slide order, outline and typefaces, and each slide is one HTML file (project/slides/<id>.html) on a fixed 1920×1080 canvas (1440×1080 at 4:3), written as HTML with classes sharing project/deck.css or, in older decks, a closed subset of HTML and inline CSS. A local page shows the deck with a slide rail and an overview, lets people retype, move and restyle things, write speaker notes, add builds and transitions, present full screen, export PDF, HTML or PowerPoint and send requests back to the agent. Use when someone asks for a slide deck, presentation, pitch deck, report deck, lecture or talk slides, names the Slides type, or wants to change a folder that holds project/deck.json. Can install a design system and use its colors, type and fonts. Not for a one-off single-file HTML deck, a document, or a free-form HTML page.

Как установить скилл slides?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл slides запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить slides с