Skip to content

Add revealjs-presentation and zopack community skills#18

Open
skeletor-js wants to merge 1 commit intozocomputer:mainfrom
skeletor-js:add-revealjs-and-zopack
Open

Add revealjs-presentation and zopack community skills#18
skeletor-js wants to merge 1 commit intozocomputer:mainfrom
skeletor-js:add-revealjs-and-zopack

Conversation

@skeletor-js
Copy link
Contributor

Summary

Two community skills from skeletorjs:

  • revealjs-presentation -- Build self-contained HTML slide decks using Reveal.js 5 + Chart.js 4. Outputs single .html files that open in any browser, or publishes directly to zo.space as live page routes. Includes animation system, chart recipes, layout patterns, and a publish script for zo.space deployment.

  • zopack -- Export and import zo.space route setups as shareable .zopack.md files. Packages routes, dependencies, component imports, filesystem requirements, and secrets into a single markdown file that anyone can hand to their Zo for instant deployment. Includes both export and import scripts.

Validation

bun validate passes with zero warnings on these skills (all 14 existing warnings are on External/ skills).

Two community skills:

- revealjs-presentation: Build self-contained HTML slide decks using
  Reveal.js 5 + Chart.js 4. Outputs single .html files or publishes
  to zo.space as live page routes.

- zopack: Export and import zo.space route setups as shareable
  .zopack.md files for instant deployment across Zo instances.
Copy link
Contributor

@erhuve erhuve left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @skeletor-js ! Excited about sharing Zo Space routes

Creates a single `.html` file saved to the user's workspace. No build step, no dependencies. Open in any browser.

### 2. zo.space Page Route (on request)
Publishes the presentation as a live page on `skeletorjs.zo.space`. Uses the pre-installed `reveal.js` package + inline styles. Use when the user says "publish", "put it on zo.space", "make it live", or "share it online".
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would be good to replace with .zo.space

5. The route is deployed via `update_space_route`
6. Check `get_space_errors()` after publishing

The published presentation will be live at `https://skeletorjs.zo.space<route>`.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+same here

3. Parse the JSON output and execute the deployment in order:

**a. Install dependencies:**
- npm packages: `cd /__substrate/space && bun add <package>` for each
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm it's not really intended for additional packages to be installed in zo space but i suppose it's possible.

- Directories: `mkdir -p /home/workspace/<dir>` for each
- Files: write each file with the specified initial content

**c. Check for secret requirements:**
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think for safety reasons it would be great to also check for security/data exfiltration risks as part of the skill prompt.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and maybe smth at the start as well before parsing the zopack md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants