옵션
집집 Skill 기타 ios-icon-gen

ios-icon-gen

affaan-m/ECC affaan-m/ECC

SF Symbols 또는 Iconify API를 사용하여 Xcode 자산 카탈로그용 PNG 이미지 세트 형태의 iOS 앱 아이콘을 생성합니다.

...모든 것을 확장하십시오
0
업데이트 된 시간 2026년 10월 1일

iOS 아이콘 생성기

두 가지 소스를 기반으로 Xcode 자산 카탈로그용 PNG 아이콘 이미지 세트를 생성합니다.

활성화 시점

  • iOS/macOS Xcode 프로젝트용 아이콘 자산 생성 시
  • 오픈 소스 컬렉션에서 아이콘 검색 시
  • 애셋 카탈로그용 PNG 이미지 세트(1x, 2x, 3x) 생성
  • 플레이스홀더 아이콘을 실제 사용 가능한 고품질 자산으로 교체
  • Xcode 프로젝트 내 기존 아이콘 스타일과 일치시키기

핵심 원칙

1. 두 가지 소스, 하나의 출력 형식

두 소스 모두 Xcode와 호환되는 동일한 이미지 세트를 생성합니다. 필요에 따라 선택하십시오:

소스 아이콘 필요 사항 가장 적합한 용도
Iconify API 200개 이상의 컬렉션에서 275,000개 이상 인터넷 다양한 선택지, 특화된 스타일, 오픈 소스 아이콘
SF 심볼 5,000개 이상의 Apple 심볼 macOS 전용 Apple 고유의 스타일, 오프라인 사용

2. 항상 기존 스타일과 일치

생성하기 전에 프로젝트의 기존 아이콘이 크기, 색상, 두께 측면에서 일관성이 있는지 확인하십시오.

3. 출력 구조

두 방법 모두 완전한 Xcode 이미지 세트를 생성합니다:

/.imageset/
  Contents.json
  .png        # 1x (68px default)
  @2x.png     # 2x (136px default)
  @3x.png     # 3x (204px default)

예시

1단계: 요구 사항 파악

아이콘에 대한 요구 사항을 파악합니다: 아이콘이 나타내는 대상, 선호하는 스타일, 목표 색상 및 크기.

프로젝트에 이미 아이콘이 있는 경우, 기존 스타일을 확인합니다:

# Check dimensions of existing icon
sips -g pixelWidth -g pixelHeight path/to/[email protected]

2단계: 아이콘 검색

Iconify API (다양한 선택지를 원할 경우 권장):

# Search all collections
$SKILL_DIR/scripts/iconify_gen.sh search "receipt"

# Search within a specific collection
$SKILL_DIR/scripts/iconify_gen.sh search "business card" --prefix mdi

# List available collections
$SKILL_DIR/scripts/iconify_gen.sh collections

SF Symbols (Apple 기본 스타일용): SF Symbols 앱을 둘러보거나 일반적인 이름을 참조하세요:

사용 사례 심볼 이름
문서 doc.text, doc.fill
영수증 doc.text.below.ecg, receipt
사람 person.crop.rectangle, person.text.rectangle
카메라 camera, camera.fill
스캔 doc.viewfinder, qrcode.viewfinder
설정 gearshape, slider.horizontal.3

3단계: 미리 보기 (선택 사항)

# Iconify preview
$SKILL_DIR/scripts/iconify_gen.sh preview mdi:receipt-text-outline

4단계: 생성

Iconify API:

# Basic generation
$SKILL_DIR/scripts/iconify_gen.sh mdi:receipt-text-outline editTool_expenseReport

# Custom color and output location
$SKILL_DIR/scripts/iconify_gen.sh mdi:receipt-text-outline myIcon --color 007AFF --output ./Assets.xcassets/icons

옵션: --size (기본값: 68), --color (기본값: 8E8E93), --output

(기본값: /tmp/icons)

SF 심볼:

# Basic generation
swift $SKILL_DIR/scripts/generate_icons.swift doc.text.below.ecg editTool_expenseReport

# Custom color, weight, and output
swift $SKILL_DIR/scripts/generate_icons.swift person.crop.rectangle myIcon --color 007AFF --weight regular --output ./Assets.xcassets/icons

옵션: --size (기본값: 68), --color (기본값: 8E8E93), --weight (기본값: 얇게), --output

(기본값: /tmp/icons)

5단계: 확인 및 통합

  1. 생성된 @2x PNG 파일을 열어 시각적으로 확인하십시오
  2. 자산 카탈로그에 직접 출력되지 않은 경우 해당 위치로 복사하세요:
    cp -r /tmp/icons/.imageset path/to/Assets.xcassets//
    
  3. 프로젝트를 빌드하여 Xcode가 새로운 자산을 인식하는지 확인하십시오

인기 있는 Iconify 컬렉션

접두사 이름 개수 스타일
mdi 머티리얼 디자인 아이콘 7,400개 이상 채움 + 윤곽선 변형
ph 인광 9,000개 이상 아이콘당 6가지 굵기
solar Solar 7400개 이상 굵은, 선형, 윤곽선
tabler Tabler 아이콘 6,000개 이상 일관된 획 두께
lucide 루시드 1700개 이상 깔끔하고 미니멀한
ri 리믹스 아이콘 3100+ 채움형 + 선형 변형
carbon 카본 2,400개 이상 IBM 디자인 언어
heroicons HeroIcons 1200+ Tailwind CSS 보조 도구

모두 보기: https://icon-sets.iconify.design/

스크립트 참조

스크립트 소스 경로
iconify_gen.sh Iconify API (275k+ 아이콘) $SKILL_DIR/scripts/iconify_gen.sh
generate_icons.swift SF 심볼 (5k+ 아이콘) $SKILL_DIR/scripts/generate_icons.swift

모범 사례

  • 생성하기 전에 검색하기 — 사용 가능한 아이콘을 살펴보고 가장 적합한 아이콘을 찾으세요
  • 기존 프로젝트 스타일과 일치시키세요 — 새 아이콘을 생성하기 전에 기존 아이콘의 크기, 색상, 두께를 확인하세요
  • 다양성을 위해 Iconify를 활용하세요 — 200개 이상의 컬렉션을 통해 필요한 정확한 스타일을 찾을 수 있습니다
  • Apple 환경과의 일관성을 위해 SF 심볼을 사용하세요 — 시스템 UI와 완벽하게 일치합니다
  • 자산 카탈로그에 직접 생성 — --output ./Assets.xcassets/icons 를 사용하여 수동 복사 과정 생략
  • 시각적으로 확인하세요 — 적용하기 전에 항상 @2x PNG를 미리 보세요

피해야 할 사례

  • 기존 프로젝트 아이콘 스타일을 확인하지 않고 아이콘 생성하기
  • 프로젝트에 정의된 색상 팔레트가 있음에도 기본 색상을 사용하는 경우
  • 잘못된 크기로 생성하는 경우 (먼저 기존 아이콘을 확인하세요)
  • 시각적 확인 없이 생성된 아이콘을 커밋하는 경우
GitHub에서 보기
---
name: ios-icon-gen
description: Generate iOS app icons as PNG imagesets for Xcode asset catalogs from SF Symbols or the Iconify API.
---

# iOS Icon Generator

Generate PNG icon imagesets for Xcode asset catalogs from two sources.

## When to Activate

- Generating icon assets for an iOS/macOS Xcode project
- Searching for icons across open source collections
- Creating PNG imagesets (1x, 2x, 3x) for asset catalogs
- Replacing placeholder icons with production-quality assets
- Matching existing icon styles in an Xcode project

## Core Principles

### 1. Two Sources, One Output Format
Both sources produce identical Xcode-compatible imagesets. Choose based on need:

| Source | Icons | Requires | Best for |
|--------|-------|----------|----------|
| **Iconify API** | 275,000+ from 200+ collections | Internet | Wide selection, specific styles, open source icons |
| **SF Symbols** | 5,000+ Apple symbols | macOS only | Apple-native style, offline use |

### 2. Always Match Existing Style
Before generating, check the project's existing icons for size, color, and weight consistency.

### 3. Output Structure
Both methods produce a complete Xcode imageset:

```
<output-dir>/<asset-name>.imageset/
  Contents.json
  <asset-name>.png        # 1x (68px default)
  <asset-name>@2x.png     # 2x (136px default)
  <asset-name>@3x.png     # 3x (204px default)
```

## Examples

### Step 1: Assess Requirements

Determine icon needs: what the icon represents, preferred style, target color, and size.

If the project already has icons, check existing style:
```bash
# Check dimensions of existing icon
sips -g pixelWidth -g pixelHeight path/to/[email protected]
```

### Step 2: Search for Icons

**Iconify API (recommended for wide selection):**
```bash
# Search all collections
$SKILL_DIR/scripts/iconify_gen.sh search "receipt"

# Search within a specific collection
$SKILL_DIR/scripts/iconify_gen.sh search "business card" --prefix mdi

# List available collections
$SKILL_DIR/scripts/iconify_gen.sh collections
```

**SF Symbols (for Apple-native style):**
Browse the SF Symbols app or reference common names:

| Use Case | Symbol Name |
|----------|-------------|
| Document | `doc.text`, `doc.fill` |
| Receipt | `doc.text.below.ecg`, `receipt` |
| Person | `person.crop.rectangle`, `person.text.rectangle` |
| Camera | `camera`, `camera.fill` |
| Scan | `doc.viewfinder`, `qrcode.viewfinder` |
| Settings | `gearshape`, `slider.horizontal.3` |

### Step 3: Preview (Optional)

```bash
# Iconify preview
$SKILL_DIR/scripts/iconify_gen.sh preview mdi:receipt-text-outline
```

### Step 4: Generate

**Iconify API:**
```bash
# Basic generation
$SKILL_DIR/scripts/iconify_gen.sh mdi:receipt-text-outline editTool_expenseReport

# Custom color and output location
$SKILL_DIR/scripts/iconify_gen.sh mdi:receipt-text-outline myIcon --color 007AFF --output ./Assets.xcassets/icons
```

Options: `--size <pt>` (default: 68), `--color <hex>` (default: 8E8E93), `--output <dir>` (default: /tmp/icons)

**SF Symbols:**
```bash
# Basic generation
swift $SKILL_DIR/scripts/generate_icons.swift doc.text.below.ecg editTool_expenseReport

# Custom color, weight, and output
swift $SKILL_DIR/scripts/generate_icons.swift person.crop.rectangle myIcon --color 007AFF --weight regular --output ./Assets.xcassets/icons
```

Options: `--size <pt>` (default: 68), `--color <hex>` (default: 8E8E93), `--weight <name>` (default: thin), `--output <dir>` (default: /tmp/icons)

### Step 5: Verify and Integrate

1. Read the generated @2x PNG to verify visually
2. Copy to asset catalog if not output there directly:
   ```bash
   cp -r /tmp/icons/<name>.imageset path/to/Assets.xcassets/<group>/
   ```
3. Build the project to verify Xcode picks up the new assets

## Popular Iconify Collections

| Prefix | Name | Count | Style |
|--------|------|-------|-------|
| `mdi` | Material Design Icons | 7400+ | Filled + outline variants |
| `ph` | Phosphor | 9000+ | 6 weights per icon |
| `solar` | Solar | 7400+ | Bold, linear, outline |
| `tabler` | Tabler Icons | 6000+ | Consistent stroke width |
| `lucide` | Lucide | 1700+ | Clean, minimal |
| `ri` | Remix Icon | 3100+ | Filled + line variants |
| `carbon` | Carbon | 2400+ | IBM design language |
| `heroicons` | HeroIcons | 1200+ | Tailwind CSS companion |

Browse all: <https://icon-sets.iconify.design/>

## Scripts Reference

| Script | Source | Path |
|--------|--------|------|
| `iconify_gen.sh` | Iconify API (275k+ icons) | `$SKILL_DIR/scripts/iconify_gen.sh` |
| `generate_icons.swift` | SF Symbols (5k+ icons) | `$SKILL_DIR/scripts/generate_icons.swift` |

## Best Practices

- **Search before generating** -- browse available icons to find the best match
- **Match existing project style** -- check dimensions, color, and weight of existing icons before generating new ones
- **Use Iconify for variety** -- 200+ collections means you can find the exact style you need
- **Use SF Symbols for Apple consistency** -- they match system UI perfectly
- **Generate directly to asset catalog** -- use `--output ./Assets.xcassets/icons` to skip manual copying
- **Verify visually** -- always preview the @2x PNG before committing

## Anti-Patterns

- Generating icons without checking existing project icon style
- Using default colors when the project has a defined color palette
- Generating at wrong sizes (check existing icons first)
- Committing generated icons without visual verification

ios-icon-gen 설치

스킬 파일을 다운로드하여 .claude/skills/ 디렉터리에 압축을 풀어주세요.

ZIP 다운로드

저장소를 클론하고 스킬 파일을 프로젝트에 복사하세요.

git clone https://github.com/affaan-m/ECC/tree/main/skills/ios-icon-gen # Copy SKILL.md to your .claude/skills/ directory

복사 복사
빠른 설정: 스킬 폴더를 .claude/skills/로 복사하세요. Claude가 해당 스킬을 자동으로 감지하여 사용할 것입니다.
저장소 affaan-m/ECC

관련 스킬

multica-creating-agents
업데이트 된 시간 2026년 8월 12일
tilemaps
업데이트 된 시간 2026년 8월 4일
v4-new-features
업데이트 된 시간 2026년 8월 4일
agent-github-pr-manager
업데이트 된 시간 2026년 8월 3일
OR