pwa-setup

Configure PWA features for TypeScript and Next.js web applications.

783|62|Updated Jan 19, 2026
One-click install
npx skills add https://github.com/dadbodgeoff/drift --skill pwa-setup-dadbodgeoff
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pwa-setup
Source: https://github.com/dadbodgeoff/drift/tree/main/drift%20v1%20depreciated/skills/pwa-setup
Command: npx skills add https://github.com/dadbodgeoff/drift --skill pwa-setup-dadbodgeoff

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill enables users to install your web application on their devices, providing an app-like experience directly from the browser without needing a native app store.

Core Features & Use Cases

  • Web App Manifest: Defines app metadata, icons, and behavior for installation.
  • Mobile Meta Tags: Configures viewport and theme for optimal display on mobile devices.
  • Safe Area Handling: Ensures content is visible on devices with notches or cutouts.
  • Install Prompts: Implements a user-friendly prompt to encourage installation.
  • Use Case: You want your e-commerce site to feel more like a native app on mobile, allowing users to add it to their home screen for quick access and a seamless shopping experience.

Quick Start

Configure your Next.js application to support PWA features by adding the provided manifest, layout metadata, and safe area CSS.

Frequently Asked Questions about pwa-setup

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

FAQPage Schema
How do I make a Next.js web app installable on mobile devices?

To make a Next.js web app installable, you configure a web app manifest, mobile meta tags, and safe area CSS. This enables app-like experiences, allowing users to install the application directly from the browser without an app store.

How does the beforeinstallprompt event work for a PWA?

The beforeinstallprompt event is a client-side hook that allows you to manage and trigger the PWA installation prompt. It enables you to implement a user-friendly custom prompt instead of relying on the browser's default timing.

Can I use TypeScript to configure a Progressive Web App manifest?

Yes, you can use TypeScript to configure a Progressive Web App manifest in Next.js. The setup integrates manifest files, viewport settings, and client-side hooks within a TypeScript environment.

What's the best way to handle safe areas for notched screens in a web app?

The best way to handle safe areas for notched screens is by applying safe area CSS. This ensures your web app content remains visible and properly positioned on mobile devices with notches or cutouts.

Does a web app manifest require an app store to let users install it?

A web app manifest does not require an app store for installation. It defines app metadata and behavior that enables users to install the application directly from the browser onto their device home screen.