build-runtype-app
Installation
SKILL.md
Build a Runtype App
A Runtype App is a static bundle (HTML/CSS/JS) deployed to a real URL in seconds. No keys in the browser, no backend, no DevOps: everything dynamic (AI chat, agents) comes from Runtype APIs through a client token that Runtype injects at serve time. Deploys are instant pointer flips; rollback is activating an older version.
The deploy loop (MCP, preferred)
create_appwith a slug (lowercase, must start with a letter, max 40 chars), a name, and visibility (unlistedby default;publicneeds a paid plan). The response includes the app id and the final URL.- Build the app as a set of files. Include
index.htmlandruntype.app.jsonat the root. deploy_app_versionwith the app id and the files (filesfor text,filesBase64for binary assets). It uploads and activates in one call and returns the live URL. Passactivate: falseto stage without serving.- Iterate: every
deploy_app_versioncall creates a new version. Roll back anytime withactivate_app_versionand an older version id (get_appwithincludeVersions: truelists them).
REST equivalent: POST /v1/apps, then POST /v1/apps/:id/versions (raw application/zip body, or JSON { files, filesBase64 }), then POST /v1/apps/:id/activate. CLI equivalent: runtype apps create, then runtype apps deploy ./dist --app <id>.
The manifest (runtype.app.json)
Ship it at the bundle root. It declares everything the app may touch: