Logo generation

From event4u-app/agent-config · View interactive version

Logo generation is an AI agent skill from the GitHub repository event4u-app/agent-config. Generate a logo or brand mark — structured prompt, provider routing, and a true-vector path. Use for logo or brand mark generation.

How to use this skill

Skill file

logo-generation

Generate a logo or brand mark end-to-end: capture the brand brief, choose raster

vs. true-vector path, inject brand tokens when available, route to the right

provider, author a provider-specific prompt, dry-run the adapter, and apply rights

governance. All adapters are scaffold-tier (dry-run) until promoted to stable.

When to use

model.

Procedure

  1. Capture the brand brief — extract: business name, style intent (wordmark /

icon mark / combination), colour palette, do/don't constraints (e.g. "no gradients",

"must be legible at 16 px").

Critique mode — when the user supplies a mark and asks what is wrong with

it, skip generation: render it (step 5's witness), then return a scorecard

(legibility at 16/32 px, distinctiveness on the shelf, reproduction in one

color, fit to the brief), the top three fixes in priority order, and an

equity note — what the current mark has earned that a fix must not throw

away. Stop there.

1b. Idea before form, then diverge — before drawing anything, list what

only this client owns (a place, a craft, a founder story, a product

behavior — the subject inventory), and write each candidate idea as one

sentence of the form "X becomes Y" (the subject → the form it takes). Then

run the competitor-swap test: put the nearest competitor's name into

the sentence; if it still works, the idea belongs to the category, not to

the client. Flag a generic mark (an initial in a rounded square, a spark, a

swoosh, a globe) as generic in the output — flagged, not forbidden; the

user may still choose it. Then propose at least three concepts of

different mark types (e.g. wordmark, lettermark, pictorial, abstract,

emblem), each with its "X becomes Y" line. Three takes on one idea are one

concept. The user picks before any concept is refined.

  1. Choose the path — raster concept (text-in-mark → Ideogram for legible type)

vs. true vector (a vector-native provider for editable marks, or a

hand-authored one for simple geometric marks — authored under

CODE0, never free-hand). Raster output

is a concept only — not a shippable logo asset.

  1. Ask the resolver before choosing colour or type — run

./agent-config brand:status --json and pull the palette, typeface and

spacing from the sources[] it reports as valid. Never test for a token

file yourself and never use a remembered value: a file the resolver marks

invalid or shadowed is not the brand. When it reports bare, or

nothing valid for the axis in hand, use the brief's palette and type

choices and label those values corpus-sourced in the output, so a

gap-fill is never read as a brand decision.

  1. Route + prompt via CODE0

and CODE0 — apply

provider-specific grammar (text-literal first for Ideogram, style: vector param

for a vector-native provider, direct SVG authoring for simple geometric shapes).

  1. Dry-run + validate — invoke the adapter (scaffold-tier; returns a dry-run

plan). If the vector path is taken, the vector verdict comes from

lint_svg_asset's vector-honesty family plus the render witness, not from

counting <path> elements: a raster embedded beside one dummy path passes

that count and is not a vector, and a mark built from rect/circle fails

it and is one. See CODE0.

The mark lint — run lint_svg_asset --class mark --file <mark.svg>

beside the render witness. It fails (exit 2) on live <text> in the master

(outline it), on a straight edge 0.3–3° off a reference angle (level it, or

declare data-optical="overshoot" on the element when the overshoot is

intended), and on a part under 1/48 of the viewBox (it vanishes at 16 px).

The colour count it prints is a report, never a gate.

The legibility witness — every vector candidate is rendered with

agent-config ui:render <mark.svg> --profile asset --class mark, which

captures it at 16 and 32 px and at 1×/2×, on light and dark. Legibility is

never claimed without that capture; no capture, no claim, and say so.

Shelf test — when the user supplies competitor or category marks, render

them beside the candidate at the same sizes and backgrounds and compare. Use

only the marks the user supplied; nothing is bundled or fetched, and the

rights check below still applies to every one of them.

5b. Stop before the export kit — once a direction is chosen and witnessed,

stop and confirm before producing the kit (step 7). A favicon or app-icon

brief stops here too: the kit is a separate, confirmed step.

  1. Rights check — never reproduce a mark that resembles an existing trademarked

logo. Run CODE0

when the brief names a brand, references a known mark style, or targets a

regulated sector.

  1. Export kit (after confirmation) —

npx tsx node_modules/@event4u/agent-config/src/scripts/logo_export_kit.ts <mark.svg> --name "<Name>" --out <dir>

writes the SVG, PNG at 1× and 2×, the favicon set with site.webmanifest,

and light and dark lockups — the same bytes every run from the same input —

plus mark.svg.provenance.json, the origin sidecar the media

transparency policy

requires: pass --backend and --model for a provider-made mark (a

hand-authored one is none), --licence, and --commercial yes|no|verify

(default verify — never claim commercial use you have not checked), and

pin --date when the kit must be byte-identical across days.

Output format

  1. Concepts (generation) — the subject inventory, then three or more

concepts of different mark types, each with its "X becomes Y" line, its

competitor-swap result, and a generic flag where it applies; or, in

critique mode, the scorecard, top-3 fixes and equity note.

  1. Chosen path — raster concept or true vector, with rationale.
  2. Prompt or SVG — the prompt string ready to copy (raster/vector provider), or

the authored SVG markup (LLM-authored geometric mark path).

  1. Governance note — rights check outcome and the adapter dry-run caveat:

"adapter is experimental (scaffold-tier) — dry-run plan only; no rendered asset

until promotion per provider-lifecycle-discipline."

Gotcha

models garble text and produce no <path> geometry. A PNG concept is useful

for direction-setting, but it is not a logo asset. Use the vector path for any

mark that must scale, be modified, or be handed to a designer.

experimental (dry-run only). Claiming a rendered asset exists while no adapter

is stable misleads the caller.

Good example: Brief for a wordmark → route to a vector-native provider with

style: vector, run lint_svg_asset over the output and confirm it carries no

embedded raster, note "experimental — dry-run plan only."

Bad example: Routing a logo brief to a photoreal raster model and delivering the

PNG as the final logo file.

Do NOT

surface the vector path and the raster-model limitation explicitly.

image-likeness-and-rights when the brief references a known brand or mark.

every time.

See also

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.