slide-authoring
O que ela faz
Esta é a referência técnica para escrever ou editar páginas do open-slide, cobrindo layout, cores, fontes, imagens, notas do apresentador e transições. É para quem monta slides em código.
Quando usar
- ✓Quando seu agente vai escrever ou alterar um arquivo de página de slide.
- ✓Quando um slide precisa de uma revelação em etapas, uma transição de página ou uma transição de morph.
- ✓Quando você quer notas do apresentador ou uma paleta de cores consistente adicionada a um slide.
Link da skill
https://github.com/open-slide/open-slide/blob/main/packages/core/skills/slide-authoring/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Adicione notas do apresentador e uma transição de fade ao terceiro slide, no mesmo estilo dos outros.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
A skill define as regras que o código das páginas deve seguir: um tamanho fixo de tela, uma escala de tipos, cores por meio de tokens de design e um layout de arquivos definido. Também aponta um arquivo de referência para cada bloco de construção, que o agente lê antes de usá-lo.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do 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
Perguntas frequentes
Qual é o tamanho da tela?
Os slides usam uma tela fixa de 1920 por 1080.
Onde ficam as configurações de design?
Em uma configuração de design no topo do arquivo de índice de cada slide, que você pode ajustar.
Ela é usada sozinha?
É a referência base que os fluxos de criação de slides e de comentários seguem.
Detalhes
Descrição original do autor
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
Popularidade
- Estrelas no GitHub
- 9,6 mil
- Posição no ranking
- #12222
- Licença
- MIT
- Atualizada em
- 29/10/2026
Comentários
- …
Mais skills deste repositório
apply-comments
9,6 milAjuda seu agente a aplicar os comentários que você deixou em um slide no editor open-slide, fazendo cada edição pedida e removendo as marcações.
create-slide
9,6 milAjuda seu agente a rascunhar um novo slide ou apresentação em um projeto open-slide, escolhendo um tema e escrevendo os arquivos das páginas para você.
create-theme
9,6 milAjuda seu agente a criar um tema de slides reutilizável, com paleta, fontes e layout, além de um arquivo de visualização ao vivo para um projeto open-slide.
current-slide
9,6 milAjuda seu agente a descobrir qual slide, página e elemento você está vendo no visualizador open-slide, para que esta página signifique a página certa.
Skills parecidas
feishu-doc
394 milAjuda seu agente a ler, criar e editar documentos na nuvem do Feishu, incluindo textos, imagens e tabelas, usando a ferramenta de documentos.
feishu-drive
394 milPermite que seu agente navegue, organize e comente arquivos de uma pasta na nuvem do Feishu que foi compartilhada com o bot.
feishu-perm
394 milAjuda seu agente a verificar e alterar quem pode acessar um arquivo do Feishu, escolhendo a menor permissão que atende ao seu pedido.