Skip to main content
skill

progressive-web-app · davila7 — Claude Code skill: what it does, how to install

Guides Claude Code in turning web projects into installable PWAs with offline caching, web app manifests, and custom install prompts.

Install into Claude Code · claude-code-templates All methods and platforms ↓
npx claude-code-templates@latest --skill web-development/progressive-web-app
Open on GitHub

What progressive-web-app does

This skill provides instructions for generating Progressive Web App setups inside web projects. It helps the assistant assemble the base file structure, including index.html, manifest.json, the service worker script sw.js, and the registration module app.js. The model learns to pre-cache the application shell and structure cache versioning properly.

The instructions handle custom installation buttons by capturing the beforeinstallprompt browser event. For icons, it configures maskable formats to adapt to mobile screens, while adding meta tags for iOS Safari compatibility. Deployments strictly demand HTTPS for service worker registration, although development works on localhost. Leaving out offline.html breaks the installation flow.

What it helps with

  • Configure manifest.json with adaptive maskable icons
  • Implement app shell caching in service worker sw.js
  • Handle beforeinstallprompt to trigger install flows manually
  • Supply a fallback offline.html screen when network requests fail

Example prompts for the agent

  • Convert this project into an installable PWA with offline caching
  • Generate a web app manifest and service worker registration script
  • Add a custom add-to-home-screen prompt button for mobile users

How to install progressive-web-app

1claude-code-templates

npx claude-code-templates@latest --skill web-development/progressive-web-app

2Skills CLI (Vercel)

npx skills add davila7/claude-code-templates --skill progressive-web-app -a claude-code

3Manually: put the files in place

~/.claude/skills/progressive-web-app/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/progressive-web-app/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about progressive-web-app

How to install progressive-web-app in Claude Code?

Run npx claude-code-templates@latest --skill web-development/progressive-web-app in your project terminal.

What does progressive-web-app do?

It instructs the coding assistant how to scaffold Progressive Web Apps with service workers, manifest metadata, and offline fallbacks.

What happens if offline.html is missing?

The PWA setup fails because the service worker installation routine requires offline.html in its pre-cached app shell list.

Similar skills

All skills for Frontend and UI →

progressive-web-app by other authors comes first.

From the same set804

The whole set →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor