slide-authoring
यह क्या करती है
यह open-slide पेज लिखने या संपादित करने के लिए तकनीकी संदर्भ है, जिसमें लेआउट, रंग, फ़ॉन्ट, चित्र, स्पीकर नोट्स और ट्रांज़िशन शामिल हैं। यह उन लोगों के लिए है जो कोड में स्लाइड बनाते हैं।
कब इस्तेमाल करें
- ✓जब आपका एजेंट स्लाइड पेज फ़ाइल लिखने या बदलने वाला हो।
- ✓जब किसी स्लाइड को चरणबद्ध रिवील, पेज ट्रांज़िशन या morph ट्रांज़िशन चाहिए।
- ✓जब आप किसी स्लाइड में स्पीकर नोट्स या एक जैसा रंग पैलेट जोड़ना चाहें।
Skill का लिंक
https://github.com/open-slide/open-slide/blob/main/packages/core/skills/slide-authoring/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“तीसरी स्लाइड में स्पीकर नोट्स और फ़ेड ट्रांज़िशन जोड़िए, बाकी स्लाइड जैसी शैली में।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
स्किल वे नियम तय करती है जिनका पेज कोड पालन करे: एक तय कैनवास आकार, टेक्स्ट स्केल, डिज़ाइन टोकन के ज़रिए रंग, और तय फ़ाइल लेआउट। यह हर बिल्डिंग ब्लॉक के लिए एक संदर्भ फ़ाइल की ओर भी इशारा करती है, जिसे एजेंट इस्तेमाल से पहले पढ़ता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Authoring open-slide pages
This skill is the technical reference for everything that happens inside slides/<id>/index.tsx. It does not own a workflow:
create-slideowns "draft a new deck" — it asks the user scoping questions, then delegates the how to this skill.apply-commentsowns "process inspector markers" — it finds markers and applies edits, but the edits themselves follow the rules here.current-slideresolves deictic references ("this page", "the slide I'm on") to a concreteslideId+pageIndex. Consult it first when the user references the current slide without naming it, then come back here for how to edit it.- Any ad-hoc slide edit (manual tweak, one-off fix) should also consult this skill before touching the file.
When any of those paths reach the point of writing React code for a page, this is the source of truth. Do not duplicate the knowledge below into other skills — link here instead.
Primitive references
Each framework primitive has a full reference file under references/ in this skill — contract, worked examples, and its own anti-patterns. This file keeps only the always-on rules and a short summary per primitive. Read the relevant reference file before using a primitive on a page:
| Primitive | Read before | File |
|---|---|---|
design const + var(--osd-X) tokens |
writing any new slide (default baseline) | references/design-system.md |
Assets + <ImagePlaceholder> |
importing images/videos or leaving a placeholder | references/assets.md |
| Webfonts | loading any non-system font | references/webfonts.md |
useSlidePageNumber() |
rendering a page-number footer | references/page-numbers.md |
<Steps> / <Step> |
staging a page's reveal | references/steps.md |
SlideTransition |
declaring any enter/exit animation | references/transitions.md |
MorphElement + morph |
morphing a shared element across pages | references/morph.md |
Hard rules
- Put the slide under
slides/<kebab-case-id>/. - Entry is
slides/<id>/index.tsx. Images/videos/fonts go underslides/<id>/assets/. - Do not touch
package.json,open-slide.config.ts, or other slides. - Do not add dependencies. Only
react,@open-slide/core, and standard web APIs are available. - A slide is one
index.tsxplusassets/— nothing else. Do not create sibling.tsx/.tsfiles (Card.tsx,components/,helpers.ts, etc.); helper components and constants go insideindex.tsx. Do not createREADME.mdor other prose files either — speaker notes / a talk script belong in thenotesexport (see Speaker notes below), not in a markdown file.
File contract
// slides/<id>/index.tsx
import type { Page, SlideMeta } from '@open-slide/core';
const Cover: Page = () => <div>…</div>;
const Body: Page = () => <div>…</div>;
export const meta: SlideMeta = {
title: 'My slide',
createdAt: '2026-05-16T12:00:00Z',
};
export default [Cover, Body] satisfies Page[];
export defaultis a non-empty array of zero-prop React components, one per page, in order.meta.title(optional) shows in the slide header. Default is the folder name.- The slide id is the kebab-case folder name. Pick something short and descriptive (
q2-roadmap,team-offsite-2026). meta.theme(optional) marks the slide as built from a theme underthemes/. The id must match a<id>.mdbasename. Surfaces a back-link chip on the slide card and lists the slide on/themes/<id>. Omit if the slide isn't derived from a registered theme.meta.createdAtis an ISO 8601 string literal (e.g.'2026-05-16T12:00:00Z') set once when the slide is scaffolded. The home page uses it for the default "newest first" sort. Always include it on new slides — immediately before writing the file, runnode -e "console.log(new Date().toISOString())"via Bash and paste the exact output as the value. Don't type a timestamp from memory — you will get the date or time wrong. Must be a plain string literal (nonew Date(...)or imports in the slide itself) — the framework reads it via a regex at build time, not by evaluating the module.
Speaker notes (notes export)
The framework has built-in speaker notes: an optional notes export in index.tsx, index-aligned with the default page array. The viewer shows them in the notes drawer and present mode shows them in the presenter view next to the timer.
**When the user asks for a speech script, talk
अक्सर पूछे जाने वाले सवाल
कैनवास का आकार क्या है?
स्लाइड एक तय 1920 गुणा 1080 कैनवास इस्तेमाल करती हैं।
डिज़ाइन सेटिंग कहाँ रहती है?
हर स्लाइड की index फ़ाइल के ऊपर एक डिज़ाइन सेटिंग में, जिसे आप ठीक कर सकते हैं।
क्या यह अकेले इस्तेमाल होती है?
यह आधार संदर्भ है जिसे स्लाइड बनाने और टिप्पणी वर्कफ़्लो फ़ॉलो करते हैं।
जानकारी
लेखक का मूल विवरण
Technical reference for writing or editing open-slide pages — file contract, 1920×1080 canvas, type scale, layout, palette/visual direction, assets, speaker notes, stepped reveals, page transitions, and morph transitions. Consult this whenever you are about to write or modify any file under `slides/<id>/`, including from inside the `create-slide` or `apply-comments` workflows, or for any ad-hoc slide edit. Triggers on phrases like "edit slide", "tweak this page", "fix the layout", "change the palette", "reveal one by one", "add a transition", "morph transition", "write the speaker notes", "gen
repo: open-slide/open-slide
लोकप्रियता
- GitHub स्टार
- 9.6k
- रैंकिंग में स्थान
- #12222
- लाइसेंस
- MIT
- अपडेट की गई
- 29/10/2026
कमेंट
- …
इस repository की और skills
apply-comments
9.6kआपके एजेंट को open-slide एडिटर में स्लाइड पर छोड़ी गई टिप्पणियाँ लागू करने में मदद करती है। हर माँगा गया संपादन करती है और चिह्न हटाती है।
create-slide
9.6kआपके एजेंट को open-slide प्रोजेक्ट में नई स्लाइड या डेक का ड्राफ़्ट बनाने में मदद करती है। थीम चुनती है और पेज फ़ाइलें आपके लिए लिखती है।
create-theme
9.6kआपके एजेंट को open-slide प्रोजेक्ट के लिए दोबारा इस्तेमाल होने वाली स्लाइड थीम बनाने में मदद करती है, जिसमें रंग-पैलेट, फ़ॉन्ट और लेआउट के साथ लाइव पूर्वावलोकन फ़ाइल भी हो।
current-slide
9.6kआपके एजेंट को open-slide व्यूअर में पता लगाने देती है कि आप कौन सी स्लाइड, पेज और एलिमेंट देख रहे हैं, ताकि 'यह पेज' का मतलब सही पेज हो।
मिलती-जुलती skills
feishu-doc
394kयह आपके एजेंट को document टूल से Feishu क्लाउड दस्तावेज़ पढ़ने, बनाने और बदलने में मदद करती है, जिसमें टेक्स्ट, इमेज और टेबल शामिल हैं।
feishu-drive
394kयह आपके एजेंट को बॉट के साथ साझा किए गए Feishu क्लाउड फ़ोल्डर में फ़ाइलें देखने, व्यवस्थित करने और उन पर टिप्पणी करने देती है।
feishu-perm
394kयह आपके एजेंट को Feishu फ़ाइल तक किसकी पहुंच है, यह जांचने और बदलने देती है, और आपके अनुरोध के लिए सबसे छोटी अनुमति चुनती है।