
from agent-skills61
Guides an agent to add PWA features to React + Vite apps: manifest, service worker strategies, offline support, installability, and push notifications.
Provides step-by-step guidance and scripts to convert or create React + Vite applications into Progressive Web Apps. Covers manifest generation, vite-plugin-pwa configuration, service worker strategies (generateSW vs injectManifest), offline fallback pages, install prompts, push subscriptions, and caching strategies tailored for assets and API responses. Includes example components, hooks, and Deno helper scripts for generating icons and manifests.
Use this skill when a user asks to create or convert a React app into an installable/offline-capable PWA, to add service workers, configure workbox runtime caching, implement install/update UX, or enable push notifications. Not intended for server-rendered frameworks (prefer next-pwa for Next.js) or very small static sites without offline needs.
This is implementation and development guidance for developer-focused agents with code execution or CLI capabilities (Copilot/Codex/Claude Code/Code-capable assistants) and assumes Node/Deno/CLI access.
React PWA skill provides comprehensive guidance for adding PWA features (manifest, service worker, offline, install prompt, push notifications) to React+Vite apps. Includes 4 well-structured Deno scripts for generating manifests, icons, service worker configs, and auditing PWA compliance. Scripts could not run because Deno is not installed. SKILL.md is thorough with clear phases, code examples, and troubleshooting. Minor string interpolation in generate-icons.ts where file paths are embedded in Node.js eval scripts, but risk is low since inputs are user-provided local paths.
denoClean skill with no security concerns. Well-organized SKILL.md with good progressive disclosure. Scripts are well-written TypeScript/Deno but require Deno runtime not available in audit environment. The generate-icons.ts script constructs Node.js one-liners via string interpolation which is a minor injection concern but acceptable for user-provided local paths.