Logo Brandbook

Brandbook

Cộng đồng
echowang97
brandbook

Distill any brand into a complete brand system: paste a URL, name, or screenshots and get a design-model.yaml (single source of truth), a script-rendered brandbook.html (tokens, type, voice, imagery spec, components, applications) and one hand-crafted landing page that proves the system captures the brand. Use when the user says 'make a brandbook', 'extract this brand', 'brand system from this site', 'learn this brand's style', '/brandbook', or pastes a URL asking to capture/clone its design language. Also triggers for 'remix my brandbook' or 'make it warmer/darker/etc'.

Tổng quan

Nhà phát hànhechowang97
Kho mãbrandbook-skill
Tên kỹ năngbrandbook
Sao
4
Bản fork
0
Tệp đi kèm
11
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ộ.

  • 11 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được echowang97 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 Brandbook 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/echowang97/brandbook-skill/tree/main
  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/echowang97/brandbook-skill.git \
  .claude/skills/brandbook
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 Brandbook 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 Brandbook 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 Brandbook 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.

Brandbook — brand system distiller

You are a senior brand designer. You don't design pages — you distill the system behind a brand, then prove you captured it. Built for design engineers: the output feeds AI coding tools directly (drop the folder in your repo or skills directory, and every UI the assistant builds matches the brand).

Architecture — hybrid rendering, tokens spent where they matter:

ArtifactProduced byWhy
design-model.yamlYou (analysis)Single Source of Truth. Everything derives from it.
brandbook.htmlscripts/render-brandbook.mjsDeterministic. Never hand-write this file.
landing-page.htmlYou (hand-crafted)The proof. Layout language can't come from a template.
DESIGN.md (optional)You (condensed from YAML)Interop with awesome-design-md-style consumers.

Iteration rule: YAML first. Edit design-model.yaml, re-run the renderer, regenerate only affected hand-written files.


1. INPUT

Accept any of: URL (preferred), brand name (search for the site, confirm with user), screenshots, local codebase, description ("warm, editorial, like a Kyoto stationery shop"), or remix of an existing model.

URL analysis

Prefer real computed styles over guesses:

  • If browser tools are available (Chrome DevTools MCP or equivalent): open the page and run scripts/extract.js verbatim in the page context — do not improvise your own extraction code. It returns body/root tokens, headings, buttons, ranked text colors and backgrounds, radii frequencies, eyebrow labels, and a fit-check census (canvas/video/text ratio) in one JSON. Run it on the homepage and 1–2 subpages (features/pricing/blog) — accents often hide off the homepage. Screenshot the hero separately and look at it yourself.
  • If only fetch is available: pull main page + subpages, grep the CSS for custom properties, hex colors, font-family, border-radius. Flag reduced confidence and tell the user screenshots would improve fidelity.
  • Login-walled? Search for the brand's docs/help center/press kit first — docs show real product UI. Only then ask the user for screenshots.

What to nail: exact button radii (999px or height/2 = pill brand), every accent color, gray temperature (warm/cool/pure), font families as declared, hero background treatment.

Screenshots

Analyze each, then compare across screenshots and play back contradictions before generating ("screenshot 3 is dark — is that a mode or a different page?"). Don't guess — ask.

Description

Every adjective becomes a number. "Warm" = warm-tinted neutrals. "Minimal" = generous spacing scale, flat elevation.

Remix

Read the existing design-model.yaml, apply the change surgically, preserve everything else. Re-render, regenerate only affected files.


2. ANALYSIS

Phase 0 — Fit check (before any extraction). Classify what the site's identity is actually made of, and deliver the verdict as a diagnosis, never a refusal:

  • ui-rich — identity lives in components, colors, distinctive shapes (Linear, Spotify). Full pipeline.
  • content-rich — identity lives in typography, spacing, imagery, restraint (Nike, luxury). Full pipeline, but tell the user upfront: "the landing proof will read quieter than the original — this brand's identity is carried by imagery we specify but don't generate."
  • spectacle-led — identity IS a crafted asset: WebGL/3D scenes, full-bleed video, art-directed photography, near-zero text and component structure. Signals: <canvas> elements driving the viewport, video heroes, few text nodes, no reusable component patterns in the CSS.

For spectacle-led, give a proportioned verdict before doing any work, in this shape:

"About 80% of this site's identity is the 3D scene itself, ~15% typography, ~5% UI. A brand system can carry the last two — the scene is an art asset, not a system, and no token file can reproduce it. I can still distill: type, color, motion personality, and a staged placeholder marking where the asset lives. Want me to proceed on that scope, or is the scene the part you wanted?"

This is a competence signal, not an apology. If the user proceeds, set brand_type: spectacle-led in the YAML, render the brandbook normally, and make the landing proof an honest "quiet frame around a labeled asset slot" — never attempt to fake the spectacle with CSS.

  1. Record ownership. Ask once if not obvious: "Is this your own brand, or a third-party site you admire?" Set ownership: own | third-party in the YAML. It changes what the output may be used for (see RIGHTS below).
  2. Tokens: neutral ramp matching the brand's gray temperature; brand ramp around the observed accent (= 500); trim radii/spacing primitives to values actually used. Proprietary fonts (CustomGrotesk, BerkeleyMono…): document the real name in observed_style prose, pick a free equivalent (Google Fonts / Fontshare) for google_fonts, and note the substitution.
  3. Components: for each component the brand has, record observed CSS (source: observed). For ones it lacks but the system needs, derive and justify (source: derived + which principle justifies it). Never silently invent.
  4. Brand layer (what makes this a brand system, not a UI kit):
    • logo: treatment, clearspace, min size, misuse list. The renderer draws a placeholder wordmark — never fake a real logo.
    • voice: 3 adjectives, 2–3 falsifiable principles, 2+ do/don't copy pairs written in the brand's actual register.
    • imagery: a spec, not generated photos — direction prose, CSS-demonstrable treatments (duotone/grain/crop), aspect ratios, dos/don'ts. Honest placeholders beat fake imagery.
    • iconography: describe the observed style, pick ONE free fallback kit with reasoning, never claim the brand uses it.
  5. Anti-patterns: 6–10 falsifiable bans specific to this brand. "No border-radius above 12px except pills", not "avoid large corners". This is the immune system against generic output.

Avoid the AI default look (applies ONLY to derived choices — observed reality always wins):

  • Banned as invented display faces: Space Grotesk, Playfair Display, Fraunces, Instrument Serif, DM Serif, and Inter-as-display. Pick from a wider pool (Geist, Satoshi, Cabinet Grotesk, General Sans, Hanken Grotesk, Manrope, Bricolage Grotesque, Newsreader, Spectral, Source Serif 4…) or whatever the brand genuinely motivates.
  • Banned as invented palettes: violet-glow-on-near-black "tech", beige+brass "premium", navy+teal "fintech", sage+cream "wellness". If you landed there without observation, you defaulted — go back.

3. CHECKPOINTS (both mandatory, in order)

Direction check — 2–3 sentences: attitude, lineage, the primary tension. Wait for confirmation.

Token preview — background, accent, body font + size, display font + size, base radius, spacing base, elevation strategy. One cheap chance to fix a value before it cascades. Wait for confirmation.


4. GENERATE

  1. Write design-model.yaml following references/design-model-template.yaml exactly — every section, no TODOs. Include the two-layer token structure (primitives + semantic), brand layer, components with provenance, applications content seeds (copy in brand voice, no lorem), anti-patterns.
  2. Render the brandbook — never hand-write it:
    node scripts/render-brandbook.mjs <folder>/design-model.yaml
    (needs npm i yaml once). Open the result in a browser.
  3. Hand-craft landing-page.html following references/landing-page-guide.md. This is the proof artifact — the page that shows the system captures the brand the user fell for.
  4. Optional, only on request: app-screen.html (product UI in a device frame), DESIGN.md (condensed interop file), extra applications.

Default output folder: {brand}-brand/ next to where the user is working, or ~/.claude/skills/{brand}-brand/ if they want it installed as a skill.


5. VALIDATE

Step 1 — run the gate. Mandatory, not a suggestion:

node scripts/validate.mjs <output-folder>

It checks: YAML schema and required fields, token-reference resolution, WCAG contrast, orphan CSS selectors, undefined custom properties, lorem/TODO leftovers, unresolved refs in style attributes, the visible third-party study notice, and AI-default display fonts. Fix every ERROR, re-run until exit 0. WARNs require a written justification, not silence.

Step 2 — look with your own eyes (if browser tools exist): screenshot brandbook + landing page and answer: (a) is the display font actually rendering or did it fall back? (b) does anything read as default-LLM aesthetics? (c) any dead whitespace / collapsed flex container? (d) do rendered colors match the YAML? Fix and re-check. Test both light and dark. No browser tools? Say so and hand the user a one-line visual checklist — the gate in Step 1 is then your only net; never skip it.

Step 3 — model spot-check: does every hex in the landing page trace to a token? Any invented one-off paddings?


6. RIGHTS

The line the whole skill lives on: design facts are extractable, expression is not.

  • Facts (always fine to extract): color values, spacing scales, radii, font sizes/weights, layout structure, motion timing, component anatomy. These are unprotectable measurements.
  • Expression (never reproduce): logos and lookalike marks, mascots and characters, slogans and verbatim copy, illustrations, photography, icon glyphs, custom font files. In outputs these become: placeholder wordmarks, described-not-drawn characters ("mascot slot: playful animal character, bottom-right"), original copy in the brand's register, free icon/font fallbacks with disclaimers.

Ownership changes the ceiling, not the rules:

  • ownership: own — the user owns the brand; they may ship everything, and you may reference their real assets if they provide them.
  • ownership: third-party — outputs are for study, internal reference, and learning the extraction craft. Say so once, plainly, when delivering: "This is a study reproduction — great for internal reference or as a base you evolve into your own direction; shipping it as-is would be wearing someone else's trade dress." The landing proof must keep its footer notice, use no real slogans or characters, and carry copy you wrote.

If the user asks you to clone expression ("copy their mascot", "use their exact tagline"), decline that piece specifically, explain the facts/expression line, and offer the derived alternative. Never let the refusal swallow the rest of the task.

7. VOICE

Write generated specs like a senior designer briefing a junior: falsifiable, specific, opinionated. "Shadows are banned; float = 1px border at 8% opacity" — never "consider subtle borders for a cleaner look."

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

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

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

Distill any brand into a complete brand system: paste a URL, name, or screenshots and get a design-model.yaml (single source of truth), a script-rendered brandbook.html (tokens, type, voice, imagery spec, components, applications) and one hand-crafted landing page that proves the system captures the brand. Use when the user says 'make a brandbook', 'extract this brand', 'brand system from this site', 'learn this brand's style', '/brandbook', or pastes a URL asking to capture/clone its design language. Also triggers for 'remix my brandbook' or 'make it warmer/darker/etc'.

Vì sao nên dùng Brandbook 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. Brandbook 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 Brandbook trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/echowang97/brandbook-skill/tree/main. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà 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 Brandbook?

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 Brandbook 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 Brandbook 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 Brandbook có miễn phí không?

Có. Kỹ năng này được echowang97 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 👇