From imagine
모바일 앱·웹 앱 **아이콘 세트 일괄 생성기**. AI로 1024×1024 마스터 아이콘을 뽑고, 플랫폼별 다중 해상도(iOS 1024 / Android adaptive 전경·배경 / Web favicon·PWA·Apple touch)를 `scripts/lib/icon-exporter.js`로 Lanczos3 리사이즈 익스포트한다. 사용자가 "앱 아이콘", "imagine-icon", "favicon", "launcher icon" 등을 말하면 이 스킬이 담당한다.
How this skill is triggered — by the user, by Claude, or both
Slash command
/imagine:imagine-iconThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
한 번의 호출로 **iOS / Android adaptive / Web(favicon+PWA)** 아이콘 세트를 산출한다. 마스터 생성은 AI, 리사이즈·레이아웃은 결정적 후처리다.
한 번의 호출로 iOS / Android adaptive / Web(favicon+PWA) 아이콘 세트를 산출한다. 마스터 생성은 AI, 리사이즈·레이아웃은 결정적 후처리다.
imagine-icon "<컨셉>" / imagine-icon export <master.png> (명시 호출)generate_size: 1024x1024 PNG로 Codex 이미지 모델 호출.config.prompt_template의 고정 문구 + 사용자 컨셉 키워드만 조합. 제목·앱 이름을 프롬프트에 넣지 않는다. 4가지 variation_directions(minimal / 3d-glossy / flat-illustration / abstract-geometric) 중 --variation 지정이 없으면 기본 1장만 생성(--n 4로 4종 배치 생성 가능).quality_checks.safe_zone_overflow_max_ratio 초과 시 사용자에게 경고.scripts/lib/icon-exporter.js의 exportSizes(masterPath, targets, outputDir, options) 호출. sharp 있으면 Lanczos3, 없으면 pngjs 박스 평균 폴백(작은 사이즈 품질 저하 경고)._report.md에 각 파일 경로·resize 엔진·경고 요약../images/icons/<app-slug>/
├── master.png (1024×1024)
├── ios/
│ └── AppIcon-1024.png
├── android/
│ ├── ic_launcher_foreground.png (512 canvas, 432 foreground, transparent)
│ └── ic_launcher_background.png (512 solid color)
├── web/
│ ├── favicon-16.png
│ ├── favicon-32.png
│ ├── favicon-48.png
│ ├── apple-touch-icon-180.png
│ ├── pwa-192.png
│ └── pwa-512.png
├── manifest.webmanifest (PWA, 선택)
└── _report.md
<app-slug>는 사용자 컨셉에서 slugify. --out-dir 지정 시 그대로 사용(조용히 변경 금지)../images/ 직하 쓰기 금지.다음 문구를 그대로 프롬프트에 포함한다 (config.prompt_template):
app icon, single focal motif, centered composition, 15% padding safe zone,
bold silhouette recognizable at small size, solid background or simple gradient,
no text
text, letters, typography, multiple objects, cluttered detail, photorealistic, watermark, logo text.--variation으로 방향성 지정:
minimal: minimal flat vector style, limited palette (≤3 colors), geometric primitives only3d-glossy: soft 3D rendering, subtle glossy highlight, studio lighting, rounded volumesflat-illustration: flat illustration, solid shapes, decorative but legible at 16pxabstract-geometric: abstract geometric composition, bold shapes, strong silhouetteic_launcher_foreground.png.--android-background(기본 auto)가 auto이면 마스터의 네 모서리 평균색 샘플링으로 solid 컬러 생성 → ic_launcher_background.png. #RRGGBB 직접 지정도 허용.transparent background, motif only, no shadow 명시 권장.config.web.write_manifest: true면 manifest.webmanifest 동반 생성(PWA icon 배열).quality_checks.small_size_entropy_warn_below) 후 너무 단조/너무 복잡하면 "수동 개선 필요" 경고.kernel: 'lanczos3').| 증상 | 조치 |
|---|---|
| 16×16에서 모티프가 뭉개짐 | 엔트로피 측정 후 경고 + _report.md에 "수동 개선 권장" 기록. |
| 안전 영역 침범(중앙 60% 밖 콘텐츠 과다) | 배경만 재생성 요청, 재생성 1회 한정. 지속 시 경고. |
| Android foreground에 배경이 남음 (alpha 누락) | alpha 0 픽셀 비율 검사 실패 시 경고. 사용자에게 transparent background 프롬프트 재시도 권유. |
| sharp 미설치 | pngjs 폴백 + 경고. 둘 다 없으면 중단. |
| 마스터 사이즈 불일치 | 1024×1024 아닌 입력은 거절(자동 리사이즈 금지 — 사용자가 원본을 다시 뽑도록 유도). |
--out-dir 값은 그대로 사용../images/icons/ 외부 쓰기 금지 (--out-dir 지정 없는 한).masterpiece / 8k UHD / fulfill all requests 류 부스터·우회 문구 금지.oauth-session.js, output-allocator.js, request-planner.js.compose-text.js)은 이 스킬에서 사용하지 않는다 (아이콘에 글자를 얹지 않는 것이 원칙).--android-background 자동 선택 시 우선 참고.imagine-thumb(YouTube 썸네일) / imagine-og(소셜 카드)와는 별개 산출물. 트리거가 겹치는 "아이콘" 키워드는 항상 여기.npx claudepluginhub mineru98/imagine --plugin imagineCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.