pwa-development
Skill9 starsChanged 3 months agoMITView on GitHub
Progressive Web Apps - service workers, caching strategies, offline, Workbox
5 other projects use a version of this.
Adopted by
Most recently taken up by
- devin-thomas/skillstheir own version, first seen Oct 5, 2026
- PanPanFR/oh-my-kilotheir own version, first seen Aug 23, 2026
- alinaqi/maggytheir own version, first seen Jun 12, 2026
- travisjneuman/.claudetheir own version, first seen Feb 25, 2026
- Mindrally/skillstheir own version, first seen Jan 23, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- alinaqi/maggy★ 707same name
- Mindrally/skills★ 266same name
- travisjneuman/.claude★ 101same name
- PanPanFR/oh-my-kilo★ 12same name
- devin-thomas/skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository54 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs/AGENTS.mdAGENTS.md
- agentmemory-agentsSkill
- agentmemory-architectureSkill
- agentmemory-configSkill
- agentmemory-hooksSkill
- agentmemory-mcp-toolsSkill
- agentmemory-rest-apiSkill
- agentmemorySkill
- antislopSkill
- caveman-compressSkill
- caveman-helpSkill
- cavemanSkill
- caveman-statsSkill
- clean-codeSkill
- cloudflareSkill
- codebase-designSkill
- code-reviewSkill
- commit-contextSkill
- commit-historySkill
- delegationSkill
- documentationSkill
- forgetSkill
- git-commitSkill
- graphifySkill
- grillingSkill
- handoff-compactSkill
- handoffSkill
- i-have-adhdSkill
- impeccableSkill
- jev-decisionSkill
- lessonSkill
- memory-disciplineSkill
- plansSkill
- playwright-cliSkill
- ponytail-reviewSkill
- recallSkill
- recapSkill
- rememberSkill
- resolving-merge-conflictsSkill
- session-historySkill
- shadcnSkill
- systematic-debuggingSkill
- test-driven-developmentSkill
- ui-designSkill
- ui-ux-pro-maxSkill
- vercel-reactSkill
- verification-before-completionSkill
- viteSkill
- vitestSkill
- web-design-guidelinesSkill
- web-perfSkill
- write-agentmemory-skillSkill
- writing-skillsSkill
The file
Files
PWA Development Skill
Build Progressive Web Apps that work offline, install like native apps, and deliver fast, reliable experiences across devices.
This skill uses progressive disclosure: this file has the decision maps and quick references. Detailed patterns live in references/. You MUST read the matching reference file before writing that category of code - do not work from memory of this overview.
The Three Pillars
1. HTTPS Required for service workers (localhost OK for dev)
2. SERVICE WORKER Background JS enabling offline, caching, push
3. MANIFEST JSON metadata enabling installationInstallability (Chrome): HTTPS + service worker with fetch handler + manifest with name, icons 192px+512px, start_url, display standalone/fullscreen/minimal-ui.
Reference Map - load BEFORE coding
| Task | Read FIRST |
Create/edit manifest.json, icons, shortcuts, share_target | references/manifest.md |
| Write/register a service worker, SW lifecycle, SW updates | references/service-worker.md |
| Choose or implement a caching strategy | cheat sheet below; details in references/caching-strategies.md |
| Use Workbox (precaching, runtimeCaching, plugins) | references/workbox.md |
| Offline fallback page, online/offline detection, background sync | references/offline.md |
| Install prompt, standalone detection, push notifications, share target handler | references/app-capabilities.md |
| Critical CSS, preload, responsive images, code splitting | references/performance.md |
| Next.js / CRA / Vite integration | references/frameworks.md |
| Lighthouse audit, manual QA, pre/post-launch checklists, project layout | references/testing-launch.md |
Caching Strategy Cheat Sheet
Static assets (CSS, JS, images) -> Cache First
API responses -> Network First
User-generated content -> Stale While Revalidate
Analytics, non-cacheable -> Network Only
Offline-only assets -> Cache OnlyImplementations of each: references/caching-strategies.md.
Service Worker Lifecycle
1. Register -> 2. Install -> 3. Activate -> 4. Fetch
↓ ↓ ↓ ↓
Load app Cache assets Clean old Serve requests
caches from cache/networkCommon Mistakes
| Mistake | Fix |
| Missing maskable icon | Add icon with "purpose": "maskable" |
| No offline fallback | Create offline.html and cache it |
| Cache never expires | Use ExpirationPlugin with Workbox |
| SW caches too aggressively | Appropriate strategy per resource type |
| No update mechanism | skipWaiting() + reload prompt |
| Broken install prompt | Ensure manifest meets all criteria |
| No HTTPS in production | Configure SSL certificate |
| Large cache size | Set maxEntries and maxAgeSeconds |
| Stale API responses | NetworkFirst for dynamic data |
| Missing start_url tracking | Add query param: /?source=pwa |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

