slides
Slides
A deck is a folder, <root>; its content is ITS OWN files under <root>/project/; write only there: the index
project/deck.json, the shared stylesheet project/deck.css and one project/slides/<id>.html per slide. The editor
page (started by open-artifact open) reads those files, saves the person's edits back into them, and shows what you
write as soon as you write it.
open-artifact below stands for node <this skill's folder>/scripts/cli.mjs (Node 22 or later).
With the Artifact tool (an Open Artifact host runs this type for you): create a deck with
Artifact {action: "quickstart", intent: "slides"}, then Artifact {action: "publish", type_url: "open-artifact://type/slides", title}; its result gives the deck's url (open-artifact://artifact/<id>), its root
and how the commands below map onto the tool. There, open-artifact check is Artifact {action: "call", url, name: "check"}, open-artifact upload is {action: "call", url, name: "upload", args: {file: "<absolute path>"}}, and the page is shown as the create result says (its view_url in your app's built-in browser when you
have one, else Artifact {action: "open", url}): never run open-artifact open, serve, share,
wait or stop under a host. You still write the files yourself, with your file tool, under
<root>/project/.