do-art
Art Skill
<skill-dir> below is the folder containing this SKILL.md.
<preview> is $ART_OUTPUT_DIR if set, otherwise ~/Downloads when that directory exists, otherwise ./art-output. Generate there, review, then copy into the project. Do not write straight into a project's image tree.
Before generating: check API keys
Run bun <skill-dir>/Tools/Generate.ts --check-keys once per session, before writing a prompt. It lists which keys are set: xAI (XAI_API_KEY), OpenAI (OPENAI_API_KEY), Google Gemini (GEMINI_API_KEY or GOOGLE_API_KEY), OpenRouter (OPENROUTER_API_KEY), and how each model will run (direct, via OpenRouter, or unavailable). An OpenRouter key alone covers all four models.
- Exit 2 (no key at all): stop. Tell the user that image generation needs at least one of those keys, show the list the command printed (where to get each key, and that keys load from the environment,
./.env, or${XDG_CONFIG_HOME:-~/.config}/do-art/.env), and wait. Do not compose prompts or try other tools. - Some keys missing: proceed, and tell the user which providers are unavailable when it changes the result (for example,
comparewill skip them, or the workflow's preferred model will fall back).
Generate.ts enforces the same rules: a model whose own key is missing runs through OpenRouter when OPENROUTER_API_KEY is set, otherwise falls back to another model that can run; either way it prints a warning (relay it to the user). With no usable key it exits 2 and nothing is generated. Reference images go only to Gemini models (direct or via OpenRouter).
What It Does
Generates static visual content across 20+ formats - blog headers, technical and architecture diagrams, frameworks, taxonomies, timelines, comparisons, stat cards, comics, icons, wallpapers, D3 charts, Mermaid diagrams - using Grok Imagine, GPT-Image-2, Nano Banana, and Nano Banana Pro. Every request routes through a named workflow that encodes the technique and palette, output stages to for review first, and blog headers ship both a transparent inline version and an opaque social thumbnail.