create-theme
Что он делает
Этот скилл создаёт тему для слайдов open-slide, охватывающую цвета, шрифты, макет и движение, чтобы будущие презентации могли иметь один общий вид. Он нужен дизайнерам и разработчикам, которые настраивают стили слайдов.
Когда использовать
- ✓Когда вы хотите создать новую тему слайдов со своим видом.
- ✓Когда вы хотите вынести тему из существующего слайда или набора изображений.
- ✓Когда вам нужен файл предпросмотра, который показывает, как тема работает на примерах слайдов.
Ссылка на скилл
https://github.com/open-slide/open-slide/blob/main/packages/core/skills/create-theme/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Создай тему под названием midnight по этим трём референсным изображениям.”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
Скилл записывает два связанных файла: документ темы с правилами палитры, шрифтов, макета и движения, а также небольшой запускаемый демо-слайд для предпросмотра темы. Записывает он только в папку тем.
Технический текст (оригинальный SKILL.md)
Оригинальный текст автора на английском, прямо с GitHub.
Create a slide theme
This skill produces a theme bundle under themes/: two paired files that together describe a reusable visual identity.
themes/<id>.md— agent-facing documentation: palette, typography, layout, fixed Title/Footer/Eyebrow components, motion. This is whatcreate-slidereads when an author picks the theme.themes/<id>.demo.tsx— a runnable mini-slide (a normal slide module:export default Page[]) that demonstrates the theme on 2–3 pages. The dev UI's Themes panel loads this file and renders it as the theme's live preview.
Both files share the same stem so the runtime can pair them automatically.
A theme is distinct from a slide's design const. The theme markdown is authoring-time aesthetic direction (copied into a real slide's source by create-slide). The demo .tsx is a self-contained preview, not a real slide — it does not appear in the slides list. A per-slide const design: DesignSystem = { … } (declared at the top of slides/<id>/index.tsx) is the runtime tokens object the user can tweak from the Design panel. The markdown commits the direction; the per-slide design const makes the slide tweakable; the demo .tsx makes the theme previewable.
You only write files under themes/<id>.md and themes/<id>.demo.tsx. Never modify real slides or other configuration. The canvas / type-scale defaults that themes can override live in the slide-authoring skill — read it before writing the theme so your overrides are stated explicitly.
Step 1 — Identify the input source
A theme can be derived from any combination of three input shapes:
- Image references — paths or URLs to slide screenshots, mood-board images, brand assets.
- Free-text description — prose describing the desired palette, fonts, feel.
- An existing slide —
slides/<id>/index.tsxwhose visual identity should be lifted out into a reusable theme.
If the user's original message already specifies the inputs unambiguously, skip the question and proceed. Otherwise call AskUserQuestion (multi-select) so they can pick one or more sources, and ask follow-ups (paths, slide id, prose) only as needed.
Step 2 — Gather raw inputs
- Images: read each path with the
Readtool (it accepts images). Note dominant colors as hex, type weight/style, layout rhythm, decorative motifs, and any recurring chrome (header bar, footer line, page numbers). - Text: extract explicit tokens (hex codes, font names, motion verbs) and implicit tone words ("editorial", "playful", "brutalist"). Resolve vague language into concrete decisions before writing.
- Existing slide: read
slides/<id>/index.tsxand pull:- The
design.paletteobject (or a legacy top-of-filepaletteconst) → Palette section. design.fonts/ font constants and anyfont-sizepatterns → Typography section.- Padding / alignment patterns → Layout section.
- Recurring components (TrafficLights, Eyebrow, Footer-style helpers, WindowShell, …) → Fixed components section.
@keyframesblocks and the sharedstylesstring → Motion section.- The aesthetic feel implied by the design → Aesthetic paragraph.
- The
When inputs disagree (e.g. images use blue but the description says green), ask the user which to honor.
Step 3 — Pick a theme id
Use kebab-case, short, descriptive. Examples: editorial-noir, brutalist-mono, pastel-soft, dev-terminal. Check themes/ to avoid collisions.
Step 4 — Write themes/<id>.md
Produce a file with this exact section order. Section bodies adapt to the theme; the headings stay consistent across all themes.
---
name: <Human title, e.g. "Editorial Noir">
description: <one-line elevator pitch>
mode: <dark | light — whichever matches the palette's bg>
---
# <Theme name>
## Palette
| Role | Value | Notes |
| ------ | --------- | ------------------------------ |
| bg | `#0f172a` | page background |
| text | `#f8fafc` | primary copy |
| accent | `#fbbf24` | callouts, eyebrow, key numbers |
| muted | `#94a3b8` | secondary copy, dividers |
| ... | ... | extend as the theme requires |
## Typography
- Display font: `<stack>` — weight 800–900 for headlines.
- Body font: `<stack>` — weight 400–500.
- Webfont import (omit for system stacks): `<stylesheet URL>` — see `references/webfonts.md` in `slide-authoring` for loading rules.
- Type-scale overrides (only list
Частые вопросы
Это то же, что настройки дизайна слайда?
Нет. Тема задаёт направление, а настройки дизайна каждого слайда — значения, которые вы можете корректировать.
Появится ли демо в списке моих слайдов?
Нет. Демо служит только для предпросмотра и показывается в панели тем.
Может ли он изменить мои реальные слайды?
Нет. Он записывает только файлы темы.
Подробности
Оригинальное описание автора
Use this skill when the user wants to create, draft, author, or extract a slide theme in this open-slide repo. Triggers on phrases like "create a theme", "make a theme called X", "extract a theme from <slide>", "build a theme from these images". Produces two paired files under `themes/` — `<id>.md` (palette, typography, layout, fixed Title/Footer components, motion) and `<id>.demo.tsx` (a runnable demo slide that the dev-UI Themes panel previews). Do NOT use for editing real slides — only for authoring the theme bundle.
repo: open-slide/open-slide
Популярность
- Звёзды на GitHub
- 9.6k
- Место в рейтинге
- #12220
- Лицензия
- MIT
- Обновлён
- 29.10.2026
Комментарии
- …
Другие скиллы из этого репозитория
apply-comments
9.6kПомогает агенту применить комментарии, которые вы оставили к слайду в редакторе open-slide: вносит каждую запрошенную правку и убирает маркеры.
create-slide
9.6kПомогает агенту составить новый слайд или презентацию в проекте open-slide: выбрать тему и написать для вас файлы страниц.
current-slide
9.6kПомогает агенту определить, какой слайд, страницу и элемент вы просматриваете в просмотрщике open-slide, чтобы «эта страница» означала нужную.
slide-authoring
9.6kДаёт агенту технические правила написания страниц open-slide: размер холста, шкалу шрифтов, цвета, изображения, заметки и переходы.
Похожие скиллы
brand-discovery
280kПомогает определить айдентику бренда через структурированное интервью и составляет полный гайд с миссией, аудиторией и характером бренда.
brand-voice
280kСоставляет профиль стиля по настоящим текстам бренда, чтобы контент и коммуникации звучали единообразно и естественно.
design-md
260kУчит агента писать, проверять и экспортировать файл DESIGN.md, в котором перечислены цвета, шрифты и стиль бренда в виде, который могут читать ИИ-инструменты.