SKILL

progressive-web-app

构建支持离线、安装和缓存策略的渐进式 Web 应用(PWA)。适用于提到 PWA、service worker、Web 应用清单、Workbox、“添加到主屏幕”,或希望 Web 应用能离线运行、具有原生体验或可安装的请求。

译文已校对
查看英文原文

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.

适用对象:对象待分类。自动收录 · 待核查。

原作者说明节选

从固定版本的 SKILL.md 提取,保留原文语言。以下内容属于作者说明,本站尚未验证安装、兼容或运行结果。

查看英文原文

原文涵盖的主题

  • Progressive Web Apps (PWAs)
  • Overview
  • When to Use This Skill
  • Deliverables Checklist
  • Step 1: Web App Manifest (manifest.json)
  • Step 2: HTML Shell (index.html)
  • Step 3: Service Worker Registration & Install Prompt (app.js)
  • Step 4: Service Worker (sw.js)

A Progressive Web App is a web application that uses modern browser capabilities to deliver a fast, reliable, and installable experience — even on unreliable networks. The three required pillars are: 1. HTTPS — Required in production for service workers to register (localhost is exempt for development). 2. Web App Manifest (manifest.json) — Makes the app installable and defines its appearance on device home screens. 3. Service Worker (sw.js) — A background script that intercepts network requests, manages caches, and enables offline functionality. Use when the user wants their web app to work offline or on unreliable networks. Use when building a mobile-first web project where users should be able to install the app to their home screen. Use when the user asks about caching strategies, service workers, or improving web app performance and resilience. Use when the user mentions Workbox, web app manifests, background sync, or push notifications for the web. Use when the user asks "can my website be installed like an app?" or "how do I make my site work offline?" — even if they don't use the word PWA. Every PWA implementation must include these files at minimum: [ ] index.html — Links

这里只展示节选,请以完整原文和当前要求为准。

来源仓库
davila7/claude-code-templates
源文件
cli-tool/components/skills/web-development/progressive-web-app/SKILL.md
固定版本
21be197f100a12b8d0dd9a211cc244c8179f84d3
阅读完整原作者说明 ↗

来源与内容状态

本条为自动发现的元数据,尚未完成人工文档核查;适用性与运行结果待核查。

原作者:davila7/claude-code-templates · 原作者仓库元数据。文档核查:未核查。最近来源检查:2026-11-09T15:01:40.841Z。

分类由名称、说明与路径规则生成,分类不代表已核实适配。

许可与权利归属

MIT。第三方内容及版权归原作者,使用条件以原文为准。

许可原文 ↗

本站没有因同步、复制或用户自报成功而将资源标为运行验证通过。

限制与注意事项

  • 元数据收录不代表本站已经安装、适配、实测或进行安全审查。