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:

  1. Resolve the project folder: check DISCOVERY.json for the paths.imageSpec field, or ask if ambiguous.
  2. Check IMAGE_SPEC.md exists. If not:

    IMAGE_SPEC.md not found. Run generate-slides first to create image specifications. Abort.

  3. Check GEMINI_API_KEY is set: echo "$GEMINI_API_KEY". If empty, show setup instructions from PROVIDERS.md and abort.
  4. Check node is available: which node. If not found, abort: ❌ node not installed.
  5. 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)
    
Installs
7
Repository
ken-guru/skills
GitHub Stars
1
First Seen
12 days ago
generate-images — ken-guru/skills