cwb-app-iconlisted
Install: claude install-skill izo/Ulk
# App Icon Generator — Native Apple
Generate AI-powered app icons for native iOS, macOS, watchOS, and tvOS apps using SnapAI and mobicon. This skill adapts the cwb-app-icon workflow (originally for Expo) to native Xcode projects.
**Cost**: ~$0.04/icon via OpenAI DALL-E (SnapAI uses your personal API key — no backend, no telemetry).
---
## Step 0 — Verify tools
```bash
echo "=== ICON TOOLS ==="
command -v snapai && echo "✅ snapai: $(snapai --version 2>/dev/null || echo 'OK')" || echo "❌ snapai: absent → npm i -g @code-with-beto/snapai"
command -v mobicon && echo "✅ mobicon: $(mobicon --version 2>/dev/null || echo 'OK')" || echo "❌ mobicon: absent → npm i -g mobicon-cli"
snapai config check 2>/dev/null || echo "⚠️ OpenAI API key: snapai config set --key sk-..."
```
If snapai is absent, offer two paths:
- **With AI** (recommended): `npm i -g @code-with-beto/snapai` then set OpenAI key
- **Without AI** (manual): ask user to provide an existing 1024×1024 PNG, then go directly to Step 3
---
## Step 1 — Read project context
```bash
# Detect target platforms from project.yml, Package.swift, or .xcodeproj
grep -r "platform\|macOS\|iOS\|watchOS\|tvOS" project.yml 2>/dev/null | head -10
find . -maxdepth 4 -name "*.xcodeproj" -o -name "Package.swift" 2>/dev/null | head -5
# Locate the assets catalog
find . -maxdepth 5 -name "Assets.xcassets" 2>/dev/null | grep -v ".build" | head -5
```
Extract:
- Target platforms (iOS, macOS, watchOS, tvOS, visionOS)
- Deployment targets (i