service-worker-offline-first

Community

Make PWAs resilient with offline-first workers.

Authorfabioc-aloha
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Progressive web apps often fail when offline or on flaky networks. This Skill provides offline-first service worker patterns to ensure content remains available and functional without constant connectivity.

Core Features & Use Cases

  • Caching strategies: Cache-First, Network-First, Stale-While-Revalidate, Network-Only, Cache-Only for different resource types.
  • Service worker lifecycle: install, activate, fetch routing with cache maintenance and client claims.
  • Background synchronization: queue failed mutations and retry when connectivity resumes.
  • Offline navigation and fallbacks: provide an offline page and smooth user experience during outages.

Quick Start

Register the service worker and adopt the provided offline-first caching patterns to enable resilient navigation and background sync.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: service-worker-offline-first
Download link: https://github.com/fabioc-aloha/AlexMedia/archive/main.zip#service-worker-offline-first

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.