build-with-tinybase
Skill by tinyplex
Guides an AI assistant to scaffold, extend, and verify reactive local-first JavaScript or TypeScript apps built on TinyBase. It is for developers working with TinyBase state, persistence, and sync.
Install build-with-tinybase
Built from the published package, never by AI.
git clone --depth 1 https://github.com/tinyplex/tinybase /tmp/tinybase && mkdir -p ~/.claude/skills && cp -r /tmp/tinybase/skills/build-with-tinybase ~/.claude/skills/build-with-tinybaseRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/tinyplex/tinybase /tmp/tinybase && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/tinybase/skills/build-with-tinybase ~/.gemini/antigravity-cli/skills/build-with-tinybaseAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install build-with-tinybase in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
The build-with-tinybase skill helps an AI assistant build, extend, and check reactive local-first JavaScript or TypeScript applications that use TinyBase. It tells the assistant to read the bundled references before writing code instead of relying on memory of the API. The references cover choosing between Store and MergeableStore, scaffolding a project with create-tinybase, adding schemas and UI bindings, and configuring persistence and synchronization.
The skill sets rules for lifecycle ordering, such as calling startAutoPersisting() after loading and calling destroy() on teardown. It also asks for verification that matches the requested behavior, such as reloading to check persistence or connecting two clients to check sync. It is aimed at developers who use AI assistants to build or debug TinyBase applications.
Written from the project's SKILL.md and checked against it.
What it can do
- Architecture selectionHelps choose between Store and MergeableStore, persistence backends, synchronization, and UI bindings.
- Project scaffoldingGenerates a new app with create-tinybase using explicit, non-interactive options.
- Existing app extensionAdds schemas, persistence, synchronization, and framework wiring to an existing TinyBase app.
- Import path resolutionPoints to the correct tinybase/... subpath for persisters, synchronizers, and schematizers.
- Persistence configurationCovers browser and database persistence, including load-before-save ordering.
- MergeableStore sync setupCovers synchronization over WebSockets or Cloudflare Durable Objects.
- Application diagnosisHelps diagnose an existing TinyBase application.
- Behavior verificationSuggests checks such as reloads for persistence and two-client tests for synchronization.
What you need
- npm, to run npm create tinybase@latest
Try asking
- Scaffold a new TinyBase todo app in TypeScript with React and local storage
- Add MergeableStore sync over WebSockets to my existing TinyBase app
- Diagnose why my TinyBase data is empty after a page reload
Good to know
- TinyBase is not a hosted database service and should be paired with another database when the dataset is unbounded or server-queried.
- Every Synchronizer and Durable Object Persister requires createMergeableStore().
- WsServerDurableObject does not support channel Ids.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/build-with-tinybase/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB -
agents/openai.yaml225 B -
references/architecture.md3 KB -
references/durable-objects.md8 KB -
references/import-paths.md10 KB
Show all 6 files
-
references/lifecycle.md8 KB
Alternatives to build-with-tinybase
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
build-with-tinybase: common questions
Does this skill work with TinyBase on the server?
The skill covers synchronization with a Cloudflare Durable Object sync server built on WsServerDurableObject and getWsServerDurableObjectFetch. It also points to the server build step when server code changes.
Does the skill rely on the assistant's memory of TinyBase APIs?
No. The skill tells the assistant to read the bundled references and current TinyBase documentation before writing code.
How does the skill suggest testing persistence and sync?
For persistence it suggests changing data and performing a real reload or restart. For sync it suggests connecting two clients to the same channel or room and confirming changes propagate both ways.
How do I install build-with-tinybase?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is build-with-tinybase free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is build-with-tinybase safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to build-with-tinybase?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
