nanobananalisted
Install: claude install-skill mgiovani/cc-arsenal
# Nanobanana — Nano Banana Image Generation
Generate and edit images using Google's Nano Banana (Gemini image generation API). This skill handles direct image generation, iterative editing, and expert guidance for integrating the API into codebases.
**Core differentiator**: A prompt enhancement system that analyzes user intent and project context to craft optimized prompts before calling the API.
---
## Phase 0: Environment Check
Before anything else, verify the environment is ready.
**1. Check API key:**
```bash
echo "${GEMINI_API_KEY:0:10}..." # Show first 10 chars only (security)
```
If `GEMINI_API_KEY` is empty or unset:
- Read `references/integration-guide.md` (the setup section)
- Present setup instructions to the user
- **Stop here** until the key is configured
**2. Check `uv` is available:**
```bash
uv --version 2>&1
```
If `uv` is not installed, direct the user to https://docs.astral.sh/uv/getting-started/installation/ and stop. `uv` handles dependency installation automatically via PEP 723 inline metadata — no manual `pip install` needed.
---
## Phase 1: Understand Intent & Detect Mode
### Mine the conversation for:
- **Subject/scene**: What is the image of?
- **Purpose**: What is it for? (hero image, icon, mockup, blog post, etc.)
- **Style**: Photorealistic, illustration, minimalist, etc.
- **Technical requirements**: Aspect ratio, resolution, specific dimensions
- **Mood/atmosphere**: Energetic, calm, professional, playful, etc.
### Detect Mode
**E