app-icon
БесплатноБез исполняемых скриптовНе проверенLiquid Glass macOS app icon made as an Icon Composer file (Icon/AppIcon.icon, JSON plus SVG layers), compiled with actool, and reviewed in every look with…
от daveebbelaar★ 2 010 звёзд на GitHubОб этом скилле
App icon
The icon is an Icon Composer file in git: Icon/AppIcon.icon, a folder
with icon.json and SVG layers in Assets/. You write both by hand.
macOS adds the glass, the highlights, the shadow, the mask, and the dark,
tinted, and clear looks. You never draw those yourself.
tools/make_icon.shcompiles it withactoolintoResources/Assets.carandResources/AppIcon.icns.build.shruns it when the icon changed.tools/icon_review.shrenders it withictool(Icon Composer's command line tool, inside Xcode) into one contact sheet you read.
Older app without these files: copy Icon/, tools/make_icon.sh,
tools/icon_review.sh, and tools/icon_sheet.swift from the
new-mac-app template, the icon block of its build.sh, and
CFBundleIconName = AppIcon from its Info.plist.in.
Other cases: more-cases.md.
- An Xcode or XcodeGen project (Xcode compiles the
.iconitself). - Converting an existing flat icon into layers.
- A Dock icon that changes with a theme or style.
NSApp.applicationIconImageshows a flat picture, so render glass versions ahead of time.
The file
Icon/AppIcon.icon/
icon.json
Assets/front.svg 1024 x 1024 canvas, same as the icon
Assets/back.svg
{
"fill" : { "automatic-gradient" : "srgb:0.20000,0.42000,0.96000,1.00000" },
"groups" : [
{
"layers" : [
{ "glass" : true, "image-name" : "front.svg", "name" : "front" },
{ "glass" : true, "image-name" : "back.svg", "name" : "back", "opacity" : 0.6 }
],
"shadow" : { "kind" : "neutral", "opacity" : 0.5 },
"translucency" : { "enabled" : true, "value" : 0.5 }
}
],
"supported-platforms" : { "squares" : [ "macOS" ] }
}
fillis the background:solid,automatic-gradient(one color, the system adds a soft gradient), orlinear-gradientwith two colors. Colors aresrgb:r,g,b,aordisplay-p3:r,g,b,a.- The first layer in the list sits on top.
- Shadow
kind:neutral,layer-color, ornone. - A different look per appearance goes in
<key>-specializations, for examplefill-specializationswith an entry fordark. - The art fills the whole square. Never draw the rounded square, a margin, a shadow, or a sheen: the system adds them.
What makes it look like Apple made it
- One idea. One object that says what the app does: a check for tasks, a stack of cards for a reader, a waveform for audio.
- No text, no letters, no screenshots of the UI.
- The glyph is your own drawing. Never use an SF Symbol, or a shape that looks like one: the SF Symbols license forbids symbols in app icons.
- Two or three layers, each one flat shape in white or one tint. Glass gives the depth. Put the main shape on top, a softer one behind it.
- The glyph is large: about 45 to 55 percent of the canvas width. Thin parts vanish at 16 px.
- Filled shapes only. A stroke on an open path leaves a faint glass line.
- One background hue.
automatic-gradientlooks right almost every time. - Distinct from the apps next to it in the Dock. List Dock apps without a
screenshot:
defaults read com.apple.dock persistent-apps | grep file-label.
Steps
Read
docs/BRIEF.md. Write three icon concepts in one line each: the object, the background color, the layers. Pick one with the user, or pick the one that is easiest to recognize at 16 px.Check: one concept is chosen and it uses no SF Symbol.
Write the layers as SVG files in
Icon/AppIcon.icon/Assets/, on a 1024 x 1024 canvas, white filled shapes (rectwithrx,circle,path). Writeicon.jsonto list them. Delete layer files you no longer use.Check: every
image-nameinicon.jsonhas a file inAssets/.Compile:
tools/make_icon.sh # wrote Resources/Assets.car and Resources/AppIcon.icnsCheck: the line above prints. On an error, fix the file it names.
Review every look:
tools/icon_review.sh # wrote /tmp/<AppName>-icon.pngRead the PNG. It shows Default, Dark, Tinted, and Clear at 256 pt, then Default at 32 and 16 pt. The glyph reads in every look and is still recognizable at 16 pt. If not, make it bigger, bolder, or simpler.
Iterate two or three times. Change one thing per round: glyph size, layer opacity, background color.
Install and look at the Dock:
./build.sh --openIf the Dock still shows the old icon, macOS cached it. Run
touch ~/Applications/<AppName>.appand restart the app. As a last resort,killall Dock.
The user can fine-tune the file by hand in Icon Composer:
open -a "Icon Composer" Icon/AppIcon.icon. Run tools/make_icon.sh
after they save.
Gotchas
- The folder must be named
AppIcon.icon. With another name,actoolwrites nothing and still exits 0.make_icon.shchecks for that. - A missing layer file:
actoolfails with the name, butictoolexits 0 and r
Установить app-icon в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Bash(tools/make_icon.sh)Bash(tools/icon_review.sh)Bash(./build.sh *)ReadEditWriteВложенные файлы
FAQ
Что делает скилл app-icon?
Liquid Glass macOS app icon made as an Icon Composer file (Icon/AppIcon.icon, JSON plus SVG layers), compiled with actool, and reviewed in every look with ictool. Use when the user wants an app icon, a better icon, or a Dock icon.
Как установить скилл app-icon?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл app-icon запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic