Logo Brand Setup

Brand Setup

Cộng đồng
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).

Tổng quan

Nhà phát hànhhassancs91
Kho mãclaude-youtube-editor
Tên kỹ năngbrand-setup
Sao
345
Bản fork
126
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được hassancs91 công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Brand Setup trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/hassancs91/claude-youtube-editor/tree/main/.claude/skills/brand-setup
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Brand Setup trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Brand Setup ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Brand Setup với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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.

Câu hỏi thường gặp

Kỹ năng AI Brand Setup làm được gì?

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...

Vì sao nên dùng Brand Setup trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Brand Setup là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Brand Setup trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/hassancs91/claude-youtube-editor/tree/main/.claude/skills/brand-setup. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Brand Setup?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Brand Setup với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Brand Setup với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Brand Setup có miễn phí không?

Có. Kỹ năng này được hassancs91 phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇