experience-cms-brand-create
БесплатноБез исполняемых скриптовНе проверенAuthor a Salesforce Digital Experience brand (a "brand.json") so the VS Code Brand Toolkit can load, edit, and preview it. Use this skill whenever someone…
от forcedotcom★ 1 200 звёзд на GitHubОб этом скилле
Create a Brand for the Brand Toolkit
Generates a Digital Experience brand — one brand.json file — from a user's
description, and writes it where the VS Code Brand Toolkit will discover it,
so the user can immediately load, edit, and preview the brand.
A brand is a single JSON object of design tokens: colors (colorScheme), a font
catalog and base font (fontFamily / baseFontFamily), size/spacing/border
scales, per-role typography, and buttonStyleGroup definitions. Most of it is
fixed structure with internal references; you create a brand by starting from a
known-good template and changing only the leaf values (colors, font choice,
border radius, base size) plus a unique name.
The Brand Toolkit owns everything downstream: it computes derived hover colors,
compiles the --tm-* CSS, and manages the active-brand config on Save. Your job
is just the brand.json.
Related: This skill creates a new brand definition. To apply an existing brand's voice, tone, and guidelines to generated content, use the
experience-cms-brand-applyskill instead.
Reference material
Read each reference when its step arrives — don't inline everything up front:
assets/brand-template.json— the known-good full brand to clone. This is your starting point for EVERY brand. Copy it, then change leaves.references/brand-anatomy.md— which fields are literals you should edit vs references you must leave intact; thecolorSchemeguide; the font catalog and which fonts actually render in the preview; the derived-colors rule. Read before editing values.references/disk-contract.md— exactly where the file goes (.digitalExperience/brands/<slug>.brand.json), the title→slug rule, and what the toolkit generates so you don't. Read before writing the file.
Interactive flow
Walk these steps in order. When you have an interactive user, ask before assuming and confirm the design back before writing; in a single-turn, headless, or CLI run with no user to answer, state the choices you inferred and write in the same run rather than waiting for a confirmation that cannot arrive (see Step 3). Steps 1–5 create the brand file and complete the task. After they finish, an optional post-completion action — opening the Brand Toolkit to preview/edit — is described in "After completion" below; it is not part of the required workflow.
Step 1: Gather the brand intent
Find out what the brand should feel like. If the user already gave a description ("a dark, premium fintech brand in deep purple"), extract from it; otherwise ask briefly for:
- Name — a short, human-readable brand name (becomes
sfdc_cms:title, must be unique in the project). If they don't offer one, propose one from the vibe. - Primary/brand color — the signature accent. Accept a hex, a named color, or
a description ("Salesforce blue", "warm coral"). Convert to a
#rrggbbhex. - Light or dark — does the page background read light or dark? This sets
rootandcontrast. - Personality (optional) — corners (sharp vs rounded), font feel (clean sans,
classic serif, techy mono), density. Map these to
borderRadius,fontFamilychoice, andbaseFontSize.
If a logo or image is provided, sample its dominant color for primaryAccent and
judge light/dark from its background. Keep it to a couple of questions — infer the
rest from the vibe and confirm in Step 3.
Step 2: Build the brand from the template
- Read
assets/brand-template.json— this is your base. Readreferences/brand-anatomy.mdso you know which leaves are safe to change. - Copy the template and override ONLY leaf values:
sfdc_cms:title→ the unique brand name.colorScheme.root/contrast→ per light or dark (e.g. light:#ffffff/#000000; dark: a dark bg /#ffffff).colorScheme.primaryAccent→ the brand color.colorScheme.primaryAccentContrast→ black or white, whichever is legible on the accent.colorScheme.neutral→ a mid gray that reads onroot.baseFontFamily(and, to match, thetypography.heading.*.fontFamilyentries) → a reference to a catalog key whose font actually renders in the preview (see the anatomy doc's font list).- Optional personality:
borderRadius.round.value,borderWeight.thin.value,baseFontSize.value,fontWeight.normal.
- Do NOT: add
*Derivedcolor keys, drop or rename any section/key, replace a{!$brand....}reference with a literal, or use a font name outside the renderable catalog. The structure must stay identical to the template. - Sanity-check contrast:
contrastonroot, andprimaryAccentContrastonprimaryAccent, must be legible. Prefer black/white for the contrast colors.
Step 3: Confirm the design (or, if headless, state it and proceed)
Assemble a compact summary of the concrete choices — name, the four or five hex colors (with a note on light/dark), the fo
Установить experience-cms-brand-create в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл experience-cms-brand-create?
Author a Salesforce Digital Experience brand (a "brand.json") so the VS Code Brand Toolkit can load, edit, and preview it. Use this skill whenever someone wants to: create a brand, make a new brand, generate a brand from a description or a color/logo/mood, add a brand to a project so the Brand Toolkit picks it up, scaffold a brand.json, theme a Digital Experience site, or turn a brand idea ("a dark luxury brand", "match our logo", "coral + rounded + friendly") into a loadable brand. Also use it when the user mentions "Brand Toolkit", "theme manager brand", "brand token", "colorScheme", "primaryAccent", ".digitalExperience/brands", "sfdc_cms:title", or a "brand.json" that should show up in the Brand Toolkit. Do NOT use this skill to apply an existing brand's voice, tone, or guidelines to generated content (use experience-cms-brand-apply), to search Salesforce CMS for existing brands, or to search for images, media, or logos (use experience-search-coordinate).
Как установить скилл experience-cms-brand-create?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл experience-cms-brand-create запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic