This is a complete, self-contained Antigravity Custom Skill package that equips any developer or AI agent with the exact tools and guidelines to run a live-editable, auto-persisting, and self-recompiling Reveal.js slide presentation.
SKILL.md: The core instruction file loaded by Antigravity and external peer agents to understand the editing protocols and directories.scripts/server.py: A native, zero-dependency Python 3 HTTP server that hosts the presentation and exposes the/api/save-slideauto-persistence endpoint.scripts/compile_deck.py: A slide aggregator script that merges individual HTML slide fragments into a single standaloneindex_offline.htmldeck.references/editable-client.js: The frontend controller that attaches event listeners tocontenteditable="true"elements, handles typing debounces, prevents keyboard event bubbling from disrupting Reveal.js, and animates a pulsing save indicator.references/boilerplate.html: A beautiful, premium slide fragment template showing co-branding margin safe zones, dark-mode gradients, Outfit & Inter typography, and metric grids.
Copy the editable-deck directory to your project's local agent folder:
cp -r editable-deck /your/other-project/.agent/skills/editable-deckAny Antigravity Agent working in that project will immediately inherit and follow these guidelines.
To make this skill available across all your local workspaces and Antigravity chat sessions, copy it to your global skills directory:
cp -r editable-deck ~/.gemini/skills/editable-deck- Initialize slide fragments:
Create a
slides/directory in your project root and dropslide-*.htmlfragments (e.g., usingreferences/boilerplate.htmlas a template). - Start the Local Server:
Run the Python server:
python3 scripts/server.py
- Present and Edit Live:
- Open your browser to
http://localhost:8000. - To edit any content, simply click/double-click on headings, text, or metrics, and type.
- The top-right floating indicator will transition from green (
Saved to Disk) to yellow (Saving changes...). - Stop typing for 1 second, and the changes are written directly to your physical
slides/slide-X.htmlfile on disk and recompiled toindex_offline.htmlinstantly!
- Open your browser to