designer-image-generationlisted
Install: claude install-skill talentedgeai/infinite-leverage
# Designer: Image Generation
## Discovery
```bash
ls -1t content/topics/ # newest first
```
Find the first folder that has `blog.md` but NOT `{slug}-hero.webp`.
## Prompt source — MANDATORY before generating
Before calling the image API, locate the JSON prompts the Writer prepared:
```bash
cat content/topics/{slug}/image-prompts.md 2>/dev/null
```
**If `image-prompts.md` exists:** read the `## hero.webp` section and parse the JSON block as the generation prompt.
If the file has no `<!-- treatment: … -->` comment at the top, run
`designer-style-to-photo` first — it aligns `style` / `mood` / `palette` to
`docs/brand/style-guide.md` so the image comes back on-brand.
**If `image-prompts.md` does NOT exist:** stop image generation and invoke the Writer agent to produce it first:
1. Tell the operator: "`image-prompts.md` not found for `{slug}` — invoking Writer to generate image prompts from the post."
2. Delegate to the Writer with the instruction: "Read `content/topics/{slug}/blog.md` and generate `content/topics/{slug}/image-prompts.md` with JSON image prompts for hero.webp, social-card.png, and any inline images. Follow the brand voice in `docs/brand/style-guide.md`."
3. Once the Writer returns and `image-prompts.md` exists, re-run this skill from the top.
Do NOT invent a prompt. The Writer owns prompt creation to ensure brand-voice and topic consistency.
## Generation
- Model: the CURRENT Gemini image-generation model — never a pinned preview. Check the Gemini API d