
dancolta/gen-images-skill
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
Claude Code의 Context-aware 이미지 생성 기술 - 웹 사이트 브랜드 정체성을 분석하고 Gemini MCP를 통해 브랜드 이미지를 생성합니다
개요
웹 사이트 프로젝트의 누락 또는 위주 이미지를 감지하는 Claude Code 기술은 사이트의 시각적 정체성을 분석하고 Gemini 이미지 생성 MCP를 통해 브랜드 이미지를 생성합니다. 모든 이미지는 사이트의 색상, 타이그래피, 레이아웃 및 브랜드 톤과 일치하도록 뒷받침됩니다. 일반적인 재고 사진 필러가 아닙니다. 1. 누락된 이미지, placeholder src 값 및 회색 skeleton divs 2.를 위한 codebase 브랜드 3와 스타일 일관성을위한 기존 이미지 사이트의 시각적 정체성 (브랜드 색상, 글꼴, UI 스타일, 톤) Tailwind config, CSS 변수 및 복사 4. 구조화 된 공식을 사용하여 per-slot 이미지 생성 프롬프트: 제목 + 예술 스타일 + 색상 Palette + Mood + 기술 사양 + 부정적인 제약 5. 브랜드 이미지에 직접 또는 수동 Gemini 사용을위한 신속한 목록을 출력 /gen-images를 실행하여 원하는 모드에 대해 프롬프트할 수 없습니다.
개요(AI 번역)
Context-Aware 웹 사이트 Claude 코드에 대한 이미지 생성 기술
웹 사이트 프로젝트의 누락 또는 placeholder 이미지를 감지하는 Claude Code 기술, 사이트의 시각적 정체성을 분석하고 Gemini 이미지 생성 MCP를 통해 브랜드 이미지를 생성합니다. 모든 이미지는 사이트의 색상, 타이그래피, 레이아웃 및 브랜드 톤과 일치하도록 뒷받침됩니다. 일반적인 재고 사진 필러가 아닙니다.
그것은 무엇을
웹 사이트를 구축 한 후,이 기술 :
1.Scans 누락된 이미지, placeholder src 값 및 회색 skeleton divs에 대한 코드베이스
2. **Audits ** 브랜드와 스타일 일관성에 대한 기존 이미지
3.Extracts 사이트 시각적 정체성(브랜드 색상, 글꼴, UI 스타일, 톤), CSS 변수 및 복사
4. Builds per-slot 이미지 생성은 구조화한 공식을 사용하여 프롬프트합니다: 주제 + 예술 작풍 + 색깔 팔레트 + 계류 + 기술적인 Specs + 부정적인 constraints
5. **Generates ** on-brand 이미지는 직접 또는 수동 Gemini 사용을 위한 신속한 명부를 출력합니다
2개의 형태
| 모드 | 명령 | 그것은 무엇 | |—||||| |generate | [T1]] | Full Automation 파이프라인 - MCP 및 업데이트 소스 파일을 통해 이미지를 생성합니다 |
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
What It Does
After building a website, this skill:
- Scans the codebase for missing images, placeholder
srcvalues, and gray skeleton divs - Audits existing images for style consistency with the brand
- Extracts the site’s visual identity (brand colors, fonts, UI style, tone) from Tailwind config, CSS variables, and copy
- Builds per-slot image generation prompts using a structured formula: Subject + Art Style + Color Palette + Mood + Technical Specs + Negative Constraints
- Generates on-brand images directly or outputs a prompt list for manual Gemini use
Two Modes
| Mode | Command | What it does |
|---|---|---|
| generate | /gen-images generate |
Full automated pipeline — generates images via MCP and updates source files |
| prompt | /gen-images prompt |
Outputs optimized prompts + Style Anchor for manual use in Gemini |
Run /gen-images with no argument to be prompted for which mode you want.
The skill also auto-triggers when you say things like “generate an image for the hero section” or “I need an image for the about page” — no explicit command needed.
4-Layer Pipeline
Layer 1 — Design Context Extraction
→ Reads tailwind.config, globals.css, layout.tsx, page copy
→ Builds a design_profile: colors, fonts, tone, UI style, existing images
Layer 2 — Image Slot Detection & Classification
→ Scans all .tsx/.jsx/.html/.vue/.svelte files
→ Detects: empty src, placeholder URLs, skeleton divs
→ Audits: existing images for style mismatches
→ Classifies each slot: type, aspect ratio, content hint, text overlay needs
Layer 3 — Prompt Construction
→ Builds per-slot prompts using brand-matched style directives
→ Embeds Style Anchor in every prompt for cross-session consistency
→ Applies conditional negative constraints (no text-in-image, no stock poses, etc.)
Layer 4 — Generate, Evaluate, Iterate (generate mode only)
→ Generates sequentially (style reference chain)
→ Evaluates against 6 quality criteria
→ Edits (not re-generates) for minor issues
→ Saves with descriptive filenames and updates source code
Consistency in Prompt Mode
When using prompt mode, the output includes a Style Anchor — a shared paragraph that describes the visual system across all images. It is embedded in every individual prompt.
설치
npx -y @nano-banana/mcp-server설정
{
"mcpServers": {
"nano-banana-2": {
"command": "npx",
"args": ["-y", "@nano-banana/mcp-server"],
"env": {
"GEMINI_API_KEY": "your-api-key-here"
}
}
}
}