Logo : Brand Setup

Brand Setup

Communauté
hassancs91
brand-setup

Makes this repo's videos look like YOUR channel instead of the house default — interviews you for palette, fonts, wordmark, motion energy, delivery specs and SFX taste, then rewrites brand.md + remotion/src/brand.ts + remotion/src/fonts.ts together and renders a proof card so you SEE it. Use whenever the user wants to set up or change their brand, rebrand the repo, "make it my colors/fonts", change the accent color, set their wordmark, adjust the motion feel, or asks why their videos look like someone else's. Run it once before the first video. Not for per-video art direction (that is /make-tsx) and not for thumbnails, which are deliberately louder than the brand (that is /packaging).

Présentation

Éditeurhassancs91
Dépôtclaude-youtube-editor
Nom de la compétencebrand-setup
Étoiles
345
Forks
126
Fichiers inclus
Instructions uniquement
LicenceMIT
Liens
  • Instructions en Markdown

    Un fichier SKILL.md que le modèle charge à la demande : il ne consomme donc des tokens que lorsqu’une demande correspond réellement à la compétence.

  • Compatible avec tous les LLM

    Les compétences IA sont rédigées en Markdown et non sous forme de code propre à un fournisseur. Elles fonctionnent donc avec GPT, Claude, Gemini, Grok ou un modèle local.

  • Tout dans les instructions

    Tout ce dont le modèle a besoin se trouve dans les instructions : aucun fichier supplémentaire à synchroniser.

  • Open source

    Publiée par hassancs91 sur GitHub. Consultez les sources avant de l’installer.

Installation

Installez la compétence IA Brand Setup dans TypingMind pour l’utiliser avec n’importe quel LLM, ou ajoutez-la à un autre agent capable de lire SKILL.md.

1

Installer dans TypingMind

TypingMind installe une compétence directement depuis son dossier GitHub : l’application lit SKILL.md, regroupe les fichiers de ressources et enregistre le tout localement.

  1. Ouvrez l’application et accédez à Plugins → Compétences.
  2. Choisissez « Installer depuis GitHub ».
  3. Copiez l’URL ci-dessous, qui pointe vers le dossier de la compétence, puis collez-la et confirmez.
    https://github.com/hassancs91/claude-youtube-editor/tree/main/.claude/skills/brand-setup
  4. Activez la compétence dans chaque discussion où vous souhaitez pouvoir l’utiliser.
Plugins → Compétences → Ajouter une compétence → Via une URL GitHub, puis collez l’URL du dossier et appuyez sur Continuer.
2

Installer dans un autre agent

Tout agent capable de lire le format Agent Skills peut utiliser cette compétence : copiez le dossier dans le répertoire des compétences de cet agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/hassancs91/claude-youtube-editor.git /tmp/claude-youtube-editor
mkdir -p .claude/skills
cp -r /tmp/claude-youtube-editor/.claude/skills/brand-setup .claude/skills/brand-setup
Redémarrez Claude Code après la copie pour que la nouvelle compétence soit prise en compte.

Utilisez cette compétence dans TypingMind

Activez Brand Setup dans n’importe quelle discussion TypingMind et le modèle s’occupe du reste. Le nom et la description de la compétence figurent dans le prompt système. Dès qu’une demande correspond, le modèle charge lui-même l’intégralité des instructions : vous n’avez jamais à l’invoquer manuellement, et elle ne consomme aucun token tant qu’elle n’est pas utilisée.

Le modèle charge automatiquement Brand Setup dès qu’une demande correspond à cette compétence.

Compatible avec tous les modèles IA

Les compétences IA sont de simples instructions Markdown, et non du code propre à un fournisseur. Ainsi, la compétence Brand Setup n’est pas liée au modèle pour lequel elle a été conçue. Installez-la une seule fois dans TypingMind et utilisez-la avec GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou un modèle local que vous exécutez vous-même, le tout avec vos propres clés API.

  • Chargée uniquement en cas de besoin

    Le prompt système ne contient que le nom et la description. Les instructions sont récupérées à la première demande correspondante : une compétence inutilisée ne coûte donc rien.

  • Changez de modèle en cours de discussion

    La compétence étant constituée d’instructions et non de code, elle reste fonctionnelle lorsque vous changez de modèle : le nouveau modèle lit le même fichier SKILL.md.

Instructions de la compétence

Voici le contenu de SKILL.md que le modèle charge. Lisez-le avant l’installation : une compétence contient des instructions que votre modèle suivra.

Brand Setup

Run this once, before your first video. This repo ships with a house brand — a calm, premium indigo look. It's a real, working brand, not a placeholder, and you're welcome to keep it. But if you never touch it, every video you make here looks like the channel it came from. This skill fixes that in one pass.

What this skill owns

Three files that must stay in sync, and this skill is the only thing that should write all three:

FileWhat it holdsWho reads it
brand.mdthe contract, in proseevery step-2+ skill (/make-tsx, /suggest-sfx, /packaging)
remotion/src/brand.tsthe same tokens as code — COLORS, GRADIENT, RADIUS, SHADOW, EASINGS, BRANDevery shot
remotion/src/fonts.tsthe font families, loaded from @remotion/google-fontsevery shot

They drift silently. brand.md says indigo, brand.ts says teal, and nothing errors — the docs just quietly stop describing the videos. That's why one skill writes all three in one pass.

Every shot imports from brand.ts / fonts.ts, so changing a value here re-brands every video in the repo, retroactively. That's the whole point of a contract.

The flow


Stage 1 — Interview (ONE message, not twenty questions)

Ask it all at once, and say up front that "keep the default" is a valid answer to any of it — most people care about two or three of these and have no opinion on the rest.

  1. Channel identity — the wordmark text, and what the channel is about in a sentence. The wordmark renders in three parts with the middle part in the accent color (['Learn','With','Hasan'] → the "With" is indigo). Two-part marks use an empty third (['Acme','Labs','']). Also: the sign-off line for the end card.
  2. The feeling — calm/premium, loud/energetic, playful, editorial, technical? This drives motion and shape more than color does.
  3. Palette — do they have brand colors already (paste hex), or should you propose from the feeling? Light base or dark base? The accent is the single most important choice: it's the key words, the highlights, the CTAs, the wordmark's middle.
  4. Type — existing brand fonts, or propose to fit the feeling? Must be Google Fonts (see the hard gate in Stage 3).
  5. Delivery specs — what does your camera actually shoot? Resolution and frame rate. This is not taste; it's the one value that must match reality (see the trap below).
  6. SFX taste — subtle accents under the voice, or louder/punchier?

Stage 2 — Propose before you write

Show the full proposal in the chat first — palette as a table (role · hex · what it's for), the font names, the motion feel, the delivery specs. Get a yes.

Reading hex codes in a table is cheap. Rewriting three files and re-rendering is not. Do not skip to writing because the answers "seem clear."


Stage 3 — Hard gate: the fonts must actually exist

Fonts are the #1 way this breaks the build. fonts.ts imports from @remotion/google-fonts, so a family that isn't in that package fails to resolve. A local/purchased/system font will not work — if they name one, tell them plainly and pick the closest Google family.

Verify before writing. Both checks, every font:

bash
cd remotion

# 1. Does the family exist? (PascalCase, no spaces: "Space Grotesk" -> SpaceGrotesk)
ls node_modules/@remotion/google-fonts/dist/esm/ | grep -i "^Poppins\."

# 2. Does it HAVE the weights you're about to request?
grep -oE '"[0-9]{3}":' node_modules/@remotion/google-fonts/dist/esm/Poppins.mjs | sort -u

~1,800 families are available, so there is almost always a good match.

The weight trap is real, not theoretical. Space Grotesk stops at 700 — no 800/900. Oswald stops at 700. Requesting a weight the family doesn't ship gives you a silent fallback or a broken render, and you won't notice until a headline looks wrong. Check, then request only what exists.


Stage 4 — Contrast gate

Text has to be readable, and a beautiful palette that fails here produces unreadable videos. Compute it, don't eyeball it (chroma-js is already a dependency):

bash
cd remotion && node -e "
const chroma = require('chroma-js');
const C = { ink:'#1a1a2e', muted:'#6b6b7b', paper:'#fffef7', accent:'#6366F1' };
const p = [['ink','paper'],['muted','paper'],['accent','paper'],['paper','accent']];
for (const [a,b] of p) console.log(a.padEnd(7),'on',b.padEnd(7), chroma.contrast(C[a],C[b]).toFixed(2)+':1');
"

Judge each pair by how it's actually used, not one blanket number:

PairUsed forGate
ink on paperbody text, everywhere≥ 7:1
muted on papercaptions, secondary labels≥ 4.5:1
accent on paperlarge key words only (34px+)≥ 3:1
paper on accentpill/chip text, small≥ 4:1

For reference, the house default measures 16.87 / 5.17 / 4.42 / 4.42. Note the accent sits at 4.42 — comfortable for big words, tight for small ones. That's the normal shape of this tradeoff: a saturated accent that pops on a light base rarely also clears 7:1. Fine. Just don't put small text on it.

Below 3:1 on any pair, do not ship it — darken the shade and re-check. Between 3:1 and the gate, say so out loud and let them choose. Never silently accept a palette that can't be read.


Stage 5 — Write all three files, in one pass

remotion/src/brand.ts — keep every exported name exactly as-is. 29 shots import COLORS, EASINGS, GRADIENT, RADIUS, SHADOW, BRAND; renaming or dropping a role breaks all of them. Change the values, never the keys. Fill every role — a palette that omits warn or danger compiles and then explodes at render.

remotion/src/fonts.ts — swap the families and weights (verified in Stage 3). Keep FONT_DISPLAY / FONT_BODY / FONT_MONO exported. FONT_SERIF exists only for the Claude Code wordmark clone — it isn't a brand font, so leave it alone unless asked.

brand.md — rewrite §1–§7 and §9–§10 to match. Do not touch §8 (Asset & source locations) — that's pipeline structure, not brand, and the other skills depend on it being accurate.

Keep brand.md's shape: the other skills read it by section, and /suggest-sfx reads §10 for its SFX taste and function table specifically.

The delivery-specs trap (§7). Canvas + fps are the one place where taste is wrong and reality is right: the canvas fps must match the master cut's frame rate. Shoot 1080p30 and it should say 1080p30. A mismatch here doesn't error — it desyncs every shot from the narration, and you'll blame the timing before you blame the brand file. Ask what the camera shoots; never assume.


Stage 6 — Prove it (do not skip)

Render the brand back at them and read the frame yourself before showing it:

bash
cd remotion && npm run gen
npx tsc --noEmit
npx remotion still src/index.ts BrandProof out/brand-proof.png --frame=95

BrandProof (remotion/src/shots/brand/BrandProof.tsx) is a utility shot, not a video beat. It hardcodes nothing — it reads brand.ts and fonts.ts live, so what renders is genuinely what the shots will use. It shows the wordmark, the full palette with hex labels, the gradient, all three fonts, the card depth, and the accent-legibility line.

Look at it and check: is the wordmark right? Is the accent word legible? Do the fonts look like what you proposed? Then show them the image.

Finally, render one real example shot (EndCard is the fastest) to confirm nothing broke downstream.


Hard rules

  • All three files or none. Never update brand.ts without brand.md. Silent drift is the failure mode this skill exists to prevent.
  • Change values, never keys. Every shot imports the token names. Renaming a color role breaks 29 files at once.
  • Fonts must be verified in @remotion/google-fonts before writing — family AND weights.
  • The palette must clear the contrast gate, judged by usage. Below 3:1 is not shippable.
  • Delivery fps must match the camera, not the brand's preference.
  • Don't touch brand.md §8. It's structure, not style.
  • Never re-tune a thumbnail to match the brand. Thumbnails are deliberately louder — they live on the browse wall and play by CTR rules. See /packaging. Two systems, on purpose.
  • The house default is a real brand, not a placeholder. "Keep it" is a legitimate answer; the only thing that's genuinely wrong is shipping someone else's wordmark on your channel. If they keep everything else, still set BRAND.wordmark.

Foire aux questions

À quoi sert la compétence IA Brand Setup ?

Makes this repo's videos look like YOUR channel instead of the house default — interviews you for palette, fonts, wordmark, motion energy, delivery specs and SFX taste, then rewrites brand.md + remotion/src/brand.ts + remotion/src/fonts.ts together and renders a proof card so you SEE it. Use whenever the user wants to set up or change their brand, rebrand the repo, "make it my colors/fonts", change the accent color, set their wordmark, adjust the motion feel, or asks why their videos look like someone else's. Run it once before the first video. Not for per-video art direction (that is /make...

Pourquoi utiliser Brand Setup sur TypingMind ?

Parce que vous l’installez une seule fois pour l’utiliser avec n’importe quel modèle. Brand Setup se compose de simples instructions en Markdown plutôt que de code propre à un fournisseur. La même compétence fonctionne donc avec GPT-5, Claude, Gemini, Grok ou un modèle local, et vous pouvez changer de modèle en cours de discussion sans perturber son fonctionnement. TypingMind utilise vos propres clés API : vous payez donc directement les fournisseurs plutôt qu’un abonnement par siège, et vos compétences et discussions restent dans votre propre espace de stockage.

Comment installer Brand Setup dans TypingMind ?

Dans TypingMind, ouvrez Plugins → Compétences → Installer depuis GitHub et collez https://github.com/hassancs91/claude-youtube-editor/tree/main/.claude/skills/brand-setup. TypingMind lit le fichier SKILL.md et l’installe sous forme de compétence que vous pouvez activer pour chaque discussion.

Quels modèles d’IA peuvent utiliser Brand Setup ?

N’importe quel modèle que vous connectez dans TypingMind. Les compétences IA sont de simples instructions en Markdown, et non du code propre à un fournisseur. GPT, Claude, Gemini, Grok et les modèles locaux peuvent donc tous charger cette compétence lorsqu’une demande lui correspond.

Combien de modèles d’IA puis-je utiliser avec Brand Setup ?

Autant que vous le souhaitez. Vous pouvez utiliser Brand Setup avec tout modèle qui prend en charge les compétences : GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama et bien d’autres, le tout dans TypingMind avec vos propres clés API.

La compétence IA Brand Setup est-elle gratuite ?

Oui. Cette compétence est publiée sur GitHub par hassancs91 sous licence MIT. Vous ne payez que votre propre fournisseur d’IA pour les tokens utilisés.

Que sont les compétences IA ?

Une compétence IA est un ensemble d’instructions réutilisables qui apprend à un modèle d’IA à accomplir une tâche précise. Elle suit le format ouvert Agent Skills : un fichier SKILL.md contenant un nom et une description, ainsi que les éventuels scripts, gabarits ou fichiers de référence dont le modèle peut avoir besoin. Le modèle ne lit les instructions que lorsque votre demande correspond à la compétence. Une compétence installée ne coûte donc rien tant qu’elle n’est pas utilisée.

En quoi les compétences IA diffèrent-elles des plugins ou des serveurs MCP ?

Un plugin ou un serveur MCP fournit au modèle de nouveaux outils à appeler : du code qui s’exécute quelque part et renvoie un résultat. Une compétence IA lui apporte plutôt des connaissances et une méthode : comment aborder une tâche, quelles étapes suivre et à quoi ressemble un bon résultat. Les compétences sont de simples instructions en Markdown. Elles ne nécessitent donc ni serveur, ni clé API, ni environnement d’exécution, et fonctionnent avec n’importe quel modèle.

Tout voir

Créez votre propre espace de travail IA dès maintenant

Abonnez-vous à notre newsletter pour être informé des nouvelles fonctionnalités et des prochains cadeaux à gagner 👇