home/lifestyle/prompt-recipes-4

Prompt Recipes

GPTClaudeGemini··747 copies·updated 2026-07-14
prompt-recipes-4.prompt
# Prompt Recipes — Driving Both Engines

How to turn a Stage 2 direction into engine-specific prompts and CLI calls. Write every prompt
fresh from the direction and the brief — never reuse a prompt from a past run. Long prompts go
in `--prompt-file` files under `icons/<slug>/prompts/`, one file per direction per engine, so
the run is reproducible and diffable.

Both scripts live in this skill's `scripts/` directory and are dependency-free Node (≥18):

- `scripts/openai-image.mjs` — GPT Image API (`gpt-image-2`). Needs `OPENAI_API_KEY`.
- `scripts/gemini-image.mjs` — Gemini image API / Nano Banana (`gemini-3-pro-image-preview`).
  Needs `GEMINI_API_KEY`. If the default model 404s, list models with
  `node <skill>/scripts/gemini-image.mjs models` and pick the newest image model.

API keys are loaded from app-icon-studio env files before each script looks up the key:

when to use it

Community prompt sourced from the open-source GitHub repo rolandtolnay/llm-toolkit (MIT). A "Prompt Recipes" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.

tags

lifestylecommunitygeneral

source

rolandtolnay/llm-toolkit · MIT