app-icon-generator
Skill14 starsChanged 6 months agoMITView on GitHub
Generate professional app icons for macOS, Windows, iOS, Tauri, and Electron projects. Use when the user asks to: create an app icon, generate app icons, make a logo for their app, design an application icon, convert SVG to app icons, generate .icns/.ico files, or needs icons for Tauri/Electron/desktop apps. Handles the full pipeline: SVG design → multi-size PNG → .icns (macOS) → .ico (Windows).
- Installs packages
In this repository14 other files it gives its agents.
- break-itSkill
- debug-modeSkill
- dev-launcherSkill
- diagram-proSkill
- image-uploadSkill
- localizeSkill
- mac-app-uninstallSkill
- mac-cleanup-diskSkill
- mac-cleanup-memorySkill
- mac-cleanup-processSkill
- macos-app-scaffoldSkill
- npm-safetySkill
- root-causeSkill
- skill-scanSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 5 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
Before starting, verify required tools are installed.
- Very specific: line 32
Create logo.svg with these specs:
- Very specific: line 38
Use linearGradient for depth, feDropShadow for polish
- Distinctive: line 39
Keep shapes simple — icons render at 16x16 too
- Distinctive: line 58
Run the bundled conversion script:
- Distinctive: line 81
If Pillow is missing, .ico is skipped with a warning — all other formats still generate.
- Distinctive: line 94
Contrast: Ensure recognizable on both light and dark backgrounds
≈ “Common” is an estimate: at least 1 in 5 of the 364,980 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
App Icon Generator
Generate a production-ready app icon from concept to all required platform formats.
Prerequisites
Before starting, verify required tools are installed. Run this first and only proceed if all checks pass:
which rsvg-convert || echo "⚠ Install required: brew install librsvg"
python3 -c "import PIL" 2>/dev/null || echo "ℹ Optional: pip3 install Pillow (needed for .ico Windows icons)"rsvg-convert— required for SVG → PNG rasterization. If missing, ask the user to installbrew install librsvgand stop.Pillow— optional, only needed if the user wants Windows.ico. Without it the script gracefully skips.icoand still produces.icns+ all PNG sizes.sips— pre-installed on macOS, no action needed.
Workflow
1. Design the SVG (1024x1024)
Create logo.svg with these specs:
- Canvas:
viewBox="0 0 1024 1024"width/height 1024 - Safe area: 824x824 effective area, 100px padding on each side
- Background: Rounded rect at
x=100 y=100 width=824 height=824 rx=185 ry=185 - Content: Centered within the 824x824 area
- Use
linearGradientfor depth,feDropShadowfor polish - Keep shapes simple — icons render at 16x16 too
Example skeleton:
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024" width="1024" height="1024">
<defs>
<linearGradient id="bg" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#COLOR1"/>
<stop offset="100%" stop-color="#COLOR2"/>
</linearGradient>
</defs>
<rect x="100" y="100" width="824" height="824" rx="185" ry="185" fill="url(#bg)"/>
<!-- Icon content here, centered around cx=512 cy=512 -->
</svg>2. Convert to All Formats
Run the bundled conversion script:
bash "${CLAUDE_SKILL_DIR}/scripts/convert_icons.sh" logo.svg ./icons/This generates all files in one step:
| File | Purpose |
32x32.png, 128x128.png, 128x128@2x.png | Desktop standard |
icon.png (512x512) | General use |
icon.icns | macOS app bundle |
icon.ico | Windows executable |
Square*Logo.png | Windows UWP/Store |
StoreLogo.png | Windows Store |
3. Dependencies
rsvg-convert:brew install librsvgiconutil: built-in on macOSPillow(for .ico):pip3 install Pillow
If Pillow is missing, .ico is skipped with a warning — all other formats still generate.
4. Framework Integration
Tauri: Save SVG as src-tauri/icons/logo.svg, output to src-tauri/icons/. Config:
"icon": ["icons/32x32.png", "icons/128x128.png", "icons/128x128@2x.png", "icons/icon.icns", "icons/icon.ico"]Electron: Output to build/icons/. Reference in electron-builder config.
Design Guidelines
- Contrast: Ensure recognizable on both light and dark backgrounds
- Simplicity: Max 2-3 visual elements — must read at 16x16
- No text unless a single letter/symbol (too small at icon sizes)
- Rounded corners (
rx=185): macOS/iOS convention; Windows ignores them - Gradients > flat color: Adds depth and polish
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

