open-slide

Create, edit, validate, and export React-based Open Slide presentation decks.

3|Updated Apr 8, 2025
One-click install
npx skills add https://github.com/ZanzyTHEbar/dragonarchy --skill open-slide-zanzythebar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: open-slide
Source: https://github.com/ZanzyTHEbar/dragonarchy/tree/main/packages/opencode/.config/opencode/skills/open-slide
Command: npx skills add https://github.com/ZanzyTHEbar/dragonarchy --skill open-slide-zanzythebar

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Authoring and maintaining Open Slide decks requires following strict framework conventions—fixed 1920x1080 canvases, specific export shapes, inspector comment markers, and design system contracts—that are easy to get wrong without guidance. ## Core Features & Use Cases - Deck Authoring: Create new decks under slides/<id>/index.tsx with correct Page components, meta, design, and speaker notes exports. - Inspector Comment Resolution: Decode and apply base64url-encoded @slide-comment JSX markers, then remove them after editing. - Current Slide Context: Read node_modules/.open-slide/current.json to resolve deictic references like "this slide" to the exact page and element. - Use Case: A user asks to add a pricing page to their pitch deck; the skill reads the existing deck, matches its visual style, adds a new page component that fits the 1080px vertical budget, and validates the result. ## Quick Start Ask the assistant to create a new Open Slide deck about your chosen topic with a specified page count and visual style.

Frequently Asked Questions about open-slide

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a new Open Slide deck?

Create a folder slides/<kebab-case-id>/ containing a single index.tsx that default-exports a non-empty array of zero-prop React page components. Optionally export meta, design, and notes, and generate meta.createdAt with node -e "console.log(new Date().toISOString())" just before writing.

How do I edit the current slide in Open Slide?

Read node_modules/.open-slide/current.json fresh at the start of the turn to get slideId, pageIndex, pagePath, and selection. Use pagePath for source edits and pageIndex to locate the component in the default export array; ask the user if the file is stale or missing.

What canvas size does Open Slide use for slides?

Every page renders into a fixed 1920x1080 canvas that the framework scales. Use absolute pixels for type and spacing, avoid rem, vw, and vh, and verify the vertical budget fits within 1080px without scrolling or hidden overflow.

How do inspector comments work in Open Slide decks?

Inspector comments persist as JSX markers like {/* @slide-comment id="c-<hex>" ts="<ISO>" text="<base64url>" */}. Decode the base64url text to get the note, apply the smallest faithful edit to the enclosing element in reverse line order, then remove the marker.

Can I split an Open Slide deck into multiple component files?

No. A slide must remain one index.tsx plus an optional assets/ folder. Define repeated elements like cards as small components inside the same file and instantiate each explicitly rather than using array.map, so the inspector can edit instances individually.

When should I not use the Open Slide skill?

Do not use it for unrelated React apps, generic presentation advice, or editing the Open Slide framework internals unless explicitly asked. It also should not modify package.json, dependencies, or other decks during normal slide authoring.