enhance-pwa
Installation
SKILL.md
enhance-pwa — Make It Installable and Offline-Ready
Degree of freedom: MIXED. Strategy and prompt timing [HIGH freedom]; caching rules, Capacitor bypass, and the installability check [LOW freedom — run exactly].
A PWA closes the gap between "website" and "app". Users can install it to their home screen, it loads instantly from cache, and it keeps working when the network drops. This skill adds those capabilities to any existing web app without breaking what already works.
How to reason
- Audit — manifest, SW, framework plugin already present
- Choose — caching strategy per asset type; Workbox over raw SW
- Ship — installable manifest + offline fallback + autoUpdate
- Prove — DevTools shows no installability errors; offline revisit works; Capacitor bridge not intercepted