Service Worker API implementation guide — registration, lifecycle management, caching strategies, push notifications, and background sync. Use when: (1) creating or modifying service worker files (sw.js), (2) implementing offline-first caching (cache-first, network-first, stale-while-revalidate), (3) setting up push notifications or background sync, (4) debugging service worker registration, scope, or update issues, (5) implementing navigation preload, (6) user mentions 'service worker', 'sw.js', 'offline support', 'cache strategy', 'push notification', 'background sync', 'workbox alternative', or 'PWA caching'.
$npx -y skills add jgamaraalv/ts-dev-kit --skill service-workerInstalls into the current project.
Run `npx skills use "https://github.com/jgamaraalv/ts-dev-kit" --skill "jgamaraalv/ts-dev-kit/service-worker"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/jgamaraalv/ts-dev-kit" that are relevant to the current task. Run `npx skills add "https://github.com/jgamaraalv/ts-dev-kit"` and select the relevant skills, then follow their instructions.