progressive-web-apps
/progressive-web-apps
Use this skill when configuring web app manifests, service worker lifecycles, and installability criteria for progressive web apps (PWAs).
- Author
- nextboxis ↗
- Repository
- library-skill-agents ↗
- Licence
- MIT
- Last repository change
- 28.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 28.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Use this skill when configuring web app manifests, service worker lifecycles, and installability criteria for progressive web apps (PWAs).
Original author description
Use this skill when configuring web app manifests, service worker lifecycles, and installability criteria for progressive web apps (PWAs).
How it works
- When to use
- Prerequisites
- Step-by-step workflow
- Commands / code examples
- Common mistakes & pitfalls
- Verification checklist
- Related skills
SKILL.md preview
---
name: progressive-web-apps
description: Use this skill when configuring web app manifests, service worker lifecycles, and installability criteria for progressive web apps (PWAs).
---
# Progressive Web Apps (PWAs)
## When to use
Use this skill when transforming standard web applications into installable, offline-capable Progressive Web Apps that run across desktop and mobile.
## Prerequisites
- Valid HTTPS deployment or `localhost` testing environment.
- Web application with a responsive viewport and favicon/icon assets.
## Step-by-step workflow
1. **Author Web App Manifest**: Create a valid `manifest.webmanifest` defining `name`, `short_name`, `start_url`, `display: "standalone"`, and icons.
2. **Link manifest in HTML**: Add `<link rel="manifest" href="/manifest.webmanifest">` and appropriate `<meta name="theme-color">` tags.
3. **Register Service Worker**: Register a service worker in the main application script once the window loads.
4. **Implement installation prompt**: Intercept the `beforeinstallprompt` browser event to trigger customized in-app install banners.
5. **Audit PWA installability**: Run Google Lighthouse PWA audits to verify required installability criteria and maskable icons.
## Commands / code examples
```json
// public/manifest.webmanifest
{
"name": "Cloud Operations Dashboard",
"short_name": "CloudOps",
"description": "Real-time enterprise telemetry and infrastructure monitoring",
"start_url": "/",
"display": "standalone",
"background_color": "#0f172a",
"theme_color": "#2563eb",
"icons": [
{
"src": "/icons/icon-192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "any"
},
{
"src": "/icons/icon-512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "maskable"
}
]
}
```
```ts
// src/register-sw.ts
export function registerServiceWorker() {
if ('serviceWorker' in navigator && process.env.NODE_ENV === 'production') {
window.addEventListener('load', async () => {
try {
const registration = await navigator.serviceWorker.register('/sw.js');
console.log('ServiceWorker registered with scope:', registration.scope);
} catch (err) {
console.error('ServiceWorker registration failed:', err);
}
});
}
}
```
## Common mistakes & pitfalls
- Serving the web application over unencrypted HTTP (PWAs strictly mandate secure HTTPS).
- Missing a `maskable` icon declaration, resulting in poor icon rendering on Android home screens.
- Failing to handle service worker cache updates, causing users to get stuck on stale app versions.
## Verification checklist
- [ ] Web app manifest validates with zero errors in Chrome DevTools Application tab.
- [ ] At least one 192x192 and one 512x512 icon with `maskable` purpose are present.
- [ ] Service worker registers successfully over HTTPS.
- [ ] Lighthouse PWA audit confirms installability requirements are fulfilled.
## Related skills
- service-workers-offline-caching
- web-vitals-lcp-cls-inp-optimization
- html5-semantic-web
- mobile-app-offline-first-sync
Versions
The database has no other skills named progressive-web-apps.
Database snapshot: 13.11.2026 · package version 526c1dd713f2 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 2 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100progressive-web-app
Build Progressive Web Apps (PWAs) with offline support, installability, and caching strategies. Trigger whenever the user mentions PWA, service workers, web app manifests, Workbox, 'add to home screen', or wants their web app to work offline, feel native, or be installable. - 100progressive-web-app
Build Progressive Web Apps (PWAs) with offline support, installability, and caching strategies. Trigger whenever the user mentions PWA, service workers, web app manifests, Workbox, 'add to home screen', or wants their web app to work offline, feel native, or be installable. - 100progressive-web-app
Build Progressive Web Apps (PWAs) with offline support, installability, and caching strategies. Trigger whenever the user mentions PWA, service workers, web app manifests, Workbox, 'add to home screen', or wants their web app to work offline, feel native, or be installable. - 100pwa
Progressive Web App development. Service workers, Web App Manifest, offline-first strategies, caching with Workbox, push notifications, and installability. USE WHEN: user mentions "PWA", "Progressive Web App", "service worker", "offline-first", "Web App Manifest", "Workbox",… - 100web-app-manifest
Use when reviewing templates, rendered HTML, or shared components related to Link a Web App Manifest for installability. Validate the final browser-facing markup, not just the source framework abstraction. - 100progressive-web-app
Progressive Web Apps with service workers, web manifest, offline support, installation prompts. Use for installable web apps, offline functionality, push notifications, or encountering service worker registration, cache strategy, manifest configuration errors.