본문으로 건너뛰기
Skillpedia
이미지 및 아이콘280k · #341

ios-icon-gen

하는 일

이 도구는 두 가지 다른 이미지 출처를 사용해 모바일 앱(iOS) 아이콘을 만듭니다. iPhone과 iPad 앱을 개발하는 데 쓰는 프로그램인 Xcode가 요구하는 형식으로 파일을 생성합니다.

사용하는 경우

  • ✓새 iOS 앱의 아이콘을 만들어야 할 때.
  • ✓방대한 온라인 컬렉션에서 특정 아이콘을 찾을 때.
  • ✓앱 아이콘이 iOS 시스템 아이콘의 스타일과 맞도록 할 때.

스킬 링크

https://github.com/affaan-m/ECC/blob/main/skills/ios-icon-gen/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/affaan-m/ECC/blob/main/skills/ios-icon-gen/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“iOS 앱의 설정용으로 파란색 톱니바퀴 아이콘을 만들어 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

Apple 시스템에 들어 있는 아이콘(SF Symbols) 또는 거대한 온라인 컬렉션(Iconify) 중에서 고를 수 있습니다. 그다음 도구가 Xcode에 필요한 크기(1x, 2x, 3x)의 이미지 파일을 만듭니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

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:

# Check dimensions of existing icon
sips -g pixelWidth -g pixelHeight path/to/existing@2x.png

Step 2: Search for Icons

Iconify API (recommended for wide selection):

# 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)

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

Step 4: Generate

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

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

SF Symbols:

# 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:
    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

…

자주 묻는 질문

SF Symbols와 Iconify는 무엇이 다른가요?

SF Symbols는 Apple이 만든 아이콘으로, iOS 디자인과 완벽하게 맞고 오프라인에서도 쓸 수 있습니다. Iconify는 스타일이 더 다양한 오픈소스 아이콘의 훨씬 큰 모음이지만, 인터넷 연결이 필요합니다.

아이콘의 색과 크기를 고를 수 있나요?

네. 프로젝트에 맞도록 생성되는 아이콘의 색과 크기를 지정할 수 있습니다.

생성된 아이콘은 어디에 저장되나요?

기본적으로 임시 폴더에 저장되지만, Xcode 프로젝트의 에셋 폴더에 바로 저장하도록 지정할 수도 있습니다.

상세 정보

작성자의 원본 설명

Generate iOS app icons as PNG imagesets for Xcode asset catalogs from SF Symbols (5000+ Apple-native) or Iconify API (275k+ open source icons from 200+ collections). Use when generating icons, creating icon assets, adding icons to asset catalog, or searching for icons for iOS projects.

repo: affaan-m/ECC

인기도

GitHub 스타
280k
순위
#341
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬