界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
开发与工程 · SKILL.md

pwa-installability

pwa-installability

【开发与工程】Use when auditing PWA readiness, adding an install prompt, or preparing a web app for submission to Microsoft Store or Google Play via PWA Builder.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: pwa-installability description: "Use when auditing PWA readiness, adding an install prompt, or preparing a web app for submission to Microsoft Store or Google Play via PWA Builder." metadata: category: html priority: low difficulty: intermediate estimatedTime: "30" source: frontendchecklist.io url: https://frontendchecklist.io/rules/html/pwa-installability

Meet PWA installability criteria

Installable PWAs appear in the browser's address bar install prompt and in app stores, giving users a native-app experience without an app store listing. Studies consistently show that installed PWAs have higher engagement and retention than browser-only equivalents — users who install spend 3× more time in the app on average.

Quick Reference

  • Serve the app over HTTPS (required by browsers)
  • Link a valid web app manifest with name, icons, start_url, and display
  • Provide a 192×192 and 512×512 icon; add a maskable variant for Android
  • Register a service worker that responds with 200 when offline

Check

Check whether this site meets the PWA installability criteria: HTTPS, valid manifest, service worker, and appropriate icons.

Fix

Add or fix the web app manifest, ensure a service worker is registered, and provide correctly sized maskable icons.

Explain

Explain what makes a web app installable as a PWA and what the manifest display modes mean for the user experience.

Code Review

Review the manifest.json and icon assets. Flag missing required fields, incorrect icon sizes, absent maskable icons, and any mismatch between start_url and the actual app root.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/rules/html/pwa-installability

我的收藏