service-worker-updates

Official

Safely update service workers and caching.

AuthorEsdeveniments
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill guides developers in safely updating and testing service worker caching logic without manually editing the generated public/sw.js file.

Core Features & Use Cases

  • Edit the central template: modify public/sw-template.js to adjust caching rules.
  • Regenerate correctly: run yarn prebuild to apply changes and produce an updated public/sw.js.
  • Validate behavior: test API routing, offline behavior, and cache strategies in development or staging before deployment.

Quick Start

Edit public/sw-template.js to implement the desired caching strategy, then run yarn prebuild to regenerate public/sw.js and verify the changes in the dev server.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: service-worker-updates
Download link: https://github.com/Esdeveniments/esdeveniments-frontend/archive/main.zip#service-worker-updates

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.