app-icon-rasterize
Installation
SKILL.md
App icon rasterize (SVG → 1024 PNG)
Use when a designer hands off the icon as SVG and you need the PNG that AppIcon.appiconset/Contents.json references.
This is the gap discovered during first-pass icon production on a real project — the SVG → 1024 PNG step was undocumented (only the downstream Pillow Lanczos downscale to the macOS ladder was written up). Each appearance — Light, Dark, Tinted — is a single 1024 universal PNG produced by exactly one rasterize step, documented here. (Tinted is now a standard third appearance alongside Light and Dark; all apps in the reference project ship AppIcon-Tinted.png.)
When to use
- Designer subagent (or human designer) produced a clean
light.svg+dark.svg+tinted.svgmatching the icon spec - You need the matching
AppIcon-Light.png+AppIcon-Dark.pngin<app>/Assets.xcassets/AppIcon.appiconset/ - No
rsvg-convert/inkscape/imagemagickand no Homebrew —qlmanage(QuickLook) ships with macOS and is the rasteriser of record here (this skill exists precisely for the no-Homebrew case)
When NOT to use
- The SVG uses
<filter>blurs,<text>, embedded fonts, or other features QuickLook's SVG generator may render unreliably. Re-author the SVG with flat shapes first. - The SVG already ships as PNG from the designer (e.g. Affinity / Figma export). Just commit the PNG.