mobile-offline-sync
Installation
SKILL.md
Mobile Offline Sync
Trigger
Use this skill when the user:
- Wants the app to work without internet connectivity
- Asks about offline-first architecture or local-first data
- Needs background sync, conflict resolution, or operation queuing
- Mentions "offline", "sync", "local database", "conflict resolution", "CRDT", or "queue"
- Wants optimistic UI that updates instantly and syncs later
- Builds apps for unreliable network environments (field work, travel, rural areas)
Required Inputs
- Framework: Expo (React Native) or Flutter
- Backend: REST API, GraphQL, Supabase, Firebase, or custom sync server
- Data model: what entities need offline support (e.g., tasks, messages, forms)
- Conflict strategy: last-write-wins, field-level merge, or manual resolution