applying-cms-brand
forcedotcom/sf-skills
Search, extract, and apply Salesforce CMS brand guidelines to generated content.
What is applying-cms-brand?
This skill retrieves brand voice, tone, style, and guidelines from Salesforce CMS and applies them to content generation. Use it whenever a user requests branded content, wants to match brand guidelines, or needs to apply brand voice to pages, components, or apps.
- Search for available brands in Salesforce CMS by keyword or name
- Extract brand instructions including voice, tone, colors, typography, and messaging rules
- Apply brand guidelines to generated content before creation
- Present multiple brand options when search returns multiple results
- Handle brand selection confirmation to prevent auto-selection errors
- Provide graceful fallback when CMS branding tools are unavailable
How to install applying-cms-brand
npx skills add https://github.com/forcedotcom/sf-skills --skill applying-cms-brand- Salesforce CMS with Agentforce Vibes branding feature enabled
- get_brand_instructions and/or search_brands MCP tools available
- Managed Content Authoring permission in Salesforce org
- At least one brand defined in CMS (Content Type: sfdc_cms__brand)
How to use applying-cms-brand
- 1.Determine if the brand is already identified or needs to be searched
- 2.If brand is unknown, call search_brands with a keyword or company name and present results to the user
- 3.Wait for user confirmation of which brand to apply
- 4.Call get_brand_instructions for the selected brand to retrieve voice, tone, style, and guardrails
- 5.Apply the extracted brand guidelines to all content generation from that point forward
- 6.Show the user which specific guidelines you applied and how they informed the content
Use cases
- Apply company brand voice and tone to a new marketing page or component
- Search for an existing brand in CMS when user says 'apply my brand' without specifying which one
- Extract brand guardrails and content rules before generating branded copy
- Match generated content to brand typography, color, and style guidelines
- Ensure all content respects brand messaging pillars and restrictions
- Content creators and marketers using Salesforce CMS
- Developers building branded pages or components
- Teams managing multiple brand identities in a single org
- Anyone generating content that must comply with brand guidelines
applying-cms-brand FAQ
Use the search_brands tool to find available brands in your CMS. The skill will present options and wait for your confirmation before proceeding.
No. This skill only applies existing brands from Salesforce CMS. To create a new brand, use Salesforce CMS directly (Content Type: sfdc_cms__brand).
The skill will inform you and offer alternatives: create a brand in CMS first, or provide brand guidelines manually in the conversation.
No. Use the searching-media skill for image and media searches. This skill handles only brand guidelines, voice, tone, and styling rules.
You need Managed Content Authoring permission in Salesforce. Contact your admin to enable access or provide brand guidelines manually.
Full instructions (SKILL.md)
Source of truth, from forcedotcom/sf-skills.
name: applying-cms-brand description: "Extracts, retrieves, and applies CMS brand guidelines (voice, tone, style, colors, typography) to generated content. Use this skill ANY TIME a user request involves branding, brand voice, brand tone, brand guidelines, brand identity, brand styling, or applying a brand to content. Triggers for requests like "apply my brand", "use our brand voice", "match our brand guidelines", "find my brand", "search for brand", "get brand instructions", "apply brand tone". Handles the full workflow: searching for brands in Salesforce CMS, extracting brand instructions, and applying brand voice/tone/guidelines to generated content. Does not apply to media/image search (use searching-media skill), logo search, or creating new brand definitions." compatibility: "Requires get_brand_instructions and/or search_brands MCP tools" metadata: version: "1.0"
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 searching-media 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 generating or modifying 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 brand
Step 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_brands
Process:
- Determine search query — Use the user's description, company name, or a general keyword
- Build the request:
{
"inputs": [{
"searchQuery": "keyword or brand name"
}]
}
- Call
search_brandswith the query - Parse the response — Extract brand results:
managedContentId— Unique ID (use this for extraction in Step 3)managedContentKey— Content key identifiertitle— Brand display namecontentUrl— URL to the brand contenttotalResults— Number of brands found
Presenting Brand Results
If multiple brands found, use ask_followup_question to present options:
I found [N] brands in your CMS. Which one should I apply?
1. [Brand Title 1]
2. [Brand Title 2]
3. [Brand Title 3]
Which brand would you like to use?
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_brands 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
Related skills
More from forcedotcom/sf-skills and the wider catalog.

applying-slds
Apply SLDS-compliant UI using the correct blueprints, styling hooks, utility classes, and icons. Use when building any UI that needs SLDS, choosing between Lightning Base Components and SLDS Blueprints, applying styling hooks for theming, using utility classes for layout and spacing, or selecting icons. Triggers include \"build a modal\", \"create a form\", \"data table\", \"SLDS styling\", \"style with hooks\", \"add an icon\".

building-mobile-apps
Route to the right Salesforce mobile SDK (Mobile SDK or Agentforce SDK) for iOS or Android apps.

building-omnistudio-callable-apex
Build and review System.Callable Apex for Salesforce Industries OmniStudio with 120-point scoring.

building-omnistudio-datamapper
Create and validate OmniStudio Data Mappers (Extract, Transform, Load, Turbo Extract) with 100-point scoring.

building-omnistudio-flexcard
Create and validate OmniStudio FlexCards with 130-point scoring for Salesforce Industries UI components.

building-omnistudio-integration-procedure
Build server-side OmniStudio Integration Procedures with declarative multi-step orchestration and 110-point validation scoring.