pwa-development

pwa-development is a skill for Claude Code from acaprino/daodan. It costs 147 tokens per session (1,217 once invoked), scanned A, original, MIT.

A knowledge base for Progressive Web Apps, or PWAs: websites that can offer app-like installation, offline behavior, notifications, background work, and device features. It covers the web manifest, service workers, storage, performance, security, and distribution.

In plain words
What is it for?
Use it to build or audit install flows, caching and update behavior, push notifications, background tasks, browser storage, device APIs, and PWA performance.
Why use it?
It helps agents account for browser and platform differences instead of treating a PWA like an ordinary web page.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the pwa-expert plugin — 1 skill, 3 commands, 1 agent shipped together

Good fit Use it to build or audit install flows, caching and update behavior, push notifications, background tasks, browser storage, device APIs, and PWA performance.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/acaprino/daodan/pwa-development
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add acaprino/daodan --skill pwa-development
Clone the repo
git clone --depth 1 https://github.com/acaprino/daodan

Made for: Claude Code.

Or install pwa-expert, the plugin that ships this one along with the rest of its 1 skill, 3 commands, 1 agent.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pwa-development

README.md
[![agentmods](https://agentmods.dev/badge/skills/acaprino/daodan/pwa-development/github.svg)](https://agentmods.dev/skills/acaprino/daodan/pwa-development)
Your own site
<a href="https://agentmods.dev/skills/acaprino/daodan/pwa-development"><img src="https://agentmods.dev/badge/skills/acaprino/daodan/pwa-development/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for pwa-development

Your own site · 80×15
<a href="https://agentmods.dev/skills/acaprino/daodan/pwa-development"><img src="https://agentmods.dev/badge/skills/acaprino/daodan/pwa-development.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 147 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,217 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00147 $0.01217
Opus 5 $0.00073 $0.00609
Sonnet 5 $0.00029 $0.00243
Haiku 4.5 $0.00015 $0.00122

Measured 4d ago against content hash 26572dca03d7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

pwa-development scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

exports/claude/plugins/pwa-expert/skills/pwa-development/SKILL.md · 66 lines

How it starts

The opening of the file, as written. The whole thing — 66 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Progressive Web App Development

Knowledge base for building, auditing, and shipping Progressive Web Apps in 2025-2026. Covers manifest, service workers, Web Push, install flows, storage, Project Fugu capabilities, platform constraints, performance (Core Web Vitals), security, and distribution to Google Play, Microsoft Store, App Store (via Capacitor), and Meta Quest.

When to use this skill

Use this skill whenever the active task involves any of:

  • A manifest.webmanifest or manifest.json, manifest members, icons, splash screens, iOS meta tags.
  • A service worker file, registration, caching strategy, update flow, Workbox 7, Serwist.
  • Web Push: VAPID keys, subscription, server-side delivery, Declarative Web Push.
  • PWA install flow on Chromium (beforeinstallprompt), iOS (manual), or Window Controls Overlay on desktop.
  • Background execution: Background Sync, Periodic Background Sync, Background Fetch, Screen Wake Lock.
  • Storage: IndexedDB, OPFS, quotas, navigator.storage.persist().
  • Project Fugu APIs: File System Access, Web Share, Web Bluetooth / USB / HID / Serial / NFC, WebAuthn, etc.
  • Performance for PWAs: Core Web Vitals 2025, INP < 200ms, app shell, code splitting.
  • Security headers for PWAs: HTTPS, CSP tuned for SW, COOP / COEP for SharedArrayBuffer.
  • Distribution: Bubblewrap to Google Play (TWA + assetlinks.json), PWA Builder to Microsoft Store (MSIX), Capacitor to App Store, PWA Builder to Meta Quest.
  • Framework integration: Vite (vite-plugin-pwa), Next.js (@serwist/next), Angular (ng add @angular/pwa), Nuxt (@vite-pwa/nuxt).

Skip this skill if the task is generic frontend styling, generic React performance, cross-platform security unrelated to PWA mechanics, Tauri or Electron wrappers, or GA4 / analytics.

References Library

Read the relevant reference on-demand for the active task. Do NOT preload all references at once; pick the one that matches the question.

Reference Topic
references/manifest.md Web App Manifest: members, icons, splash, iOS meta tags
references/service-workers.md SW lifecycle, caching strategies, Workbox 7, updates, debugging
references/background-execution.md Background Sync, Periodic Sync, Background Fetch, Wake Lock
references/push-notifications.md Web Push end-to-end: VAPID, RFCs, Declarative Push, Badge API
references/install-flows.md beforeinstallprompt, iOS manual install, Window Controls Overlay
references/permissions.md Permissions API, Permissions-Policy header, platform availability
references/storage-persistence.md IndexedDB, OPFS, quotas, persistent storage
references/capabilities-fugu.md Project Fugu API matrix and worked examples
references/platform-constraints.md iOS / Android / Desktop per-platform reality check
references/performance.md Core Web Vitals 2025, INP < 200ms, audit tooling
references/security.md HTTPS, CSP for SW, COOP / COEP, secure contexts
references/distribution.md Bubblewrap / TWA, PWA Builder MSIX, Capacitor, Meta Quest
references/frameworks-tooling.md Vite, Next.js, Angular, Nuxt + debugging surface
references/production-checklist.md Full deploy checklist for going to production

Read the full file on GitHub · 66 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 66 lines · 147 tokens per session scan A 26572dca03d7

Subscribe to this mod's changes

pwa-development is a skill published in the GitHub repository acaprino/daodan (9 stars, last pushed yesterday), licensed MIT. It adds 147 tokens to every session and 1,217 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.

Related

Other skills, from other repositories

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens

next-dev-loop

Verify Next.js runtime behavior after editing app code. Use this skill to confirm a change actually works in a running app — not just that it compiles or type-checks. Combines /next/mcp (Next.js's view) with agent-browser (the browser's view). Requires a running next dev.

vercel/next.js · 68 tokens

playwright-component-testing

Set up component testing with Playwright using a story gallery — scaffold stories and a gallery dev page driven by the built-in mount fixture, no dedicated component-testing runtime. Use when asked to test React or Vue components in isolation with Playwright, or to migrate off @playwright/experimental-ct-react / -vue.

microsoft/playwright · 69 tokens

a11y-debugging

Uses Chrome DevTools MCP for accessibility (a11y) debugging and auditing based on web.dev guidelines. Use when testing semantic HTML, ARIA labels, focus states, keyboard navigation, tap targets, and color contrast.

ChromeDevTools/chrome-devtools-mcp · 50 tokens