generate-images
Installation
SKILL.md
Generate Images
Phase skill that follows generate-slides. Reads IMAGE_SPEC.md, submits each entry's prompt to an AI image generation API, and saves the resulting PNG files to the project's images/ folder.
Startup
Before proceeding:
- Resolve the project folder: check
DISCOVERY.jsonfor thepaths.imageSpecfield, or ask if ambiguous. - Check
IMAGE_SPEC.mdexists. If not:❌
IMAGE_SPEC.mdnot found. Rungenerate-slidesfirst to create image specifications. Abort. - Check
GEMINI_API_KEYis set:echo "$GEMINI_API_KEY". If empty, show setup instructions from PROVIDERS.md and abort. - Check
nodeis available:which node. If not found, abort: ❌nodenot installed. - Ensure the skill's dependencies are installed:
[ -d ~/.claude/skills/generate-images/scripts/node_modules ] || \ (cd ~/.claude/skills/generate-images/scripts && npm install --ignore-scripts --loglevel=error)