← Files Tiniest CloudARCHIVED FILE
skills/tiny/SKILL.md
3.63 KB · Nov 28, 2026 · 18:13 UTC
--- name: tiny description: >- Build apps, websites, dashboards and reports and put them online on Tiniest Cloud, which gives each one sign-in, per-user storage, realtime, push notifications, scheduled jobs, backend functions and an LLM, with no keys and no server to set up. Use when building or changing an app hosted on Tiniest Cloud, or when you see tiny.db, tiny.ai, or tiny.rules.json. --- # Building for Tiniest Cloud Tiniest Cloud puts apps, websites, dashboards and reports online. Each one gets sign-in, per-user storage, realtime rooms, push notifications, scheduled jobs, backend functions and a language model, with no keys anywhere and no server to set up. ## Call `tiny_guide` first **Before writing or changing any app that will be deployed here, call the `tiny_guide` tool.** It returns the current SDK reference, the limits and the patterns that matter, then names the guide's other sections; call it again with `section` for each one the build uses (`fetch` to call another service's API, `jobs` for scheduled work, `functions` for server code). This file deliberately does not repeat any of it. The platform gains features, and a copy pasted into a plugin listing would keep teaching an old API long after the real one moved on, producing apps that deploy cleanly and then fail in the browser. So: `tiny_guide`, then build, then `deploy`. **Before designing, call `tiny_guide` with a `topic`** — `design`, `app`, `website`, `dashboard`, `presentation` or `form` — for how that kind of thing should look: a direction for the product and its industry, palette, type, motion, light and dark, and a checklist. When the person has design standards of their own (a design system, components, a brand guide, an app to match), those come first and the playbook only fills what they leave open. ## What never changes These four hold regardless of which version of the SDK is current, and they are the ones an agent gets wrong when it treats this like ordinary web hosting: - **Start from the starter, and build with the SDK.** Every new app or website starts from the starter, even when nobody asks for one: `npm create @tiniestcloud@latest <folder>` (add `-- --template site` for a website), or `get_starter` without a shell. Plain HTML by hand is only for one small page. Build it, then deploy the project folder with its `dist/` inside. `dist/` is served and the rest is kept as the project's source, shown in the Code tab. - **Do not write a login flow.** Sign-in belongs to the platform. The SDK tells you who the visitor is; there are no passwords, sessions or tokens for the app to handle. - **Do not use `localStorage` for anything that matters.** It is per-browser and per-device, so the same person loses their data on their phone. Storage in the SDK follows the account. - **Do not add a server of your own or call your own API.** There is no origin to call. Logic users must not be able to change runs as a backend function: a file in the deployed `_functions/` folder (`public/_functions/` in the starters), called from the page with `tiny.call`. Anything that needs a secret goes through a connection the app's owner declares, so the key never reaches the page or the function's code. ## Deploying The server cannot read your disk. Read the files yourself and pass their contents to `deploy`. Every deploy is a new immutable version, saved as a draft: nothing goes live from a deploy. The person looks at it in the build view and publishes it there, and earlier versions stay restorable with `rollback`. If a deploy reports that an app uses `localStorage` or calls its own backend, `modernize_app` converts it to the platform's own storage and sign-in.
SHA-256: 93e0825bbc477b397fe738eda41dfa1d9c478885aa04b0210f9e39044288cd9b