Agent skill · software engineering · aj-geddes
mobile-offline-support
Implement offline-first mobile apps with local storage, sync strategies, and conflict resolution. Covers AsyncStorage, Realm, SQLite, and background sync patterns.
Why this skill is useful
Provides specific implementation patterns and strategies for offline-first mobile apps that the AI wouldn't reliably generate on its own.
What it needs
Requires @react-native-async-storage/async-storage, @react-native-community/netinfo installed locally. About 1k tokens when loaded. Last updated 2026-03-04. 307 stars on the source repository.
What this skill does
Mobile Offline Support Table of Contents Overview When to Use Quick Start Reference Guides Best Practices Overview Design offline-first mobile applications that provide seamless user experience regardless of connectivity. When to Use Building apps that work without internet connection Implementing seamless sync when connectivity returns Handling data conflicts between device and server Reducing server load with intelligent caching Improving app responsiveness with local storage Quick Start Minimal working example: Reference Guides Detailed implementations in the references/ directory: Guide Contents --- --- React Native Offline Storage React Native Offline Storage iOS Core Data Implementation iOS Core Data Implementation Android Room Database Android Room Database Best Practices ✅ DO Implement robust local storage Use automatic sync when online Provide visual feedback for offline status Queue actions for later sync Handle conflicts gracefully Cache frequently accessed data Implement proper error recovery Test offline scenarios thoroughly Use compression for large data Monitor storage usage ❌ DON'T Assume constant connectivity Sync large files frequently Ignore storage limitations Force unnecessary syncing Lose data on offline mode Store sensitive data unencrypted Accumulate infinite queue items Ignore sync failures silently Sync in tight loops Deploy without offline testing
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills aj-geddes/mobile-offline-support