fec-pwa-implementation

Installation
SKILL.md

PWA implementation

Purpose

Make web applications installable, offline and controllable to update.

Procedure

  1. Confirm whether PWA is worth doing: priority is given to mobile/desktop installations, weak network offline, and repeated access scenarios; do not force PWA when it is purely internal backend, has strong real-time streaming media, or only requires ordinary caching.
  2. First complete the manifest, icon, theme color and HTML reference; the icon covers at least 192/512, Android needs to be maskable, and iOS needs apple touch icon.
  3. Register the Service Worker and design an update prompt; do not forcefully refresh the user page after silently skipWaiting().
  4. Use Workbox or framework plug-in to manage precache/runtime cache; sensitive requests such as login, payment, and permission changes must go through the network.
  5. Provide offline fallback page and installation prompt UI, and verify initial loading, offline access, update activation, uninstallation and reinstallation.

Detailed reference

Installs
5
GitHub Stars
23
First Seen
May 25, 2026