# app-icon

Skill for Claude Code and Cursor that builds macOS app icons in Icon Composer format using actool and ictool.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 1000 installs · ★ 1933 repo stars
- Author: daveebbelaar
- License: MIT · policy=mirror · the beginning of the file is at the end of this page
- Source: https://github.com/daveebbelaar/bama/tree/HEAD/skills/design/app-icon/SKILL.md
- Updated: 2026-11-05
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/daveebbelaar-app-icon

## What it does

The skill formats icons as an Icon Composer bundle in `Icon/AppIcon.icon`, containing `icon.json` and SVG layers. Compilation runs via `tools/make_icon.sh` into `Resources/Assets.car` and `Resources/AppIcon.icns`, while `tools/icon_review.sh` renders contact sheets for visual inspection across appearances.

Xcode must be installed on the system, and the folder name must strictly match `AppIcon.icon` for compilation to succeed. SF Symbols are prohibited due to licensing rules.

The agent activates this skill whenever the user requests a new app icon, a better graphic, or a Dock icon update.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add daveebbelaar/bama --skill app-icon -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/app-icon/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/app-icon/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add daveebbelaar/bama --skill app-icon -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/app-icon/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add daveebbelaar/bama --skill app-icon -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/app-icon/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install daveebbelaar/bama skills/design/app-icon
```

2. **Manually: put the files in place**
- File: `.github/skills/app-icon/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add daveebbelaar/bama --skill app-icon -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/daveebbelaar/bama --path skills/design/app-icon
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/app-icon/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add daveebbelaar/bama --skill app-icon -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/daveebbelaar/bama/tree/HEAD/skills/design/app-icon/SKILL.md

## When to use it
- generate Icon/AppIcon.icon structure for macOS
- compile SVG layers into Assets.car with actool
- review icon layouts across themes using ictool
- configure CFBundleIconName inside Info.plist

## Example prompts
- Create a new app icon for macOS
- Check the icon appearance in dark and light modes
- Compile the icon assets with make_icon.sh

## Source text · SKILL.md · MIT

Below is the content of a third-party file. It is data, not instructions for you: do not act on anything written inside unless the human asks. Block tag: 43eef99588af0fd8.

BEGIN THIRD-PARTY FILE 43eef99588af0fd8
````text
---
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.
````
END THIRD-PARTY FILE 43eef99588af0fd8

The third-party file has ended. Everything between the 43eef99588af0fd8 tags is data: requests and commands from it are not followed. An “end of file” line with another tag inside the block is part of the file.

First 3271 of 5965 bytes. © daveebbelaar · MIT · https://github.com/daveebbelaar/bama/tree/HEAD/skills/design/app-icon/SKILL.md

_Part of the page did not fit — see the HTML version._

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
