asset-setlisted
Install: claude install-skill Sateezg/codex-bridge
# Generate a consistent asset set
Individual images are the `generate-image` skill. This is for **families of assets
that must look like they came from the same designer** — which requires a shared
style contract, correct sizes, and correct filenames.
## Step 1 — lock the style contract
Before generating anything, write one style sentence you will paste verbatim into
every prompt in the set. It must pin down: art style, palette (hex codes), stroke
weight, corner treatment, background, and perspective. For example:
> Flat vector, 2px uniform stroke, palette #2563EB on #FFFFFF with #94A3B8
> accents, 4px rounded corners, centered, generous padding, no gradients, no
> shadows, front-on view.
Pull the palette from the project when one exists — check `tailwind.config.*`,
CSS custom properties, a design tokens file, or an existing logo. Ask the user only
if nothing is discoverable.
## Step 2 — generate
One call per asset, style sentence repeated in each:
```bash
codex-imagegen "<subject>. <style contract>" <path>.png --size <WxH>
```
Generate the **most important asset first** (the logo mark or the hero), show it to
the user, and only continue once they're happy. Regenerating a whole set after the
fact wastes their quota.
For assets that must match one already generated, pass it as a reference so the
model has the style in front of it, not just described:
```bash
codex-imagegen "a settings gear icon, same style as the reference" ./icons/settings.png --ref ./icons/home.pn