favicon-pwa

Set up favicon and PWA manifest for website projects. Creates favicon.ico, apple-touch-icon, and site.webmanifest. Use at project end before release. Triggers on "favicon", "PWA", "manifest", "app icon".

$ Installer

git clone https://github.com/majiayu000/claude-skill-registry /tmp/claude-skill-registry && cp -r /tmp/claude-skill-registry/skills/development/favicon-pwa ~/.claude/skills/claude-skill-registry

// tip: Run this command in your terminal to install the skill


name: favicon-pwa description: Set up favicon and PWA manifest for website projects. Creates favicon.ico, apple-touch-icon, and site.webmanifest. Use at project end before release. Triggers on "favicon", "PWA", "manifest", "app icon".

Favicon & PWA Setup

Create favicon set and PWA manifest for professional web presence.

Workflow

  1. Get brand colors from globals.css
  2. Create/request favicon source (512x512 PNG or SVG)
  3. Generate favicon variants
  4. Create site.webmanifest
  5. Add to app/layout.tsx

Required Files

Favicon Set

FileSizeLocation
favicon.ico16x16, 32x32, 48x48app/favicon.ico
apple-touch-icon.png180x180public/apple-touch-icon.png
icon-192.png192x192public/icon-192.png
icon-512.png512x512public/icon-512.png

site.webmanifest

Create at public/site.webmanifest:

{
  "name": "[Business Name]",
  "short_name": "[Short Name]",
  "icons": [
    { "src": "/icon-192.png", "sizes": "192x192", "type": "image/png" },
    { "src": "/icon-512.png", "sizes": "512x512", "type": "image/png" }
  ],
  "theme_color": "[primary color from globals.css]",
  "background_color": "[background color from globals.css]",
  "display": "standalone",
  "start_url": "/"
}

Layout Integration

Add to app/layout.tsx metadata:

export const metadata: Metadata = {
  icons: {
    icon: '/favicon.ico',
    apple: '/apple-touch-icon.png',
  },
  manifest: '/site.webmanifest',
}

Checklist

  • favicon.ico created (multi-size)
  • apple-touch-icon.png created (180x180)
  • icon-192.png and icon-512.png created
  • site.webmanifest created with correct colors
  • Layout metadata updated
  • Favicon displays in browser tab