К основному содержанию
скилл CX Codex

app-icon · daveebbelaar — скилл для Claude Code: что делает и как установить

Скилл app-icon для Claude Code и Cursor создаёт macOS-иконки приложений в формате Icon Composer через сборку actool и проверку через ictool.

MIT 1 000 установок ★ 1 933 обновлён 2026-11-05

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add daveebbelaar/bama --skill app-icon -a claude-code
Открыть на GitHub

Что делает app-icon

Скилл генерирует иконку для macOS в виде файлов icon.json и слоёв SVG в каталоге Icon/AppIcon.icon. Для компиляции используется скрипт tools/make_icon.sh, который собирает ассеты в Resources/Assets.car и Resources/AppIcon.icns. Проверка внешнего вида во всех режимах запускается через tools/icon_review.sh.

Проект требует наличия Xcode и корректного имени папки AppIcon.icon, иначе утилита actool завершится без создания ассетов. Лицензия SF Symbol запрещает использовать встроенные символы Apple для иконки приложения.

Агент подключает скилл, когда пользователь просит сделать иконку приложения, улучшить текущую графику или обновить значок в Dock.

Какие задачи решает

  • создать структуру Icon/AppIcon.icon для macOS
  • скомпилировать SVG-слои в Assets.car через actool
  • проверить иконку во всех темах через ictool
  • настроить Info.plist с CFBundleIconName

Примеры запросов агенту

  • Сделай иконку для приложения в стиле Liquid Glass
  • Проверь иконку в разных темах оформления
  • Собери ассеты иконки через скрипт make_icon.sh

Как установить app-icon

1Через Skills CLI (Vercel)

npx skills add daveebbelaar/bama --skill app-icon -a claude-code

2Вручную: положить файлы

~/.claude/skills/app-icon/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/app-icon/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы об app-icon

Как установить app-icon в Claude Code?

Выполните команды npx skills add daveebbelaar/bama --skill app-icon -a claude-code и обратитесь к файлу ~/.claude/skills/app-icon/SKILL.md.

Что делает скилл app-icon?

Он автоматизирует создание, сборку и проверку macOS-иконок приложений с использованием Icon Composer, actool и ictool.

Что нужно для работы app-icon?

Для работы требуются установленный Xcode и утилита Icon Composer для компиляции и проверки графики.

Исходный текст

SKILL.md · MIT
---
name: app-icon
description: 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.
allowed-tools: Bash(tools/make_icon.sh) Bash(tools/icon_review.sh) Bash(./build.sh *) Read Edit Write
---

# 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.sh` compiles it with `actool` into `Resources/Assets.car`
  and `Resources/AppIcon.icns`. `build.sh` runs it when the icon changed.
- `tools/icon_review.sh` renders it with `ictool` (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](more-cases.md).
- An Xcode or XcodeGen project (Xcode compiles the `.icon` itself).
- Converting an existing flat icon into layers.
- A Dock icon that changes with a theme or style. `NSApp.applicationIconImage`
  shows a flat picture, so render glass versions ahead of time.

## The file

```text
Icon/AppIcon.icon/
  icon.json
  Assets/front.svg     1024 x 1024 canvas, same as the icon
  Assets/back.svg
```

```json
{
  "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" ] }
}
```

- `fill` is the background: `solid`, `automatic-gradient` (one color, the
  system adds a soft gradient), or `linear-gradient` with two colors.
  Colors are `srgb:r,g,b,a` or `display-p3:r,g,b,a`.
- The first layer in the list sits on top.
- Shadow `kind`: `neutral`, `layer-color`, or `none`.
- A different look per appearance goes in `<key>-specializations`, for
  example `fill-specializations` with an entry for `dark`.
- 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

1. 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.
2. No text, no letters, no screenshots of the UI.
3. 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.
4. 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.
5. The glyph is large: about 45 to 55 percent of the canvas width. Thin
   parts vanish at 16 px.
6. Filled shapes only. A stroke on an open path leaves a faint glass line.
7. One background hue. `automatic-gradient` looks right almost every time.
8. 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

1. 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.

2. Write the layers as SVG files in `Icon/AppIcon.icon/Assets/`, on a
   1024 x 1024 canvas, white filled shapes (`rect` with `rx`, `circle`,
   `path`). Write `icon.json` to list them. Delete layer files you no
   longer use.

   Check: every `image-name` in `icon.json` has a file in `Assets/`.

3. Compile:

   ```bash
   tools/make_icon.sh
   # wrote Resources/Assets.car and Resources/AppIcon.icns
   ```

   Check: the line above prints. On an error, fix the file it names.

4. Review every look:

   ```bash
   tools/icon_review.sh
   # wrote /tmp/<AppName>-icon.png
   ```

   Read 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.

5. Iterate two or three times. Change one thing per round: glyph size,
   layer opacity, background color.

6. Install and look at the Dock:

   ```bash
   ./build.sh --open
   ```

   If the Dock still shows the old icon, macOS cached it. Run
   `touch ~/Applications/<AppName>.app` and 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, `actool`
  writes nothing and still exits 0. `make_icon.sh` checks for that.
- A missing layer file: `actool` fails with the name, but `ictool` exits 0
  and renders an empty background. Compile before you review.
- PDF layers do not render. Use SVG or PNG.
- `xcrun ictool` is a different tool. Icon Composer's `ictool` lives at
  `$(xcode-select -p)/../Applications/Icon Composer.app/Contents/Executables/ictool`.
- The icon needs `CFBundleIconName` = `AppIcon` in `Info.plist` and
  `Assets.car` in `Contents/Resources`. `AppIcon.icns` covers older Finder
  views and macOS 15.

Done when `tools/make_icon.sh` succeeds, the contact sheet shows a clear
glyph in all four looks and at 16 pt, the icon uses no SF Symbol, and the
Dock shows the new icon.

© daveebbelaar · MIT · daveebbelaar/bama

Похожие скиллы

Все скиллы по теме «Дизайн» →

Сначала — app-icon от других авторов.

app-icon Code-with-Beto Скилл app-icon создаёт и настраивает иконки для проектов на React Native Expo под iOS 26 и Android. Задействует генерацию через SnapAI и прописывает ассеты в app.json. CX Codex +1 2 200установок app-icon Melvynx Скилл app-icon создаёт объёмные иконки для iOS и Android в проектах Expo, а затем нарезает их под требования сторов. CX Codex +1 446установок svg-icon-enrichment calesthio Правило svg-icon-enrichment для Claude Code и Codex: учит оживлять внутренние части SVG-иконок — стрелки, лезвия, пульсирующие точки, бегущие штрихи. Добавляет микроанимацию без замены иконок. CX Codex +1 ★ 78 316звёзд репо icon-composer-mcp ethbak MCP-сервер icon-composer-mcp генерирует наборы .icon для экосистемы Apple из векторных или растровых логотипов. Пригодится разработчикам под iOS и macOS для быстрой подготовки ассетов с эффектом Liquid Glass. CX Codex +1 ★ 74звёзд репо app-store-preflight-skills truongduy2611 Скилл app-store-preflight-skills прогоняет проект Xcode по типовым причинам отказа App Store ещё до отправки: метаданные, подписки, privacy-манифесты, entitlements, дизайн. CX Codex +1 2 200установок ios-icon-gen affaan-m Скилл ios-icon-gen генерирует готовые наборы иконок .imageset для каталогов ассетов Xcode через SF Symbols или Iconify API с масштабными сетками 1x, 2x и 3x. CX Codex +1 6 200установок app-icon-optimization appeeky Скилл app-icon-optimization помогает проектировать, проверять и A/B-тестировать иконку приложения, чтобы росла доля тапов по ней в поиске и каталоге App Store. CX Codex +1 3 000установок swiftui-design-skill wholiver Скилл swiftui-design-skill помогает проектировать экраны SwiftUI для iOS и macOS без шаблонного визуала. Пригодится при вёрстке прототипов и подборе дизайн-направления с нуля. CX Codex +1 1 300установок

Из того же набора21

Весь набор →
design-kit Скилл design-kit для Claude Code и Cursor собирает дизайн-систему для macOS SwiftUI на токенах и компонентах. Включается, когда нужна своя тема интерфейса, фирменный стиль или библиотека элементов. CX Codex +1 1 000установок design-system Скилл design-system для Claude Code собирает дизайн-систему macOS-приложения из цветовых и интерфейсных токенов. Он подключается при настройке акцентного цвета, тем или общих правил для экранов. CX Codex +1 1 000установок new-mac-app Скилл new-mac-app для Claude Code создаёт нативное macOS-приложение на SwiftUI из готового шаблона. Он запускается, когда нужен новый проект или каркас приложения. CX Codex +1 1 000установок test-mac-app Скилл test-mac-app для Claude Code помогает проверять macOS-приложение на нескольких уровнях — от Swift-тестов до управления запущенной программой. Активируется при добавлении логики, исправлении ошибок и проверке перед релизом. CX Codex +1 1 000установок ux-design Скилл ux-design для Claude Code проводит UX-проверку фичи macOS-приложения перед написанием кода, охватывая термины, сценарии, выбор поверхности и доступность. Запускается перед кодингом задачи со скрином, действием или текстом. CX Codex +1 1 000установок bama Скилл bama для Claude Code помогает выбрать следующий этап разработки нативного приложения для macOS. По запросу он направляет работу от идеи и исследования до сборки и проверки приложения. CX Codex +1 1 000установок clone Скилл clone для Claude Code исследует существующее приложение и описывает его экраны для пересборки интерфейса. Запускается по просьбе клонировать, заменить или повторить дизайн приложения. CX Codex +1 1 000установок mac-design Скилл mac-design для Claude Code задаёт правила оформления SwiftUI-приложений под macOS 26 и новее. Подключается при создании или ревью окна, боковой панели, меню и экрана настроек. CX Codex +1 1 000установок

Спонсоры проекта

Компании, которые помогают держать аналитику открытой