idb
CommunityType-safe IndexedDB primitives for dean-stack.
System Documentation
What problem does it solve?
The idb skill provides a type-safe, centralized wrapper around IndexedDB for the dean-stack app, owning core primitives (openDB, IDBPDatabase, transactions, object stores, and upgrade migrations) and a hydration promise used by the app shell to boot with a consistent in-memory state. It also coordinates cross-tab synchronization via a BroadcastChannel to keep tabs and iframes in sync.
Core Features & Use Cases
- Type-safe access to IndexedDB primitives and typed object stores.
- Schema-versioned migrations with a single, observable upgrade path.
- Centralized hydration via idbHydrationPromise so components render only after the DB is ready and in-sync across tabs.
Quick Start
Import and initialize the idb wrapper in your app to open the database, apply migrations, and hydrate the in-memory state before rendering.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: idb Download link: https://github.com/matthewharwood/dean-stack/archive/main.zip#idb Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.