Brand asset generation

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

Brand asset generation is an AI agent skill from the GitHub repository event4u-app/agent-config. Generate brand assets — banners, social cards, CIP elements — with brand-token injection + provider routing. Use when generating a banner / social image / branded asset.

How to use this skill

Skill file

brand-asset-generation

Generate brand assets (banner, social card, CIP element) via structured prompting,

brand-token injection, and provider routing. Rides on the existing pack-ai-image

adapters — not a second image-gen stack.

When to use

or cover image** (a LinkedIn cover, an X header, a YouTube channel art), or a

CIP (corporate identity) element.

Procedure

  1. Identify asset type and spec — determine format (banner, social card,

platform profile/cover image, CIP element), output dimensions (e.g. 1200×630

for Open Graph, 1080×1080 for square social), and target channel (web, print,

social platform).

A platform cover is a dimension constraint, not a new asset class, and it

is the one case where guessing the number is the whole failure: a cover

rendered at the wrong aspect ratio is cropped by the platform, so the brand

marks land outside the visible area and the asset is unusable rather than

merely off-brand. Take the required dimensions from the platform's own

current spec at generation time — never from memory, and never from a number

written here, because these change without notice. If the spec cannot be

established, say so and ask rather than emitting an asset that will be

cropped.

  1. Ask the resolver, then inject what it reports — run

./agent-config brand:status --json before any colour, type or voice

decision. Take hex values and font names from the tokens.json entry it

reports as valid, and tone keywords from the brand-voice slot

(agents/context-spine/brand-voice.md) when that is valid too; feed those <!-- ref-ignore -->

into the prompt. Never load a token file by path on your own — a file the

resolver marks invalid or shadowed is not the brand, and a dotted

near-miss is not the brand either. When the resolver reports bare, or

nothing valid for the axis in hand, derive palette and type from the brief;

raw generation works, and every such value is **labelled corpus-sourced

in the output** so brief-driven is never reported as token-driven.

  1. Route and prompt — delegate provider selection to

CODE0 (text-in-image →

Ideogram, photoreal product shot → Flux, etc.). Author the provider-specific prompt

with the asset spec, injected tokens, and any negative constraints.

  1. Dry-run and validate — invoke the adapter (scaffold-tier; see Gotcha). Confirm

the returned dry-run plan matches the spec: dimensions, style intent, brand token usage.

  1. Rights and AI-disclosure governance — run CODE0

if the asset depicts a real person or brand mark. Attach the AI-generation disclosure

footer per media-governance-routing before delivering output.

A delivered asset also carries machine-readable provenance — provider, model,

timestamp, prompt hash and the sha256 of the final bytes, as C2PA where the

provider supports it and as a <asset>.provenance.json sidecar otherwise — per

the media transparency policy. Never strip or rewrite it.

Output format

  1. Asset spec — type, dimensions, channel, and routing rationale (which provider and why).
  2. Prompt — final provider-specific prompt string with injected brand tokens (or brief-derived

palette/type if no tokens). Include key params: aspect ratio, style keywords, negative prompts.

  1. Adapter invocation / dry-run note — the dry-run plan returned by the adapter, or an

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

asset until promotion per provider-lifecycle-discipline."

  1. Governance confirmation — rights check result and AI-disclosure footer.

Gotcha

(hex codes) and typography (font names or style descriptors) into the prompt. Vague

color terms ("blue", "modern") produce inconsistent results. Brand tokens from pack-brand

(Phase B of the brand pipeline) eliminate this gap; until that pack ships, rely on

brief-supplied values.

not author them. If tokens.json is absent, proceed brief-driven and note the gap.

This skill produces a blueprint and dry-run confirmation; actual renders require a

maintainer to capture a smoke trace and promote the adapter to stable.

Do NOT

from the brief. Guessing palette values produces off-brand output.

footer per media-governance-routing, regardless of how generic the output appears.

the dry-run caveat explicitly 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.