App branding

From BuilderIO/agent-native · View interactive version

App branding is an AI agent skill from the GitHub repository BuilderIO/agent-native. How to rename or rebrand the app so every surface — title, package metadata, PWA manifest, and icons — stays consistent. Use when a prompt establishes or implies a new app name, title, or visual identity, OR when you generate an app title, theme, or icon yourself while scaffolding an app from an ini

How to use this skill

Skill file

App Branding

Trigger

Read this skill whenever the app's name, title, or visual identity is being

established or changed — whether the user states it or you derive it yourself.

Todo app called …", "call this app …".

the branding to you: "build me a habit tracker", "turn this into a recipe

manager", "make a CRM for my studio". The moment you decide on a title, theme

color, or icon from that prompt, treat it as a branding change and apply the

full checklist so your generated identity lands on every surface — not just

the one screen you happen to be building.

If you are inventing an app title, theme, or icon as part of scaffolding a new

app from an initial prompt, that counts — run the checklist in the same pass.

Rule

Apply all of the updates below in a single consistent pass. Depending on the

template, the app name may live in one source-of-truth module or be spread

across several files — either way, a partial rename leaves the app half-branded

(a stale tab title, launcher label, or icon).

Derive three values once, then reuse them everywhere:

e.g. "my-task-app".

Locate the layout first

Branding lives in different places depending on the template. Detect which

layout you are in before editing:

source of truth for the name and title; the frontend surfaces (<title>,

route meta(), header, sidebar, index heading, apple-mobile-web-app-title)

derive from its APP_NAME / APP_TITLE exports, so you change the name in one

place.

written directly into package.json, each route's meta(), and

app/root.tsx. You must update each surface individually.

When in doubt, grep -rn the current title and slug across app/, server/,

package.json, and public/ and fix every real hit — the two layouts share the

manifest and icon steps regardless.

The Checklist

Step 1 — App name + title source

Centralized layout (app/lib/app-config.ts): change both constants and stop —

the rest of the frontend derives from them.

Inlined layout (no app-config.ts): set the title/slug at each surface.

agent.tsx, settings.tsx) — replace the app title. These are seeded from a

{{APP_TITLE}} placeholder at scaffold time and become plain literals

afterward.

with the title.

to the title.

Step 2 — `package.json` (both layouts)

the package (it is the npm package identifier).

Step 3 — Login / auth title (centralized layout only)

If server/plugins/auth.ts exists it keeps its own duplicate rawAppTitle,

used on the login/signup pages. Set it to the same title as

app/lib/app-config.ts. (The inlined layout's server/middleware/auth.ts

carries no app title — skip this step there.)

Step 4 — `public/manifest.json` (both layouts)

This is a static file (not generated by a plugin). Update:

the title if needed.

Step 5 — Icon SVG files (both layouts)

Replace the icon files with a new mark that reflects the app's identity. The set

present depends on the template; update each one you find:

| File | Purpose |

| --------------------- | ----------------------------------- |

| public/favicon.svg | Browser tab favicon |

| public/icon-180.svg | Apple touch icon (iOS home screen) |

| public/icon-192.svg | PWA install icon (Android / Chrome) |

| public/icon-512.svg | PWA install icon (large / splash) |

Build the icon from SVG primitives — do not embed a base64-encoded PNG. All

files should share the same visual design; only the width and height

attributes differ. A simple, reliable approach: a filled rounded square in the

brand color with the first letter (or a relevant glyph) centered in white.

Template to adapt (change fill, the letter/glyph, and rx to suit the brand):

<svg xmlns="http://www.w3.org/2000/svg" width="192" height="192" viewBox="0 0 192 192">
  <rect width="192" height="192" rx="40" fill="#2563EB"/>
  <text x="96" y="130" font-family="system-ui, sans-serif" font-size="110"
        font-weight="700" fill="white" text-anchor="middle">A</text>
</svg>

Keep width/height at 180, 192, and 512 for the respective icon files;

favicon.svg can use any of these sizes (the viewBox keeps it scalable).

What NOT to change

These are stable identifiers or template-internal files, not user-facing brand:

identifiers seeded at scaffold time; leave them. This holds even in the inlined

layout, where app was seeded from the slug — changing it re-keys analytics

history.

platform analytics/routing key; leave it exactly as scaffolded.

identity, not the running app.

Verification

public/ — no unintended leftovers remain (except the intentional

"do not change" identifiers above).

title.

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.