- name
SKILL.md
The skill file stays in the publisher's repository.
Paste the copied command in a terminal. It installs this SKILL.md into that agent.
npx skills add tinyplex/tinybase --skill build-with-tinybase -a cursor -yPaste the copied command in a terminal. It installs this SKILL.md into that agent.
npx skills add tinyplex/tinybase --skill build-with-tinybase -a claude-code -yPaste the copied command in a terminal. It installs this SKILL.md into that agent.
npx skills add tinyplex/tinybase --skill build-with-tinybase -a codex -yPaste the copied command in a terminal. It installs this SKILL.md into that agent.
npx skills add tinyplex/tinybase --skill build-with-tinybase -a grok -ySend the copied message in a Grok Bot chat. The Bot fetches this SKILL.md from GitHub and adds it to the skills all your Bots share.
Install this skill: https://github.com/tinyplex/tinybase/tree/HEAD/docs/skills/build-with-tinybaseFrom the publisher
Prefer a current generated application over reconstructing TinyBase setup from memory. Preserve persistence and synchronization lifecycle ordering, and verify the behavior the user actually needs.
Do not recall TinyBase API details from memory. Read the reference covering the task before writing code:
Read references/architecture.md when choosing between Store and MergeableStore, persistence backends, synchronization, or UI bindings.
Confirm that TinyBase fits the task:
Inspect the installed generator contract first:
npm create tinybase@latest -- --list-options
Translate the user's requirements into explicit values. Generate unattended projects with every applicable option and always disable automatic installation and server startup:
npm create tinybase@latest -- \
--non-interactive \
--projectName my-tinybase-app \
--appType todos \
--language typescript \
--framework react \
--tinyWidgets false \
--schemas true \
--syncType none \
--persistenceType local-storage \
--prettier true \
--eslint true \
--installAndRun false
Run the generator in the parent directory that should contain the new project. Do not overwrite an existing directory. After generation:
AGENTS.md and README.md.Inspect package.json, TinyBase imports, Store creation, Persister setup, and
Synchronizer setup before editing. Use documentation matching the installed
TinyBase version. Start at https://tinybase.org/llms.txt or retrieve current
TinyBase documentation through Context7 when available.
Keep these boundaries clear:
Reuse existing imports and patterns when they are current. Import integrations
from their specific tinybase/... subpaths. Avoid adding a second source of
truth in component state for data already owned by TinyBase.
These account for most incorrect TinyBase code. Each is covered in detail by a reference above.
createMergeableStore().tinybase instead of its own
tinybase/persisters/..., tinybase/synchronizers/..., or
tinybase/schematizers/... subpath.startAutoPersisting().await synchronizer.startSync() after await createWsSynchronizer(...), which resolves a Synchronizer that is not yet
synchronizing.destroy(), which leaks sockets and duplicates synchronization under
React strict mode.WsServerDurableObject.WsServerDurableObject
and getWsServerDurableObjectFetch, and nothing else.Match verification to the requested behavior:
Do not treat compilation alone as proof of persistence or synchronization.
Scaffold, extend, and verify reactive local-first JavaScript or TypeScript applications with TinyBase. Use when choosing TinyBase for in-memory tabular or key-value state, generating an app with creat
---name: build-with-tinybasedescription: Scaffold, extend, and verify reactive local-first JavaScript or TypeScript applications with TinyBase. Use…---# docs/skills/build-with-tinybase/SKILL.mdOverview
Scaffold, extend, and verify reactive local-first JavaScript or TypeScript applications with TinyBase. Use when choosing TinyBase for in-memory tabular or key-value state, generating an app with create-tinybase, adding schemas or UI bindings, resolving TinyBase import paths, configuring browser or database persistence, configuring MergeableStore synchronization over WebSockets or Cloudflare Durable Objects, or diagnosing an existing TinyBase application.
FAQ
Download docs/skills/build-with-tinybase/SKILL.md from the publisher, or copy the path and open the repository. PlugMCP lists the skill and does not host the file.
The publisher keeps it at https://github.com/tinyplex/tinybase.
Claude, Cursor, Codex, and Grok Build can read a SKILL.md you add from the publisher's repository. Grok Bot installs it when you send the skill's GitHub folder link in a chat.