design

Installation
SKILL.md

Design

A canvas is a folder, <root>; its content is ITS OWN files under <root>/project/: the index project/canvas.json and one .dc.html file per artboard. The editor page (started by open-artifact open) reads those files, renders every artboard live, saves the person's edits back into them, and shows what you write as soon as you write it.

Write only under <root>/project/: a file elsewhere never shows.

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 canvas with Artifact {action: "quickstart", intent: "design"}, then Artifact {action: "publish", type_url: "open-artifact://type/design", title}; its result gives the canvas'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}}, 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, wait, share or stop under a host. You still write the files yourself, with your file tool, under <root>/project/.

Installs
4
GitHub Stars
78
First Seen
3 days ago