/experience-cms-brand-apply
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
$ npx -y skills add forcedotcom/sf-skills --skill experience-cms-brand-apply --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/experience-cms-brand-apply
Context preview
The summary Claude sees to decide when to auto-load this skill.
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
SKILL.md
experience-cms-brand-apply.SKILL.mdname: experience-cms-brand-apply
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 experience-content-media-search skill), logo search, or creating new brand definitions."
compatibility: "Requires get_brand_instructions and/or search_media_cms_channels 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 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:
1. **Search for available brands** (if brand is not already identified) 2. **Extract brand instructions** for the selected brand 3. **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_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 the `experience-content-media-search` skill's scope. Calling > `search_media_cms_channels` directly here is correct and intentional — do not > route brand search through `experience-content-media-search`.
**Process:**
1. **Determine search query** — Use the user's keyword. Brand search matches on brand title and description. 2. **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 input
- `searchLanguage` — auto-detect from the user's input; if unsure, use `en_US`
- `channelType` — always `PublicUnauthenticated` (brand content is delivered
via the public CMS channel; authenticated-channel brand search is not supported by this tool)
- `contentTypeFqn` — always `sfdc_cms__brand`
- `pageOffset` — `0`
- `searchLimit` — `25`
3. **Call `search_media_cms_channels`** with the request 4. **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 identifier
- `title` — Brand display name
- `contentUrl` — URL to the brand content, found under
`managedContentChannelDeliveryDetails[0].contentUrl`
- `pageNumber`, `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:**
1. **Call `get_brand_instructions`** — This retrieves the branding extraction prompt template 2. **Parse the response:**
- `promptBody` — Contains the full brand instruction prompt with ext
Read more
name: experience-cms-brand-apply 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 experience-content-media-search skill), logo search, or creating new brand definitions." compatibility: "Requires get_brand_instructions and/or search_media_cms_channels 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 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:
1. **Search for available brands** (if brand is not already identified) 2. **Extract brand instructions** for the selected brand 3. **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_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 the `experience-content-media-search` skill's scope. Calling > `search_media_cms_channels` directly here is correct and intentional — do not > route brand search through `experience-content-media-search`.
**Process:**
1. **Determine search query** — Use the user's keyword. Brand search matches on brand title and description. 2. **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 input
- `searchLanguage` — auto-detect from the user's input; if unsure, use `en_US`
- `channelType` — always `PublicUnauthenticated` (brand content is delivered
via the public CMS channel; authenticated-channel brand search is not supported by this tool)
- `contentTypeFqn` — always `sfdc_cms__brand`
- `pageOffset` — `0`
- `searchLimit` — `25`
3. **Call `search_media_cms_channels`** with the request 4. **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 identifier
- `title` — Brand display name
- `contentUrl` — URL to the brand content, found under
`managedContentChannelDeliveryDetails[0].contentUrl`
- `pageNumber`, `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:**
1. **Call `get_brand_instructions`** — This retrieves the branding extraction prompt template 2. **Parse the response:**
- `promptBody` — Contains the full brand instruction prompt with ext
This repository provides a curated collection of Salesforce agent skills for building applications.
Repo: forcedotcom/sf-skills
Other skills on sf-skills.
- /agentforce-generate
Build, modify, optimize, debug, and deploy agents with Agentforce Agent Script. TRIGGER when: user creates, modifies, optimizes, or asks about .agent files or aiAuthoringBundle metadata; changes agent behavior, responses, or conversation logic; designs agent actions, tools,
Open skill - /agentforce-observe
Analyze production Agentforce agent behavior using session traces and Data Cloud. TRIGGER when: user queries STDM session data or Data Cloud trace records; investigates production agent failures, regressions, or performance issues; asks about session traces, conversation logs,
Open skill - /agentforce-test
Write, run, and analyze structured test suites for Agentforce agents — functional AND security. TRIGGER when: user writes or modifies test spec YAML (AiEvaluationDefinition); runs sf agent test create, run, run-eval, or results commands; asks about test coverage strategy, metric
Open skill - /automation-flow-generate
Generate Salesforce Flows using the MCP tool execute_metadata_action. Use when the user asks to create, build, or generate a flow — including Screen, Autolaunched, Record-Triggered (before/after-save), Scheduled. Also trigger for flow-like requests such as \"when a record is
Open skill - /dx-code-analyzer-configure
Set up, configure, and troubleshoot Salesforce Code Analyzer for any project. Handles installation, prerequisite checks, diagnosing broken setups, creating and editing code-analyzer.yml overrides, engine-specific settings, ignore patterns, severity overrides, and CI/CD pipeline
Open skill - /dx-code-analyzer-custom-rule-create
Create custom Code Analyzer rules for Regex (pattern matching), PMD (XPath/AST for Apex and metadata XML), and ESLint (LWC/JavaScript/TypeScript). Use when users want to enforce coding standards, ban patterns, detect hardcoded values, govern metadata, or add rules not in the
Open skill

