Install any skill in seconds. Free to start, no credit card required.
Get Started Free →alinaqi/pwa-development
Progressive Web Apps - service workers, caching strategies, offline, Workbox
Passed 23 of 23 test cases with the skill, and 22 of 23 without it.
1 fixed22 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
A test case the skill fixed. Same model, same prompt, with and without the skill.
When releasing version 2 of a service worker with cache key `app-cache-v2`, old cached assets under `app-cache-v1` remain stored on user devices, consuming disk space. In which service worker lifecycle event should obsolete caches be deleted, and what method claims active control immediately?
| Checked | Without skill | With skill |
|---|---|---|
| Deletes outdated caches inside the activate lifecycle event listener. | Passed | Passed |
| Executes clients.claim() during service worker activation. | Missed | Passed |
The instructions your model reads when the skill loads.
Purpose: Build Progressive Web Apps that work offline, install like native apps, and deliver fast, reliable experiences across all devices.
┌─────────────────────────────────────────────────────────────────┐
│ THE THREE PILLARS OF PWA │
│ ───────────────────────────────────────────────────────────── │
│ │
│ 1. HTTPS │
│ Required for service workers and security. │
│ localhost allowed for development. │
│ │
│ 2. SERVICE WORKER │
│ JavaScript that runs in background. │
│ Enables offline, caching, push notifications. │
│ │
│ 3. WEB APP MANIFEST │
│ JSON file describing app metadata. │
│ Enables installation and app-like experience. │
├─────────────────────────────────────────────────────────────────┤
│ INSTALLABILITY CRITERIA (Chrome) │
│ ───────────────────────────────────────────────────────────── │
│ • HTTPS (or localhost) │
│ • Service worker with fetch handler │
│ • Web app manifest with: name, icons (192px + 512px), │
│ start_url, display: standalone/fullscreen/minimal-ui │
└─────────────────────────────────────────────────────────────────┘
test cases passed, vs 22 / 23 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.