ios-icon-gen
यह क्या करती है
यह टूल मोबाइल ऐप (iOS) के लिए दो अलग-अलग इमेज स्रोतों का इस्तेमाल करके आइकन बनाता है। यह Xcode के लिए सही फ़ॉर्मेट में फ़ाइलें बनाता है, Xcode वह प्रोग्राम है जिससे iPhone और iPad के ऐप बनाए जाते हैं।
कब इस्तेमाल करें
- ✓किसी नए iOS ऐप के लिए आइकन बनाने हों तब।
- ✓किसी बड़े ऑनलाइन कलेक्शन में कोई खास आइकन ढूंढते समय।
- ✓यह सुनिश्चित करने के लिए कि ऐप के आइकन iOS सिस्टम आइकन के स्टाइल से मेल खाएँ।
Skill का लिंक
https://github.com/affaan-m/ECC/blob/main/skills/ios-icon-gen/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे iOS ऐप के लिए सेटिंग्स का एक गियर आइकन बनाओ, नीले रंग में।”
हर हफ़्ते 5 नई skills, 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
- Read the generated @2x PNG to verify visually
- Copy to asset catalog if not output there directly:
cp -r /tmp/icons/<name>.imageset path/to/Assets.xcassets/<group>/ - 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 प्रोजेक्ट के asset फ़ोल्डर में भी सेव करवा सकते हैं।
जानकारी
लेखक का मूल विवरण
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
- अपडेट की गई
- 15/10/2026
कमेंट
- …
इस repository की और skills
accessibility
280kयह आपके एजेंट को ऐसे इंटरफ़ेस बनाने में मदद करता है जिन्हें हर कोई इस्तेमाल कर सके। यह पक्का करता है कि वेबसाइट और ऐप दिव्यांग लोगों के लिए भी अच्छे से काम करें, जैसे नेत्रहीन या जिन्हें चलने-फिरने में दिक्कत होती है।
agent-architecture-audit
280kयह आपके एजेंट को जाँचने देता है कि सब कुछ सही से चल रहा है। यह AI सिस्टम में समस्याएँ ढूँढकर ठीक करता है, ताकि वे उम्मीद के मुताबिक काम करें।
agent-eval
280kयह आपके एजेंट को अलग-अलग AI coding tools की तुलना करने में मदद करता है। यह मापता है कि किसी खास काम के लिए कौन सा टूल ज़्यादा तेज़, सस्ता और भरोसेमंद है।
agent-harness-construction
280kयह आपके एजेंट को काम कैसे करना है, यह बेहतर समझने में मदद करता है। यह उन tools और instructions को बेहतर बनाता है जिनका एजेंट इस्तेमाल करता है, ताकि उसकी सफलता की संभावना बढ़े।
मिलती-जुलती skills
gifgrep
394kयह आपके एजेंट को GIF लाइब्रेरी में खोजने, नतीजों का पूर्वावलोकन करने, GIF डाउनलोड करने, और उससे एक फ़्रेम या फ़्रेम्स की शीट निकालने देती है।
meme-maker
394kयह आपके एजेंट को मीम टेम्पलेट चुनने, अपने कैप्शन जोड़ने और मीम को SVG या PNG इमेज के रूप में बनाने देती है।
anatomy
260kआपके एजेंट को किसी विचार को इंटरैक्टिव मशीन-शैली की आकृति में समझाने देती है, जिसमें दिखाए गए आंकड़ों के साथ चलने वाली पटरियां, स्प्रिंग और गेज हों।