AGENT SKILLBY FORCEDOTCOM
Applying CMS brand
AT A GLANCE
Applying CMS brand is a brand skill for AI agents. Extracts, retrieves, and applies CMS brand guidelines (voice, tone, style, colors, typography) to generated content. It is published by forcedotcom in the forcedotcom/sf-skills GitHub repository (919 stars) under the Apache-2.0 license. Install it with: npx skills add forcedotcom/sf-skills --skill experience-cms-brand-apply
- SOURCE REPOSITORY
- forcedotcom/sf-skills (opens GitHub in a new tab)
- REPO STARS
- SOURCE REPOSITORY
- LICENSE
- Apache-2.0
- CATEGORIES
- SKILL.MD SIZE
- 7.2 KB194 LINES
QUICK ANSWER
- WHAT IT IS01
- Extracts, retrieves, and applies CMS brand guidelines (voice, tone, style, colors, typography) to generated content. Its edge is a particular angle on brand and messaging, giving the agent tighter constraints than a plain applying CMS brand request.
- INPUTS02
- Context for brand and messaging: your goals, audience, constraints, and any source material the skill asks for.
- OUTPUT03
- A ready-to-use result for brand and messaging: the analysis, copy, or recommendations the agent produces.
INSTALL
One command adds this skill from its source repository.
npx skills add forcedotcom/sf-skills --skill experience-cms-brand-applyREAD THE SKILL.MD BELOW BEFORE YOU RUN IT. SKILLS INSTRUCT YOUR AGENT.
SKILL.MD
The full file, as published in the source repository. Copy it, download it or open it on GitHub.
ON THIS PAGE · 10
Applying CMS Brand#
Universal skill for searching, extracting, and applying CMS brand guidelines to generated content.
Scope#
This skill is for APPLYING existing brand guidelines from Salesforce CMS to content you generate.
Use this skill when the user wants to:
- Apply their brand voice/tone to generated content
- Find and use brand guidelines stored in Salesforce CMS
- Search for an existing brand in their org
- Get brand instructions for content generation
- Ensure generated content matches their brand identity
- Apply brand styling, tone, or voice to a page, component, or app
DO NOT use this skill when the user wants to:
- Search for images or media (use experience-content-media-search skill)
- Create a new brand from scratch
- Edit brand definitions in CMS
- Generate logos or visual brand assets
Before You Start#
CRITICAL: You must retrieve brand instructions BEFORE applying any brand.
When a user requests branded content:
- Search for available brands (if brand is not already identified)
- Extract brand instructions for the selected brand
- Apply brand guidelines to all content you generate
Never generate content first and retrofit branding later. Brand instructions must inform content generation from the start.
Workflow Overview#
Copy this checklist and track your progress:
CMS Branding Progress:
- [ ] Step 1: Determine if brand is already identified or needs search
- [ ] Step 2: Search for brands (if needed) and present options to user
- [ ] Step 3: Extract brand instructions for the selected brandStep 1: Determine Brand Context#
Check if the user has already specified which brand to use:
Brand is known (user named it, or only one brand exists):
- Skip to Step 3 (Extract Brand Instructions)
Brand is unknown (user says "apply my brand" without specifying which):
- Proceed to Step 2 (Search for Brands)
Step 2: Search for Brands#
Tool: search_media_cms_channels
Brands are stored as CMS content of type sfdc_cms__brand. Search for them by
querying the CMS channels with the brand content type.
Note: Brand content search (
contentTypeFqn=sfdc_cms__brand) is explicitly excluded from theexperience-content-media-searchskill's scope. Callingsearch_media_cms_channelsdirectly here is correct and intentional — do not route brand search throughexperience-content-media-search.
Process:
- Determine search query — Use the user's keyword. Brand search matches on brand title and description.
- Build the request with the fixed brand-search input contract:
{
"inputs": [{
"searchKeyword": "keyword",
"searchLanguage": "<detected_language>",
"channelType": "PublicUnauthenticated",
"contentTypeFqn": "sfdc_cms__brand",
"pageOffset": 0,
"searchLimit": 25
}]
}Field rules:
searchKeyword— the user's keyword inputsearchLanguage— auto-detect from the user's input; if unsure, useen_USchannelType— alwaysPublicUnauthenticated(brand content is delivered via the public CMS channel; authenticated-channel brand search is not supported by this tool)contentTypeFqn— alwayssfdc_cms__brandpageOffset—0searchLimit—25
- Call
search_media_cms_channelswith the request - Parse the response — A brand result has an ID starting with
9Ps. Extract:managedContentId— Unique ID (use this for extraction in Step 3)managedContentKey— Content key identifiertitle— Brand display namecontentUrl— URL to the brand content, found undermanagedContentChannelDeliveryDetails[0].contentUrlpageNumber,pageSize,totalResults— pagination summary
Presenting Brand Results#
If brands found, first show a summary line, then use ask_followup_question
to present options:
Showing [N] of [totalResults] total results (page [pageNumber], page size [pageSize]).
Which brand should I apply?
1. [Brand Title 1]
2. [Brand Title 2]
3. [Brand Title 3]
Which brand would you like to use?When the user replies with their selection, do NOT perform another search — proceed immediately to Step 3.
If one brand found, confirm with the user:
I found the brand "[Brand Title]". Should I apply this brand's guidelines to the content?If no brands found:
No brands found in Salesforce CMS. To use branding:
1. Create a brand in Salesforce CMS (Content Type: sfdc_cms__brand)
2. Provide brand guidelines directly in this conversation
Would you like to proceed without CMS branding, or provide guidelines manually?Never auto-select a brand without confirmation. Always wait for user choice.
Step 3: Extract Brand Instructions#
Tool: get_brand_instructions
Process:
-
Call
get_brand_instructions— This retrieves the branding extraction prompt template -
Parse the response:
promptBody— Contains the full brand instruction prompt with extraction and application rules
-
Follow the instructions in
promptBody— The prompt template contains specific guidance on:- How to extract brand properties from the brand content
- Brand voice and tone rules
- Typography and color guidelines
- Content formatting rules
- Guardrails and restrictions
What Brand Instructions Contain#
The extracted brand instructions typically include:
| Property | Description |
|---|---|
| Brand Voice | How the brand speaks (e.g., professional, friendly, authoritative) |
| Brand Tone | Emotional quality of communication (e.g., confident, warm, empathetic) |
| Key Messages | Core messaging pillars and value propositions |
| Content Rules | Dos and don'ts for content generation |
| Style Guidelines | Typography, color, spacing preferences |
| Guardrails | Hard restrictions on language, topics, or claims |
Error Handling#
| Error | Response |
|---|---|
search_media_cms_channels unavailable | "Brand search is unavailable. Please provide your brand name or guidelines directly." |
get_brand_instructions unavailable | "Cannot retrieve brand instructions. Please share your brand guidelines in this conversation and I'll apply them manually." |
| Org lacks Vibes branding | "CMS branding is not enabled for this org. Contact your admin to enable the Agentforce Vibes branding feature." |
| Permission denied | "You don't have permission to access CMS brands. Ensure you have Managed Content Authoring permission." |
| Brand extraction returns empty | "The brand exists but has no configured guidelines. Please add brand properties in CMS or provide guidelines here." |
Never silently fail. Always inform the user and offer alternatives.
Key Principles#
- Brand first, content second — Always extract brand instructions before generating content
- Never assume brand guidelines — Only apply what was explicitly retrieved from CMS
- Respect guardrails absolutely — Brand content rules are hard constraints, not suggestions
- Confirm brand selection — Never auto-select a brand without user confirmation
- Show your work — Tell the user which guidelines you applied and how
- Graceful degradation — If tools are unavailable, ask for manual guidelines rather than proceeding without branding
FAQ
07 QUESTIONS
01What is the Applying CMS brand agent skill?
Extracts, retrieves, and applies CMS brand guidelines (voice, tone, style, colors, typography) to generated content. It is listed under brand in the 100xLab agent skills directory.
02How do I install Applying CMS brand in Cursor, Claude Code, or Codex?
Run npx skills add forcedotcom/sf-skills --skill experience-cms-brand-apply in the project where you want it, then ask your agent for the skill by name. The --skill flag installs only Applying CMS brand, not every skill in the repository.
03What does the Applying CMS brand SKILL.md cover?
The SKILL.md includes sections on Scope, Before You Start, Workflow Overview, Step 1: Determine Brand Context, Step 2: Search for Brands and Presenting Brand Results. Read the full text on this page or in plain markdown at /resources/agent-skills/forcedotcom-sf-skills--experience-cms-brand-apply--bganfy/raw.
04Which agents can use Applying CMS brand?
Applying CMS brand installs with the cross-agent skills installer (npx skills add), which sets it up for agents such as Claude Code, Cursor and Codex. Each agent loads the SKILL.md when you ask for the skill by name.
05What license is Applying CMS brand under?
The forcedotcom/sf-skills repository declares the Apache-2.0 license. Read the license file in the repository before you copy or redistribute the skill.
06Is Applying CMS brand free to use?
Reading, copying and installing Applying CMS brand costs nothing: it is published in a public GitHub repository under the Apache-2.0 license. Reuse and redistribution follow that license.
07Where is the source of Applying CMS brand?
Applying CMS brand comes from https://github.com/forcedotcom/sf-skills, which has 919 GitHub stars. The SKILL.md is at https://github.com/forcedotcom/sf-skills/blob/HEAD/skills/experience-cms-brand-apply/SKILL.md. The author is forcedotcom.
Need an agent workflow built around your stack?
Tell us the workflow you want automated. We reply within 4 working hours (IST).
ATTRIBUTION
Applying CMS brand was written by its original authors and is published in forcedotcom/sf-skills (opens GitHub in a new tab) under the Apache-2.0 license. All rights stay with the original authors.
100xLab did not write, maintain or endorse this skill. This page lists it for discovery. Repo stars belong to the source repository, not to the skill. Review any skill before you install it.