/sf-experience-extras:experience-cms-brand-createfrom sf-experience-extras
Creates a Salesforce Digital Experience brand.json from a description, writing it where the VS Code Brand Toolkit discovers it for loading, editing, and previewing.
Ships in sf-experience-extras. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
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.
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; the colorScheme guide; 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.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.
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:
sfdc_cms:title, must be
unique in the project). If they don't offer one, propose one from the vibe.#rrggbb hex.root and contrast.borderRadius, fontFamily
choice, and baseFontSize.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.
assets/brand-template.json — this is your base. Read
references/brand-anatomy.md so you know which leaves are safe to change.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 on root.baseFontFamily (and, to match, the typography.heading.*.fontFamily
entries) → a reference to a catalog key whose font actually renders in the
preview (see the anatomy doc's font list).borderRadius.round.value, borderWeight.thin.value,
baseFontSize.value, fontWeight.normal.*Derived color 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.contrast on root, and primaryAccentContrast on
primaryAccent, must be legible. Prefer black/white for the contrast colors.Assemble a compact summary of the concrete choices — name, the four or five hex colors (with a note on light/dark), the font, and any corner/size/weight tweaks. Then branch on whether a user can actually answer:
When you can't tell which mode you're in, prefer stating your choices and proceeding over stalling — a written brand the user can adjust beats a hang.
Follow references/disk-contract.md:
<slug> from the confirmed title using the exact slug rule in that doc.<workspaceRoot>/.digitalExperience/brands/ exists.<slug>.brand.json already exists and this is a NEW brand, append the
lowest free numeric suffix (_2, _3, …).<workspaceRoot>/.digitalExperience/brands/<slug>.brand.json..css or activeBrand.json — the toolkit generates those on
Save.Run the verification checklist in references/disk-contract.md (valid JSON;
unwrapped body; present + unique sfdc_cms:title; slug matches title; no
hand-authored *Derived keys; fonts renderable).
The numbered workflow above is complete once Step 5 passes — the brand file is the deliverable and stands on its own. This section is a separate, optional action, not a workflow step, and only applies inside VS Code. Opening the Brand Toolkit is just a convenience for previewing/editing. Skip it entirely (the brand is already done — just tell the user where the file was written) when any of these hold:
.digitalExperience project / VS Code workspace around the file
(e.g. you wrote to a standalone folder outside a Salesforce DX project).vscode:// deep link can otherwise cold-start or error out. When unsure, ask
the user whether to open the Brand Toolkit rather than assuming.Only when the user is in VS Code and wants to preview/edit, open the Brand Toolkit (Theme Preview) panel by running the terminal command that matches the user's operating system. All three open the SAME deep link — only the OS launcher differs; run exactly one (the one for the current OS):
open "vscode://salesforce.salesforcedx-vscode-ui-preview/open-brand-manager"xdg-open "vscode://salesforce.salesforcedx-vscode-ui-preview/open-brand-manager"Start-Process "vscode://salesforce.salesforcedx-vscode-ui-preview/open-brand-manager"VS Code routes the link to the Live Preview (ui-preview) extension, which opens the Brand Toolkit panel. Then tell the user:
The Brand Toolkit is open in VS Code. Your new brand "" is in the Local tab — select it to preview and fine-tune it; the toolkit computes the hover colors and compiles the CSS, and Save persists your tweaks.
If the panel was already open, the new brand may need a refresh in the Local tab
to appear. If nothing opens, the deep link requires the Live Preview extension
(salesforce.salesforcedx-vscode-ui-preview) to be installed and active — fall
back to telling the user to run SFDX: Open Theme Preview from the Command
Palette.
colorScheme color re-themes
every button/accent that references it — that's the point. Replacing a reference
with a literal breaks that link.primaryAccentDerived /
primaryAccentContrastDerived are computed by the toolkit on load. Omit them.sfdc_cms:title must be unique. Duplicate titles collapse into one entry in
the toolkit's local list.<slug>.brand.json; let the toolkit produce the .css
and activeBrand.json.vscode:// deep link in a headless, CLI, CI, or non-project context. When
in doubt, skip it and tell the user where the file is.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
salesforce, brand-toolkit, brand.json, digital-experience, theming
10 skills in this plugin
/experience-afv-analytics-querySystem-of-record for the public Lightning Instrumentation Headless Connect REST API route that retrieves Agentforce Vibes (AFV) metrics, analytics, data, and adoption/usage insights, including token/LOC, weekly active-user, and per-user activity. Supports local result filtering by period (default current), orgType (default All), recordType, modelName (default All), and other explicitly returned row fields after one parameterless API call./experience-app-mcp-delivery-generatePackage and deliver an existing Salesforce hosted MCP server/App MCP for an Experience Site as an MCP configuration file or a Claude plugin repository. Discover the serving URL and External Client Application client ID, generate client configuration, optionally bundle skills in a plugin, and provide local testing and private GitHub handoff instructions. Plugin packaging supports Claude only; reject requests for Codex, ChatGPT, or other plugin platforms. Use for connecting clients and packaging delivery, not for creating or activating the Salesforce MCP server./experience-app-mcp-generateCreate, extend, deploy, review readiness for, or activate an App MCP, a Salesforce custom hosted MCP server for an Aura Experience Site. Trigger when the user wants to expose an Experience UI or backend action to agents, create local ECA and server metadata, add eligible global invocable Apex or autolaunched Flow tools, add Prompt Builder templates as MCP prompts or tools, preview or perform server activation, deploy the existing MCP stack, or review its readiness. For server setup, always ask whether the user wants HXL widgets for eligible Apex-backed tools through platform-mcp-tool-widget-coordinate. For a standalone request to generate Custom Lightning Types or widgets for an Apex-backed MCP tool, route directly to platform-mcp-tool-widget-coordinate; do not trigger this skill for HXL generation alone. Do not trigger for remote MCP registration or generic Apex and Flow work unrelated to Experience Site agent access./experience-design-validateUse this skill to run a visual-craft audit of a rendered UI and produce an evidence-grounded Craft Report across Useful, Usable, Reliable, Coherent, and Well-Crafted. Invoke it for craft audits, visual critiques, design comparisons, felt-quality reviews, or visual-craft readiness checks on screenshots (.png, .jpg, .jpeg, .webp, .gif), Figma frames, rendered prototypes, and live URLs. Do not use it for source-code review, SLDS compliance (use design-systems-slds-validate), or accessibility compliance (use experience-accessibility-validate)./experience-lwc-widget-assessAssess whether a specific Lightning web component can serve its user's purpose as an HXL declarative widget. Use for LWC-to-widget feasibility, portability audits, and candidate screening; use experience-lwc-widget-migrate when the user wants the widget built./experience-lwc-widget-migrateConvert a specific existing Lightning web component (LWC) into a declarative HXL / Agentforce widget, end to end. Gates on experience-lwc-widget-assess and stops when a widget cannot serve the LWC's purpose; otherwise hands the derived field shape to platform-widget-generate and wires the widget as the Lightning Type renderer. TRIGGER when: the user wants to convert, migrate, port, rebuild, or turn a named LWC into a widget or declarative Agentforce widget, or asks for a widget built from an existing LWC component. DO NOT TRIGGER when: the user only wants to know whether an LWC can become a widget (use experience-lwc-widget-assess), or wants a widget for a data shape, entity, or Lightning Type with no existing LWC (use platform-widget-generate or platform-lightning-type-widget-coordinate).npx claudepluginhub cloudzlab/sf-team-skills --plugin sf-experience-extras3 plugins ship this exact skill · first indexed Sep 11, 2026
Other plugins' skills for the same job