You are authoring slides in this repo. Every slide is arbitrary React code that you write.
- Put your slide under
slides/<kebab-case-id>/. - The entry is
slides/<id>/index.tsx. - Put images/videos/fonts under
slides/<id>/assets/. - Do not touch
package.json,open-slide.config.ts, or other slides. - Do not add dependencies. Use only
reactand standard web APIs.
- Drafting a new deck — use the
create-slideskill. It walks through scoping questions, structure, and hand-off. - Applying inspector comments (
@slide-commentmarkers in a page) — use theapply-commentsskill. - Creating or extracting a theme — use the
create-themeskill. Themes live as markdown underthemes/<id>.mdand are read bycreate-slidebefore authoring. - Any other slide edit — read the
slide-authoringskill before writing. It is the technical reference for everything insideslides/<id>/: file contract, the 1920×1080 canvas, type scale, palette, layout, assets, self-review checklist, and anti-patterns.create-slideandapply-commentsboth defer to it for the how.
Keep this file short: hard rules only. All deeper guidance lives in the skills above.
The skills above are managed by @open-slide/core. Do not edit them in place. To pull the latest versions:
pnpm up @open-slide/core
pnpm sync:skills
pnpm dev will also detect drift on startup and offer to sync. pnpm sync:skills --dry-run (via pnpm exec open-slide sync:skills --dry-run) previews changes without writing.