Skip to content
jwynia avatar

Pwa Development

Step-by-step PWA implementation for React and Svelte covering service workers, caching, offline support, and installability.

CCM score
48 of 100
skills.sh installs
470
GitHub stars
195
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers diagnostic states from missing setup through iOS quirks and production readiness, with interventions for each
  • Includes 4 scripts (manifest-generator.ts, sw-scaffolder.ts, cache-strategy-advisor.ts, pwa-audit.ts) plus caching strategy and iOS reference data
  • Maps resources to Cache First, Network First, Stale While Revalidate, and Network Only strategies, and warns against precaching everything
  • Designed for developers adding offline support or fixing caching and update issues in React, SvelteKit, Vite, or Next.js apps

Install

$ npx -y skills add jwynia/agent-skills --skill pwa-development -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

PWA Development

Implement Progressive Web App features including service workers, caching strategies, offline support, and installation prompts for React and Svelte applications.

When to Use This Skill

Use this skill when:

  • Adding PWA capabilities to a web app
  • Implementing offline support
  • Creating service worker caching strategies
  • Debugging PWA installation issues
  • Handling iOS-specific PWA quirks

Do NOT use this skill when:

  • Building backend APIs
  • Working on requirements/design (use those skills first)
  • Need complex offline-first architecture (design first)

Core Principle

PWAs fail when offline behavior is an afterthought. A PWA is not "add service worker to existing app." It's a fundamental architectural decision about data flow, caching, and connectivity failure.

Diagnostic States

P0: No PWA Setup

Symptoms: No manifest.json, no service worker, online-only

Interventions:

  • Run scripts/manifest-generator.ts to create manifest
  • Add <link rel="manifest"> to HTML head
  • Generate minimal SW with scripts/sw-scaffolder.ts

P1: Basic Manifest Only

Symptoms: Manifest exists but SW missing, breaks offline

Details

Repository
github.com/jwynia/agent-skills
Categories
Frontend & UI Code, Mobile Apps
First seen
Jun 3, 2026

Questions

What does the pwa-development skill do?

The pwa-development skill implements Progressive Web App features for React and Svelte projects, including service workers, caching strategies, offline support, manifests and installation prompts. It is meant for adding PWA capabilities to a web app, debugging installation issues, and handling iOS-specific quirks.

How do I install the pwa-development skill?

Run npx -y skills add jwynia/agent-skills --skill pwa-development -y inside your project. Once installed, the agent can help you make a PWA, add offline support, create a service worker, or fix caching issues.

Which frameworks does the pwa-development skill support?

The skill works with React, Svelte/SvelteKit, Vite and Next.js. Its framework quick reference covers vite-plugin-pwa for React with Vite, @vite-pwa/sveltekit for SvelteKit, and next-pwa for Next.js.

Where does pwa-development rank in the Frontend & UI Code category?

The pwa-development skill is listed in the Frontend & UI Code category on Claude Marketplaces, alongside vercel-react-best-practices, web-design-guidelines, design-taste-frontend, vercel-composition-patterns and lark-apps. It stands out by focusing on offline behavior, service workers and installable web apps.

More from jwynia/agent-skills

All 118

Similar to Pwa Development

More Frontend & UI Code