From role-mobile
Guides offline-first mobile architecture: local DB sync (WatermelonDB, Realm, Hive, SQLite), conflict resolution (LWW, CRDT), optimistic UI, background sync (WorkManager, BGTaskScheduler), connectivity detection. Use for reliable offline apps.
How this skill is triggered — by the user, by Claude, or both
Slash command
/role-mobile:offline-firstThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
- Designing an app that must function fully without network connectivity
references/local-db-conflict.md — WatermelonDB, Realm, Hive, and SQLite comparison for offline storage, last-write-wins strategy, field-level merge, CRDT types and libraries (Automerge, Yjs), Operational Transform tradeoffsreferences/sync-connectivity.md — core offline-first principles, optimistic UI pattern and mutation queue implementation, Android WorkManager background sync, iOS BGTaskScheduler, cross-platform background fetch, connectivity detection libraries and best practices, exponential backoff strategynpx claudepluginhub rnavarych/alpha-engineer --plugin role-mobileDesigns data and sync architecture for offline-first mobile and web apps using local storage and conflict resolution strategies.
Implements offline-first React Native apps using AsyncStorage for local storage, sync queues with limits, NetInfo for connectivity, and server sync. Use for offline data handling, sync conflicts, queue management, storage limits, network errors.
Guides implementing offline-first Capacitor apps with data synchronization, caching, conflict resolution, Fast SQL, service workers, and network detection. For apps needing offline functionality.