pwa-assets-generator

Generate PWA icons, maskable icons, favicons, and screenshots from a 1024x1024px source image.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/laststance/claude-code-marketplace --skill pwa-assets-generator
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: pwa-assets-generator
Source: https://github.com/laststance/claude-code-marketplace/tree/main/pwa-assets-generator/skills/pwa-assets-generator
Command: npx skills add https://github.com/laststance/claude-code-marketplace --skill pwa-assets-generator

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires sharp, png-to-ico, and includes scripts (resource) components.

What problem does it solve?

Creating a complete set of PWA assets from scratch is time-consuming and error-prone. This Skill automates generating icons, masks, favicons, and placeholders from a single 1024x1024 image, ensuring consistency and reducing manual work.

Core Features & Use Cases

  • Automated asset suite: Produces all required PWAs icons (standard, maskable, Apple touch) and a multi-resolution favicon from a single source image.
  • Maskable support & padding: Generates 192x192 maskable icon with safe-area padding for compliant PWAs.
  • Placeholders & previews: Creates branded desktop/mobile screenshots placeholders to speed up UI reviews.

Quick Start

Use the generator to create assets from your 1024x1024 source image, for example: node scripts/generate-pwa-assets.js ./logo.png ./public

Frequently Asked Questions about pwa-assets-generator

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

FAQPage Schema
How do I generate PWA icons and assets from a single image?▼

Generate PWA assets by running the script with your 1024x1024 source image. The tool automatically creates standard icons, maskable icons with safe-area padding, Apple touch icons, favicons, and screenshot placeholders in your output directory using sharp for resizing and png-to-ico for favicon conversion.

What image size and format do I need for PWA asset generation?▼

Use a 1024x1024 pixel image as your source. The generator accepts standard image formats and outputs resized versions for all PWA requirements: 192x192 and 512x512 standard icons, 192x192 maskable icons, iOS touch icons, multi-resolution favicons, and mobile/desktop screenshot placeholders.

Can I automate PWA asset creation in my Node.js project?▼

Yes, this automation runs as a Node.js script that installs sharp and png-to-ico dependencies automatically. It generates your complete PWA asset bundle in one command, eliminating manual icon resizing and ensuring consistency across all required sizes and formats for your web app manifest.

What are maskable icons and why do I need them?▼

Maskable icons are PWA icons that adapt to different device shapes and backgrounds. This generator creates 192x192 maskable icons with proper safe-area padding, allowing your icon to display correctly on devices that apply masks, such as rounded corners or notches on modern phones.

Does this tool work with existing PWA manifest configurations?▼

Yes, the generated assets follow standard PWA manifest specifications. Output includes all icon sizes, maskable variants, and favicon formats needed in a web app manifest, plus branded screenshot placeholders for app store listings and UI reviews.

What output files does the asset generator create?▼

The generator produces app icons at multiple resolutions, maskable icon variants with padding, Apple touch icons for iOS, favicon files in multiple formats, badge icons for notifications, and desktop/mobile screenshot placeholders—all organized in your specified output directory.