slide-authoring
What it does
This is the technical reference for writing or editing open-slide pages, covering layout, colors, fonts, pictures, speaker notes and transitions. It is for people who build slides in code.
When to use it
- βWhen your agent is about to write or change a slide page file.
- βWhen a slide needs a stepped reveal, a page transition or a morph transition.
- βWhen you want speaker notes or a consistent color palette added to a slide.
Skill link
https://github.com/open-slide/open-slide/blob/main/packages/core/skills/slide-authoring/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βAdd speaker notes and a fade transition to the third slide, in the same style as the others.β
5 new skills a week. 1 minute to read.
How it works
The skill sets the rules that page code must follow: a fixed canvas size, a type scale, colors through design tokens and a set file layout. It also points to a reference file for each building block, which the agent reads before using it.
Technical content (original SKILL.md)
Original text by the author, straight from 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
FAQ
What is the canvas size?
Slides use a fixed 1920 by 1080 canvas.
Where do the design settings live?
In a design setting at the top of each slide's index file, which you can tweak.
Is it used on its own?
It is the base reference that the slide creation and comment workflows follow.
Details
Original description by the author
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
Popularity
- GitHub stars
- 9.6k
- Ranking position
- #12222
- License
- MIT
- Updated
- 10/29/2026
Comments
- β¦
More skills from this repository
apply-comments
9.6kHelps your agent apply the comments you left on a slide in the open-slide editor, making each requested edit and removing the markers.
create-slide
9.6kHelps your agent draft a new slide or deck in an open-slide project, picking a theme and writing the page files for you.
create-theme
9.6kHelps your agent create a reusable slide theme with its palette, fonts and layout, plus a live preview file for an open-slide project.
current-slide
9.6kHelps your agent find which slide, page and element you are looking at in the open-slide viewer, so that 'this page' means the right one.
Similar skills
feishu-doc
394kHelps your agent read, create, and edit Feishu cloud documents, including text, images, and tables, using the document tool.
feishu-drive
394kLets your agent browse, organize, and comment on files in a Feishu cloud folder that has been shared with the bot.
feishu-perm
394kHelps your agent check and change who can access a Feishu file, choosing the smallest permission that meets your request.