mobile-offline-storage

Solid

Cross-platform offline-first data management

AI & Automation 814 stars 53 forks Updated today MIT

Install

View on GitHub

Quality Score: 97/100

Stars 20%
97
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Mobile Offline Storage Skill ## Overview This skill provides cross-platform offline-first data management capabilities. It enables configuration of WatermelonDB, Realm, MMKV, and other offline storage solutions with sync queue architectures. ## Allowed Tools - `bash` - Execute package managers and build tools - `read` - Analyze storage configurations and schemas - `write` - Generate models and sync logic - `edit` - Update storage implementations - `glob` - Search for storage files - `grep` - Search for patterns ## Capabilities ### WatermelonDB (React Native) 1. **Schema Definition** - Define table schemas - Configure column types - Set up relations - Handle migrations 2. **Sync Engine** - Implement sync adapters - Handle conflict resolution - Configure batch operations - Manage sync state ### Realm (Cross-Platform) 3. **Object Schemas** - Define Realm objects - Configure primary keys - Set up relationships - Handle embedded objects 4. **Realm Sync** - Configure Device Sync - Handle flexible sync - Manage subscriptions - Handle conflicts ### MMKV 5. **Key-Value Storage** - Configure MMKV instances - Handle encryption - Implement migrations - Manage namespaces ### Sync Architecture 6. **Offline-First Patterns** - Design sync queues - Handle network state - Implement retry logic - Manage pending operations 7. **Conflict Resolution** - Last-write-wins strategy - Merge strategies - U...

Details

Author
a5c-ai
Repository
a5c-ai/babysitter
Created
4 months ago
Last Updated
today
Language
JavaScript
License
MIT

Related Skills