PWA

manifest.json, a service worker, an install prompt, and an offline route — the installable-app kit.

npx skills add drmrduck/skills@pwa
View SKILL.md on GitHub ↗drmrduck/skills@pwa

PWA & Manifest

Ship the installable-app kit into the project.

Steps

  1. manifest.json — name/short_name, start_url, display: standalone, theme + background colors, and maskable icons at 192 and 512 (generate them if missing). Link it from the head / framework metadata.
  2. Service worker — register one with an offline fallback route and a sane caching strategy (network-first for docs, cache-first for static). Use the framework`s PWA integration when it has one.
  3. Install prompt — a small, dismissable add-to-home-screen component that listens for beforeinstallprompt.
  4. Offline page — a real route shown when the network drops.

Verify

Related skills