icon-generator
Generate web UI/UX icon assets (favicon.ico, apple-touch-icon, PWA icons incl. maskable) and optionally Unreal Engine packaging icons (Windows .ico, macOS .iconset/.icns, Linux .png) from a single source SVG/PNG; use when you need correct multi-size icon files, safe-area guidance, manifests/head tags, or automation.
When & Why to Use This Skill
This Claude skill automates the complex process of generating comprehensive icon asset bundles for web and game development. It streamlines the conversion of a single SVG or PNG source into a full suite of production-ready icons, including multi-size favicons, Apple touch icons, and PWA-compliant maskable icons. By providing automated safe-area guidance, HTML head snippets, and manifest files, it ensures cross-platform visual consistency and technical compliance for both web UI/UX and Unreal Engine packaging.
Use Cases
- Web Development: Automatically generating a complete set of favicons and PWA icons (192px, 512px, and maskable variants) to ensure a professional look across all browsers and mobile devices.
- Game Publishing: Creating platform-specific icon sets for Unreal Engine projects, including Windows .ico, macOS .icns, and Linux .png files from a single high-resolution source.
- PWA Optimization: Generating the necessary manifest.webmanifest configurations and maskable icons to meet modern Progressive Web App installation requirements.
- UI/UX Quality Assurance: Using the built-in quality rules to verify that icons remain crisp at small scales (16px/24px) and adhere to safe-area padding standards for mobile interfaces.
| name | icon-generator |
|---|---|
| description | Generate web UI/UX icon assets (favicon.ico, apple-touch-icon, PWA icons incl. maskable) and optionally Unreal Engine packaging icons (Windows .ico, macOS .iconset/.icns, Linux .png) from a single source SVG/PNG; use when you need correct multi-size icon files, safe-area guidance, manifests/head tags, or automation. |
Icon Generator
You generate icon asset bundles for web UI/UX first (favicons + PWA icons), and you can also generate Unreal Engine packaging icon assets when needed.
Fast workflow
Pick target(s): Web UI/UX (favicon + PWA icons) and/or Unreal Engine packaging (optional).
Pick the source icon: prefer a 1024x1024 PNG (square) or a clean SVG. If it's not square, choose whether to crop or pad (default: pad).
Generate the assets using
scripts/generate_icons.py.
Web/PWA sizes and safe-area rules: references/web-ui-ux.md
Unreal Engine formats and expectations: references/unreal-engine.md
Full size tables: references/icon-sizes.md
- Verify output quality: ensure the
.icocontains multiple sizes, and the 16/24/32 px variants are crisp.
Quality rules (what "good" looks like)
- Design for small sizes: avoid thin strokes, tiny text, and busy details.
- Prefer transparent backgrounds for desktop icons unless you intentionally "plate" the icon.
- Preview at 16px and 24px. If it becomes muddy, create a simpler variant.
Automation (recommended)
Run and customize the script:
- Script:
scripts/generate_icons.py - It supports:
- Web/PWA set:
favicon.ico,apple-touch-icon.png,icon-192.png,icon-512.png,icon-maskable-512.png - UE sets (optional): Windows
.ico, macOS.iconset, Linux.png
- Web/PWA set:
If you need HTML <head> snippets, manifest.webmanifest examples, and maskable safe-area guidance, read:
Notes
- If your input is SVG and Python SVG rasterization is unavailable on your machine, export a 1024x1024 PNG first (e.g., Inkscape), then rerun the script using the PNG.
- Keep this SKILL.md lean; detailed size tables live in the reference files.