offline-first-development

Installation
SKILL.md

Offline-First Development

Use this skill when

  • Caching data for offline use
  • Queuing and syncing mutations
  • Handling conflicts
  • Managing background refresh

Do not use this skill when

  • Pure online-only apps

Instructions

  1. Write for the happy offline path, then sync on connect.
  2. Cache reads with bounded size and eviction.
  3. Queue writes locally with IDs for idempotent sync.
  4. Define conflict resolution: last-write, version, or user merge.
  5. Show sync/offline status honestly in the UI.
  6. Reconcile device storage with server eventually.
  7. Handle app updates changing the cache schema.
Installs
1
First Seen
1 day ago