local-first-patterns

Community

Build offline-first apps with browser storage.

Authorhouke
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a structured approach to building offline-first applications by combining OPFS-based storage, in-browser SQLite, and a resilient sync pipeline. It enables apps to continue functioning without network connectivity and to reconcile changes when back online.

Core Features & Use Cases

  • Offline-first architecture: local storage with eventual synchronization
  • OPFS for persistent file storage and fast I/O
  • In-browser SQLite via sql.js or wa-sqlite for relational data
  • Deterministic conflict resolution and a pluggable sync engine
  • Use cases include note-taking apps, form-heavy data collection, and offline-first dashboards

Quick Start

Initialize an application with OPFS as the storage backend, set up a browser SQLite instance, and start a local sync queue that pushes changes when online.

Dependency Matrix

Required Modules

None required

Components

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: local-first-patterns
Download link: https://github.com/houke/nexus-playground/archive/main.zip#local-first-patterns

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.