solid-service-workers

Community

SolidStart PWA & offline capabilities

Authorvallafederico
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill enables developers to implement Progressive Web App (PWA) features in SolidStart applications, specifically focusing on service workers for offline support, caching, and background synchronization.

Core Features & Use Cases

  • Service Worker Registration: Guides on how to register service workers in SolidStart client entry points.
  • Caching Strategies: Demonstrates various caching approaches like Cache First, Network First, and Stale-While-Revalidate.
  • Offline Support: Provides methods for serving an offline page and indicating online/offline status to users.
  • Background Sync: Explains how to implement background synchronization for data consistency when connectivity is restored.
  • Update Handling: Details strategies for managing service worker updates and cache invalidation.

Quick Start

Register the service worker in your entry-client.tsx file by adding the provided code snippet.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: solid-service-workers
Download link: https://github.com/vallafederico/solid-ai-rules/archive/main.zip#solid-service-workers

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.