applying-cms-brand
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseApplying CMS Brand
应用CMS品牌
Universal skill for searching, extracting, and applying CMS brand guidelines to generated content.
一款用于搜索、提取并将CMS品牌指南应用于生成内容的通用Skill。
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
此Skill用于将Salesforce CMS中的现有品牌指南应用于您生成的内容。
当用户有以下需求时使用此Skill:
- 将品牌语气/语调应用于生成的内容
- 查找并使用存储在Salesforce CMS中的品牌指南
- 在组织中搜索现有品牌
- 获取用于内容生成的品牌说明
- 确保生成的内容符合品牌标识
- 将品牌风格、语调或语气应用于页面、组件或应用
当用户有以下需求时请勿使用此Skill:
- 搜索图片或媒体(请使用searching-media skill)
- 从零开始创建新品牌
- 在CMS中编辑品牌定义
- 生成logo或视觉品牌资产
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复制以下清单并跟踪进度:
CMS品牌化进度:
- [ ] 步骤1:确定品牌是否已明确,是否需要搜索
- [ ] 步骤2:搜索品牌(若需要)并向用户展示选项
- [ ] 步骤3:提取所选品牌的品牌说明Step 1: Determine Brand Context
步骤1:确定品牌上下文
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)
检查用户是否已指定要使用的品牌:
品牌已明确(用户已命名,或仅存在一个品牌):
- 直接跳至步骤3(提取品牌说明)
品牌未明确(用户仅说"应用我的品牌"但未指定具体品牌):
- 继续执行步骤2(搜索品牌)
Step 2: Search for Brands
步骤2:搜索品牌
Tool:
search_brandsProcess:
- Determine search query — Use the user's description, company name, or a general keyword
- Build the request:
json
{
"inputs": [{
"searchQuery": "keyword or brand name"
}]
}- Call with the query
search_brands - Parse the response — Extract brand results:
- — Unique ID (use this for extraction in Step 3)
managedContentId - — Content key identifier
managedContentKey - — Brand display name
title - — URL to the brand content
contentUrl - — Number of brands found
totalResults
工具:
search_brands流程:
- 确定搜索关键词 — 使用用户描述、公司名称或通用关键词
- 构建请求:
json
{
"inputs": [{
"searchQuery": "关键词或品牌名称"
}]
}- **调用**并传入关键词
search_brands - 解析响应 — 提取品牌结果:
- — 唯一ID(步骤3提取时使用)
managedContentId - — 内容键标识符
managedContentKey - — 品牌显示名称
title - — 品牌内容的URL
contentUrl - — 找到的品牌数量
totalResults
Presenting Brand Results
展示品牌结果
If multiple brands found, use to present options:
ask_followup_questionI 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.
若找到多个品牌,使用展示选项:
ask_followup_question我在您的CMS中找到了[N]个品牌。请问应应用哪一个?
1. [品牌名称1]
2. [品牌名称2]
3. [品牌名称3]
您想使用哪个品牌?若找到一个品牌,向用户确认:
我找到了品牌"[品牌名称]"。是否要将此品牌的指南应用于内容?若未找到品牌:
在Salesforce CMS中未找到品牌。如需使用品牌化功能:
1. 在Salesforce CMS中创建品牌(内容类型:sfdc_cms__brand)
2. 在此对话中直接提供品牌指南
请问您想不使用CMS品牌化继续操作,还是手动提供指南?**切勿未经确认自动选择品牌。**始终等待用户选择。
Step 3: Extract Brand Instructions
步骤3:提取品牌说明
Tool:
get_brand_instructionsProcess:
-
Call— This retrieves the branding extraction prompt template
get_brand_instructions -
Parse the response:
- — Contains the full brand instruction prompt with extraction and application rules
promptBody
-
Follow the instructions in— The prompt template contains specific guidance on:
promptBody- How to extract brand properties from the brand content
- Brand voice and tone rules
- Typography and color guidelines
- Content formatting rules
- Guardrails and restrictions
工具:
get_brand_instructions流程:
-
调用— 此工具会检索品牌提取提示模板
get_brand_instructions -
解析响应:
- — 包含完整的品牌说明提示,以及提取和应用规则
promptBody
-
遵循中的说明 — 提示模板包含以下具体指导:
promptBody- 如何从品牌内容中提取品牌属性
- 品牌语气和语调规则
- 排版和色彩指南
- 内容格式规则
- 约束条件和限制
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 |
|---|---|
| "Brand search is unavailable. Please provide your brand name or guidelines directly." |
| "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.
| 错误 | 响应 |
|---|---|
| "品牌搜索功能不可用。请直接提供您的品牌名称或指南。" |
| "无法检索品牌说明。请在此对话中分享您的品牌指南,我将手动应用。" |
| 组织无Vibes品牌化功能 | "此组织未启用CMS品牌化功能。请联系管理员启用Agentforce Vibes品牌化功能。" |
| 权限不足 | "您无权访问CMS品牌。请确保您拥有Managed Content Authoring权限。" |
| 品牌提取结果为空 | "该品牌存在但未配置指南。请在CMS中添加品牌属性,或在此处提供指南。" |
**切勿静默失败。**始终告知用户并提供替代方案。
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
- 品牌优先,内容其次 — 始终先提取品牌说明,再生成内容
- 切勿假设品牌指南 — 仅应用从CMS中明确检索到的内容
- 严格遵守约束条件 — 品牌内容规则是硬性限制,而非建议
- 确认品牌选择 — 未经用户确认,切勿自动选择品牌
- 公开操作过程 — 告知用户您应用了哪些指南以及如何应用
- 优雅降级 — 若工具不可用,请用户提供手动指南,而非跳过品牌化直接操作