bento-slides
Installation
SKILL.md
Authoring Bento decks
A Bento deck is one self-contained .bento.html file: a compressed app runtime plus the document as plain JSON in one block:
<script type="application/bento+json" id="bento-doc"> { "format":"bento/slides", ... } </script>
- Edit that block only, in place. Only
upgrade_deck.mjsreplaces the runtime. render_check.mjs --writewrites the block for you. A hand-written splice must escape every<in the JSON as its unicode escape (a backslash followed byu003c), so the block never contains a literal</script>and a build script can find the block's end at the first</script>after the opening tag.- Chat context (no filesystem): the user copies the JSON out (Save > Copy compact JSON) and pastes your replacement back (Save > Replace from JSON).
window.bento.loadDoc(json)does the same from the console.