
Progressive Web App
- 338 installs
- 202 repo stars
- Updated August 4, 2026
- secondsky/claude-skills
progressive-web-app is an agent skill that builds installable Progressive Web Apps with service workers, web manifests, offline support, and push notifications for developers who need native-like web experiences.
About
progressive-web-app is an MIT-licensed agent skill from secondsky/claude-skills for PWA development. The skill guides developers through web app manifest configuration with fields like name, short_name, start_url, display, theme_color, and icon sizes such as 192x192, plus service worker registration, cache strategies, offline functionality, installation prompts, and push notification setup. It helps resolve common errors around service worker scope, manifest validation, and cache invalidation. Developers reach for progressive-web-app when turning a responsive web app into an installable, offline-capable experience without shipping a native mobile binary.
- progressive-web-app
Progressive Web App by the numbers
- 338 all-time installs (skills.sh)
- +11 installs in the week ending Jul 27, 2026 (Skillselion tracking)
- Ranked #1,191 of 4,347 Backend & APIs skills by installs in the Skillselion catalog
- Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/secondsky/claude-skills --skill progressive-web-appAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 338 |
|---|---|
| repo stars | ★ 202 |
| Last updated | August 4, 2026 |
| Repository | secondsky/claude-skills ↗ |
How do you add service workers and offline support to a web app?
Use progressive-web-app for development tasks
Who is it for?
Developers adding installability, offline caching, and push notifications to an existing web frontend.
Skip if: Developers building fully native iOS or Android apps without a service-worker-based web layer.
When should I use this skill?
A developer needs PWA manifests, service worker registration, offline caching, install prompts, or push notification setup.
What you get
Web app manifest, registered service worker, cache strategy, and installable PWA configuration.
- manifest.json
- service-worker.js
- cache strategy config
By the numbers
- Documents web manifest icon size example: 192x192
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;
return fetch(event.request).then(response => {
if (response.status === 200) {
const clone = response.clone();
caches.open(CACHE_NAME).then(cache => cache.put(event.request, clone));
}
return response;
});
})
);
});Install Prompt
let deferredPrompt;
window.addEventListener('beforeinstallprompt', e => {
e.preventDefault();
deferredPrompt = e;
showInstallButton();
});
async function installApp() {
if (!deferredPrompt) return;
deferredPrompt.prompt();
const { outcome } = await deferredPrompt.userChoice;
console.log('Install outcome:', outcome);
deferredPrompt = null;
}Push Notifications
async function subscribeToPush() {
const registration = await navigator.serviceWorker.ready;
const subscription = await registration.pushManager.subscribe({
userVisibleOnly: true,
applicationServerKey: VAPID_PUBLIC_KEY
});
await sendSubscriptionToServer(subscription);
}PWA Checklist
- [ ] HTTPS enabled
- [ ] Web manifest configured
- [ ] Service worker registered
- [ ] Offline fallback page
- [ ] Responsive design
- [ ] Fast loading (<3s on 3G)
- [ ] Installable
Related skills
How it compares
Choose progressive-web-app for browser-installable web apps instead of native mobile build skills.
FAQ
What does progressive-web-app help developers configure?
progressive-web-app helps configure web app manifests, service worker registration, offline cache strategies, installation prompts, and push notifications. Developers use the skill when building installable web apps that behave like native clients.
Which manifest fields does progressive-web-app cover?
progressive-web-app covers manifest fields including name, short_name, start_url, display, background_color, theme_color, and icons such as 192x192 PNG assets. The skill also addresses service worker registration and cache strategy errors.