create-theme
できること
このスキルは、open-slideのスライドのテーマを作ります。配色、フォント、レイアウト、動きを扱うので、今後のデッキが同じ見た目を共有できます。対象は、スライドのスタイルを設定するデザイナーや開発者です。
使う場面
- ✓独自の見た目のスライドのテーマを新しく作りたいとき。
- ✓既存のスライドや一連の画像からテーマを取り出したいとき。
- ✓テーマがサンプルのスライドで動くところを示すプレビューのファイルがほしいとき。
スキルのリンク
https://github.com/open-slide/open-slide/blob/main/packages/core/skills/create-theme/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“これらの3枚の参考画像から、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
- 更新日
- 2026/10/29
コメント
- …
このリポジトリの他のスキル
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ブランドの色、フォント、スタイルを、AIツールが読める形で一覧にしたDESIGN.mdファイルを書き、確認し、書き出す方法をエージェントに教えます。