본문으로 건너뛰기
cccskills
무료GitHub에 공개

generate-image

Generate images using nano-banana-2 MCP tools with best-practice prompting. Use this skill when the user asks to create, generate, or edit images.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

연동 도구Gemini
설치 방법 보기

포함된 파일(1)

  • SKILL.md3.5 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Image Generation with Nano Banana 2

Use the generate_image, edit_image, and continue_editing MCP tools from the nano-banana-2 server.

First-Time Setup

Before generating images, verify the API key is configured:

  1. Call get_configuration_status to check if GEMINI_API_KEY is set.
  2. If the key is missing, instruct the user to add it to their MCP server environment configuration:
    • In Claude Code settings or .claude/settings.json, add GEMINI_API_KEY to the server's env block.
    • The key can be obtained from Google AI Studio.

Prompting Best Practices

Write narrative paragraphs, NOT comma-separated keyword lists. Narrative prompts achieve ~94% coherence vs ~61% for keyword lists.

  1. Start with image type: "Create an educational diagram showing...", "Generate a photorealistic photograph of...", "Design a flat-style icon depicting..."
  2. Keep text in images short (<25 characters). Quote text exactly and describe font style.
  3. Specify layout explicitly: side-by-side, top-to-bottom steps, centered with border, etc.
  4. Skip quality boosters like "4k masterpiece", "highly detailed", "award-winning" — they add noise, not quality.
  5. Be specific about what you want, not what you don't want. Positive descriptions work better than negations.

Defaults

  • resolution: "1K" — good balance of quality and speed. Use "2K" or "4K" for print or detail-heavy images.
  • aspectRatio: "1:1" — change to "16:9" for landscapes/banners, "9:16" for mobile/portrait.
  • thinking: "minimal" — use "high" for complex scenes with spatial relationships or text rendering.
  • returnInlineImage: Consider setting to false in Claude Code to avoid context window overflow. The image is still saved to disk and can be viewed by the user.
  • outputMimeType: "image/png" for quality, "image/jpeg" for smaller files.
  • numberOfImages: 1 — use 2-4 when exploring variations.

Workflow

  1. Generate: Use generate_image with a well-crafted narrative prompt.
  2. Review: Check the saved file path in the response.
  3. Refine: Use continue_editing to make adjustments. Be specific about what to change.
  4. Iterate: Each continue_editing call builds on the previous result.

Style Guidance

  • Diagrams: Specify colors, label positions, arrow directions. Use thinking: "high" for complex layouts.
  • Illustrations: Describe art style (flat, watercolor, line art), mood, and lighting.
  • Infographics: Use numbered lists cautiously (>8 sequential items are unreliable). Numbers-only approach works best for long lists.
  • Photos: Describe camera angle, lighting conditions, depth of field, and subject positioning.

Context Window Management

When generating images in Claude Code, set returnInlineImage: false to prevent base64 image data from filling the context window. The image is still saved to disk — just tell the user where to find it.

🔗 Связи

  • [[MOC - MCP Servers]] — mcp-servers
  • [[000 - Map of Maps]] — Map of Maps

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

1password

무료

Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in, and reading/injecting secrets for commands.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ibragimov-oasis/vibe-coder32026년 6월 24일 업데이트

Use this skill when the user requests to review, analyze, critique, or summarize academic papers, research articles, preprints, or scientific publications. Supports comprehensive structured reviews covering methodology assessment, contribution evaluation, literature positioning, and constructive feedback generation. Trigger on queries involving paper URLs, uploaded PDFs, arXiv links, or requests like "review this paper", "analyze this research", "summarize this study", or "write a peer review".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ibragimov-oasis/vibe-coder32026년 6월 24일 업데이트

Add descriptions for new models from the HuggingFace router to chat-ui configuration. Use when new models are released on the router and need descriptions added to prod.yaml and dev.yaml. Triggers on requests like "add new model descriptions", "update models from router", "sync models", or when explicitly invoking /add-model-descriptions.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ibragimov-oasis/vibe-coder32026년 6월 24일 업데이트

Automates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, test web applications, or extract information from web pages.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ibragimov-oasis/vibe-coder32026년 6월 24일 업데이트

Master advanced AgentDB features including QUIC synchronization, multi-database management, custom distance metrics, hybrid search, and distributed systems integration. Use when building distributed AI systems, multi-agent coordination, or advanced vector search applications.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ibragimov-oasis/vibe-coder32026년 6월 24일 업데이트

Create and train AI learning plugins with AgentDB's 9 reinforcement learning algorithms. Includes Decision Transformer, Q-Learning, SARSA, Actor-Critic, and more. Use when building self-learning agents, implementing RL, or optimizing agent behavior through experience.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ibragimov-oasis/vibe-coder32026년 6월 24일 업데이트

ibragimov-oasis의 스킬 모두 보기

이 스킬의 문제 신고