agentforce-architectur…
Declared architecture snapshot for one Agentforce agent: planner, topics, actions, flows, Apex, prompt templates, and NGA…
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
Claude Code
$ npx -y skills add forcedotcom/sf-skills --skill experience-cms-brand-apply --agent claude-code
Codex
$ npx skills add forcedotcom/sf-skills --skill experience-cms-brand-apply -a codex -y
Cursor
$ npx skills add forcedotcom/sf-skills --skill experience-cms-brand-apply -a cursor -y
Gemini CLI
$ npx skills add forcedotcom/sf-skills --skill experience-cms-brand-apply -a gemini-cli -y
GitHub Copilot
$ npx skills add forcedotcom/sf-skills --skill experience-cms-brand-apply -a github-copilot -y
OpenCode
$ npx skills add forcedotcom/sf-skills --skill experience-cms-brand-apply -a opencode -y
Windsurf
$ npx skills add forcedotcom/sf-skills --skill experience-cms-brand-apply -a windsurf -y
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-search-coordinate skill), logo search, or creating new brand definitions."
metadata:
version: "1.0"
domains: ["Experience"]
relatedSkills:
- "experience-cms-brand-create"
- "experience-search-coordinate"Universal skill for searching, extracting, and applying CMS brand guidelines to generated content.
**This skill is for APPLYING existing brand guidelines from Salesforce CMS to content you generate.**
**Use this skill when the user wants to:**
**DO NOT use this skill when the user wants to:**
**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.
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
Check if the user has already specified which brand to use:
**Brand is known** (user named it, or only one brand exists):
**Brand is unknown** (user says "apply my brand" without specifying which):
**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-search-coordinate` skill's scope. Calling > `search_media_cms_channels` directly here is correct and intentional — do not > route brand search through `experience-search-coordinate`.
**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:
via the public CMS channel; authenticated-channel brand search is not supported by this tool)
3. **Call `search_media_cms_channels`** with the request 4. **Parse the response** — A brand result has an ID starting with **`9Ps`**. Extract:
`managedContentChannelDeliveryDetails[0].contentUrl`
**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.
**Tool:** `get_brand_instructions`
**Process:**
1. **Call `get_brand_instructions`** — This retrieves the branding extraction prompt template 2. **Parse the response:**
This repository provides Salesforce agent skills, plugins, and sample apps for building applications.
Declared architecture snapshot for one Agentforce agent: planner, topics, actions, flows, Apex, prompt templates, and NGA…
Use this skill to Upgrade Einstein Bots into Agentforce agents end-to-end in a single pass, orchestrating per-bot Agent Spec…
Data Cloud 360° view of a single Agentforce session. TRIGGER when user asks to trace, inspect, summarize, or describe a specific…
Build, modify, audit, repair, optimize, debug, and deploy agents with Agentforce Agent Script. TRIGGER when: user creates,…
Analyze production Agentforce agent behavior using session traces and Data Cloud, and manage Agent Health Monitoring (AHM)…
Use to design an AI agent persona — identity, voice, tone, behavioral style, guardrails — and encode it into Agent Script (.agent…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.