| name | content-image |
| description | Generate AI images for content using Gemini or other image generation APIs. Use when user needs diagrams, illustrations, or visual content. |
/content-image
Generate AI images for content.
Usage
/content-image [prompt]
Prerequisites
uv CLI: brew install uv or pip install uv
GEMINI_API_KEY environment variable
Run
uv run .claude/skills/content-image/scripts/generate_image.py "prompt" images/diagram.png
uv run .claude/skills/content-image/scripts/generate_image.py "prompt" --project .
Output
Saves to {project}/images/{descriptive-name}.png
Insert in content: 
Style Principles
See .claude/skills/content-image/references/prompts/image-generation.md for Tufte-style guidelines:
- Clean background, high data-ink ratio
- Minimal text, clear labels
- No decoration that doesn't add meaning
Good Prompts
- "Flowchart showing [process]"
- "Diagram illustrating [concept]"
- "Architecture diagram for [system]"
- "Minimalist line drawing of..."