create-theme
यह क्या करती है
यह स्किल open-slide स्लाइड के लिए थीम बनाती है, जिसमें रंग, फ़ॉन्ट, लेआउट और गति शामिल हैं, ताकि आगे के डेक एक ही रूप साझा करें। यह उन डिज़ाइनरों और डेवलपर्स के लिए है जो स्लाइड शैलियाँ सेट करते हैं।
कब इस्तेमाल करें
- ✓जब आप अपने रूप वाली नई स्लाइड थीम बनाना चाहें।
- ✓जब आप मौजूदा स्लाइड या छवियों के सेट से थीम निकालना चाहें।
- ✓जब आपको एक पूर्वावलोकन फ़ाइल चाहिए जो नमूना स्लाइड पर थीम दिखाए।
Skill का लिंक
https://github.com/open-slide/open-slide/blob/main/packages/core/skills/create-theme/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“इन तीन संदर्भ छवियों से midnight नाम की थीम बनाइए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
स्किल दो जोड़ीदार फ़ाइलें लिखती है: एक थीम दस्तावेज़ जिसमें पैलेट, फ़ॉन्ट, लेआउट और गति के नियम हों, और थीम पूर्वावलोकन के लिए एक छोटी चलने योग्य डेमो स्लाइड। यह सिर्फ़ themes फ़ोल्डर में लिखती है।
तकनीकी सामग्री (मूल 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
कमेंट
- …
इस repository की और skills
apply-comments
9.6kआपके एजेंट को open-slide एडिटर में स्लाइड पर छोड़ी गई टिप्पणियाँ लागू करने में मदद करती है। हर माँगा गया संपादन करती है और चिह्न हटाती है।
create-slide
9.6kआपके एजेंट को open-slide प्रोजेक्ट में नई स्लाइड या डेक का ड्राफ़्ट बनाने में मदद करती है। थीम चुनती है और पेज फ़ाइलें आपके लिए लिखती है।
current-slide
9.6kआपके एजेंट को open-slide व्यूअर में पता लगाने देती है कि आप कौन सी स्लाइड, पेज और एलिमेंट देख रहे हैं, ताकि 'यह पेज' का मतलब सही पेज हो।
slide-authoring
9.6kआपके एजेंट को open-slide पेज लिखने के तकनीकी नियम देती है, जिनमें कैनवास आकार, टेक्स्ट स्केल, रंग, छवियाँ, नोट्स और ट्रांज़िशन शामिल हैं।
मिलती-जुलती skills
brand-discovery
280kयह structured interviews के ज़रिए brand की पहचान तय करने में मदद करता है। यह brand के उद्देश्य, audience और personality के साथ एक पूरी गाइड बनाता है।
brand-voice
280kयह असली brand texts के आधार पर writing profile बनाता है। इससे content और communication में एक जैसा और असली style बना रहता है।
design-md
260kआपके एजेंट को DESIGN.md फ़ाइल लिखना, जांचना और निर्यात करना सिखाती है, जो किसी ब्रांड के रंग, फ़ॉन्ट और शैली को ऐसे रूप में सूचीबद्ध करती है जिसे AI टूल पढ़ सकें।