create-theme
Fungsinya
Skill ini membangun tema untuk slide open-slide, mencakup warna, font, tata letak, dan gerakan, sehingga deck di masa depan dapat memakai tampilan yang sama. Ditujukan untuk desainer dan pengembang yang mengatur gaya slide.
Kapan dipakai
- βSaat Anda ingin membuat tema slide baru dengan tampilannya sendiri.
- βSaat Anda ingin mengambil tema dari slide yang ada atau dari sekumpulan gambar.
- βSaat Anda ingin berkas pratinjau yang menunjukkan tema bekerja pada slide contoh.
Link skill
https://github.com/open-slide/open-slide/blob/main/packages/core/skills/create-theme/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βBangun tema bernama midnight dari tiga gambar referensi ini.β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Skill menulis dua berkas berpasangan: dokumen tema dengan aturan palet, font, tata letak, dan gerakan, serta satu slide demo kecil yang dapat dijalankan untuk pratinjau tema. Skill hanya menulis di folder themes.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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
Pertanyaan umum
Apakah tema sama dengan pengaturan desain slide?
Tidak. Tema memberi arah, sedangkan pengaturan desain setiap slide adalah nilai yang dapat Anda sesuaikan.
Apakah demo muncul di daftar slide saya?
Tidak. Demo hanya pratinjau dan ditampilkan di panel tema.
Bisakah ia mengubah slide asli saya?
Tidak. Ia hanya menulis berkas tema.
Detail
Deskripsi asli dari pembuat
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
Popularitas
- Bintang GitHub
- 9.6k
- Peringkat
- #12220
- Lisensi
- MIT
- Diperbarui
- 29/10/2026
Komentar
- β¦
Skill lain dari repositori ini
apply-comments
9.6kMembantu agen Anda menerapkan komentar yang Anda tinggalkan pada sebuah slide di editor open-slide, membuat setiap perubahan yang diminta dan menghapus penandanya.
create-slide
9.6kMembantu agen Anda menyusun slide atau deck baru dalam proyek open-slide, memilih tema, dan menulis berkas halaman untuk Anda.
current-slide
9.6kMembantu agen Anda menemukan slide, halaman, dan elemen mana yang sedang Anda lihat di penampil open-slide, sehingga 'halaman ini' merujuk pada yang tepat.
slide-authoring
9.6kMemberi agen Anda aturan teknis untuk menulis halaman open-slide, termasuk ukuran kanvas, skala tipografi, warna, gambar, catatan, dan transisi.
Skill serupa
brand-discovery
280kMembantu mendefinisikan identitas brand melalui wawancara terstruktur. Hasilnya berupa panduan lengkap berisi tujuan, audiens, dan kepribadian brand.
brand-voice
280kMembuat profil penulisan berdasarkan teks brand yang sebenarnya. Konten dan komunikasi tetap konsisten serta terasa autentik.
design-md
260kMengajari agent Anda menulis, memeriksa, dan mengekspor file DESIGN.md yang mencantumkan warna, font, dan gaya merek dalam bentuk yang bisa dibaca alat AI.