secondsky avatar

Progressive Web App

This covers the core pieces you need to turn a web app into something users can install and use offline. You get service worker patterns for cache-first fetching, a manifest setup for the home screen icon, and the beforeinstallprompt handler so you can control when to show the install button. The push notification snippet is here too if you need it. Good for when you want your app to feel more native without actually building native, or when offline support matters for your users. The checklist at the end is a practical reminder of what actually needs to happen before browsers will consider it installable.

skills.sh installs
523
GitHub stars
248
last updated
Aug 21, 2026

Install

$ npx -y skills add secondsky/claude-skills --skill progressive-web-app --agent claude-code

Installs into .claude/skills of the current project.

Files

Progressive Web App (PWA)

Build web applications that work like native apps with offline support and installability.

Web App Manifest

{
  "name": "My Application",
  "short_name": "MyApp",
  "start_url": "/",
  "display": "standalone",
  "background_color": "#ffffff",
  "theme_color": "#000000",
  "icons": [
    { "src": "/icon-192.png", "sizes": "192x192", "type": "image/png" },
    { "src": "/icon-512.png", "sizes": "512x512", "type": "image/png" }
  ]
}

Service Worker

const CACHE_NAME = 'app-v1';
const STATIC_ASSETS = ['/', '/index.html', '/styles.css', '/app.js'];

// Install
self.addEventListener('install', event => {
  event.waitUntil(
    caches.open(CACHE_NAME).then(cache => cache.addAll(STATIC_ASSETS))
  );
});

// Fetch with cache-first strategy
self.addEventListener('fetch', event => {
  event.respondWith(
    caches.match(event.request).then(cached => {
      if (cached) return cached;

Sponsors

Details

Repository
github.com/secondsky/claude-skills
Category
Backend & APIs
First seen
Jun 3, 2026

More from secondsky/claude-skills

All 146
1dstn2000 avatarunreal-enginedstn2000/claude-unreal-engine-skillComprehensive Unreal Engine C++ and Blueprint development assistant with deep project structure understanding. Use when helping with Unreal Engine projects, inc522skills.sh installs
2brianrwagner avatarreddit-insightsbrianrwagner/ai-marketing-claude-code-skillsSearch and analyze Reddit content using semantic AI search via reddit-insights.com MCP server. Use when you need to: (1) Find user pain points and frustrations 521skills.sh installs
3bobmatnyc avatarexpress-productionbobmatnyc/claude-mpm-skillsProduction-ready Express.js development covering middleware architecture, error handling, security hardening, testing strategies, and deployment patterns519skills.sh installs
4wanshuiyin avatarauto-review-loop-minimaxwanshuiyin/auto-claude-code-research-in-sleepAutonomous multi-round research review loop using MiniMax API. Use when you want to use MiniMax instead of Codex MCP for external review. Trigger with "auto rev519skills.sh installs
5hkuds avatarcli-anything-safarihkuds/cli-anythingSafari browser automation CLI on macOS via safari-mcp. Controls real Safari (native, keeps logins) by wrapping the safari-mcp MCP server. Every one of the 84 MC518skills.sh installs
6jezweb avatarfirecrawl-scraperjezweb/claude-skillsConvert websites into LLM-ready data with Firecrawl API. Features: scrape, crawl, map, search, extract, agent (autonomous), batch operations, and change trackin518skills.sh installs