pwa-next

Configure service workers, caching, and manifest for Next.js PWAs.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/Naw3/skillsrepo --skill pwa-next
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pwa-next
Source: https://github.com/Naw3/skillsrepo/tree/main/pwa-next
Command: npx skills add https://github.com/Naw3/skillsrepo --skill pwa-next

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables developers to build offline-capable, installable Progressive Web Apps with Next.js by handling service workers, caching strategies, and manifest configuration.

Core Features & Use Cases

  • Offline support and caching strategies using next-pwa
  • Installability through a web app manifest and install prompts
  • Service worker customization and page caching for production deployments
  • Use Case: Transform a standard Next.js site into a PWA so it works offline and can be installed on devices.

Quick Start

Install the library and enable PWA in your Next.js project: npm install next-pwa, then wrap your Next.js config with withPWA, and ensure a manifest and service worker setup as demonstrated in the guidance.

Frequently Asked Questions about pwa-next

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I make a Next.js app work offline?

To make a Next.js app work offline, you need to integrate a service worker for caching. This Skill guides you through using next-pwa to wrap your Next.js config and implement effective page caching strategies for production deployments.

What is a web app manifest and how does it enable PWA installability?

A web app manifest is a JSON file that provides metadata for installability. This Skill helps you configure the manifest and implement install prompts so users can install your Next.js Progressive Web App directly onto their devices.

How do I add a custom service worker to my Next.js project?

You can add a custom service worker by installing next-pwa and wrapping your Next.js configuration with the withPWA function. This Skill demonstrates how to handle service worker customization and caching strategies across typical Next.js deployment patterns.

Does next-pwa work with standard Next.js deployment patterns?

Yes, next-pwa integrates with standard Next.js deployment patterns. This Skill ensures scalable, production-ready workflows for wrapping your config and setting up the manifest, service worker, and installability features without conflicting with your existing build process.

What's the best way to configure caching strategies for a Next.js PWA?

The best way to configure caching strategies for a Next.js PWA is by leveraging next-pwa. This Skill provides guidance on setting up service workers and customizing page caching to ensure your offline functionality is robust and production-ready.