Agent Skillsforcedotcom/sf-skills › experience-cms-brand-apply

experience-cms-brand-apply

GitHub

用于在Salesforce CMS中搜索、提取并应用现有品牌指南(如语气、风格、颜色)到生成内容。适用于用户明确要求应用品牌标识或语境的场景,确保内容符合既定品牌规范。

skills/experience-cms-brand-apply/SKILL.md forcedotcom/sf-skills

Trigger Scenarios

apply my brand use our brand voice match our brand guidelines find my brand search for brand get brand instructions apply brand tone

Install

npx skills add forcedotcom/sf-skills --skill experience-cms-brand-apply -g -y
More Options

Use without installing

npx skills use forcedotcom/sf-skills@experience-cms-brand-apply

指定 Agent (Claude Code)

npx skills add forcedotcom/sf-skills --skill experience-cms-brand-apply -a claude-code -g -y

安装 repo 全部 skill

npx skills add forcedotcom/sf-skills --all -g -y

预览 repo 内 skill

npx skills add forcedotcom/sf-skills --list

SKILL.md

Frontmatter
{
    "name": "experience-cms-brand-apply",
    "metadata": {
        "version": "1.0"
    },
    "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_brands MCP tools"
}

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_brands

Process:

  1. Determine search query — Use the user's description, company name, or a general keyword
  2. Build the request:
{
  "inputs": [{
    "searchQuery": "keyword or brand name"
  }]
}
  1. Call search_brands with the query
  2. Parse the response — Extract brand results:
    • managedContentId — Unique ID (use this for extraction in Step 3)
    • managedContentKey — Content key identifier
    • title — Brand display name
    • contentUrl — URL to the brand content
    • totalResults — 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:

  1. Call get_brand_instructions — This retrieves the branding extraction prompt template

  2. Parse the response:

    • promptBody — Contains the full brand instruction prompt with extraction and application rules
  3. 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

  1. Brand first, content second — Always extract brand instructions before generating content
  2. Never assume brand guidelines — Only apply what was explicitly retrieved from CMS
  3. Respect guardrails absolutely — Brand content rules are hard constraints, not suggestions
  4. Confirm brand selection — Never auto-select a brand without user confirmation
  5. Show your work — Tell the user which guidelines you applied and how
  6. Graceful degradation — If tools are unavailable, ask for manual guidelines rather than proceeding without branding

Version History

  • 1.29.0 Current 2026-07-05 18:49

Same Skill Collection

skills/automation-flow-generate/SKILL.md
skills/commerce-b2b-open-code-components-integrate/SKILL.md
skills/commerce-b2b-store-create/SKILL.md
skills/data360-activate/SKILL.md
skills/data360-code-extension-generate/SKILL.md
skills/data360-prepare/SKILL.md
skills/data360-schema-get/SKILL.md
skills/design-systems-slds-apply/SKILL.md
skills/dx-org-permission-set-assign/SKILL.md
skills/dx-org-switch/SKILL.md
skills/experience-lwc-generate/SKILL.md
skills/experience-ui-bundle-features-generate/SKILL.md
skills/experience-ui-bundle-file-upload-generate/SKILL.md
skills/experience-ui-bundle-metadata-generate/SKILL.md
skills/experience-ui-bundle-site-generate/SKILL.md
skills/external-diagram-visual-generate/SKILL.md
skills/platform-apex-logs-debug/SKILL.md
skills/platform-custom-application-generate/SKILL.md
skills/platform-custom-tab-generate/SKILL.md
skills/platform-lightning-app-coordinate/SKILL.md
skills/platform-list-view-generate/SKILL.md
skills/platform-metadata-deploy/SKILL.md
skills/platform-permission-set-generate/SKILL.md
skills/platform-validation-rule-generate/SKILL.md
skills/agentforce-architecture-analyze/SKILL.md
skills/agentforce-d360-analyze/SKILL.md
skills/agentforce-generate/SKILL.md
skills/agentforce-observe/SKILL.md
skills/agentforce-test/SKILL.md
skills/commerce-b2b-open-code-components-replace/SKILL.md
skills/data360-connect/SKILL.md
skills/data360-harmonize/SKILL.md
skills/data360-orchestrate/SKILL.md
skills/data360-query/SKILL.md
skills/data360-segment/SKILL.md
skills/design-systems-slds-validate/SKILL.md
skills/design-systems-slds2-migrate/SKILL.md
skills/dx-app-analytics-query/SKILL.md
skills/dx-code-analyzer-configure/SKILL.md
skills/dx-code-analyzer-custom-rule-create/SKILL.md
skills/dx-code-analyzer-run/SKILL.md
skills/dx-devops-test-failures-analyze/SKILL.md
skills/dx-devops-test-pipeline-configure/SKILL.md
skills/dx-devops-test-suite-assignments-configure/SKILL.md
skills/dx-devops-test-suite-run/SKILL.md
skills/dx-org-manage/SKILL.md
skills/experience-content-media-search/SKILL.md
skills/experience-ui-bundle-agentforce-client-generate/SKILL.md
skills/experience-ui-bundle-app-coordinate/SKILL.md
skills/experience-ui-bundle-custom-app-generate/SKILL.md
skills/experience-ui-bundle-deploy/SKILL.md
skills/experience-ui-bundle-frontend-generate/SKILL.md
skills/experience-ui-bundle-salesforce-data-access/SKILL.md
skills/external-diagram-mermaid-generate/SKILL.md
skills/integration-connectivity-connected-app-configure/SKILL.md
skills/integration-connectivity-generate/SKILL.md
skills/integration-eventing-cdc-configure/SKILL.md
skills/integration-eventing-subscription-configure/SKILL.md
skills/mobile-apps-create/SKILL.md
skills/mobile-platform-native-capabilities-integrate/SKILL.md
skills/mobile-platform-offline-validate/SKILL.md
skills/omnistudio-callable-apex-generate/SKILL.md
skills/omnistudio-datamapper-generate/SKILL.md
skills/omnistudio-datapacks-deploy/SKILL.md
skills/omnistudio-dependencies-analyze/SKILL.md
skills/omnistudio-epc-catalog-generate/SKILL.md
skills/omnistudio-flexcard-generate/SKILL.md
skills/omnistudio-integration-procedure-generate/SKILL.md
skills/omnistudio-omniscript-generate/SKILL.md
skills/platform-agentexchange-partner-offers-configure/SKILL.md
skills/platform-agentsetup-categories-fetch/SKILL.md
skills/platform-apex-generate/SKILL.md
skills/platform-apex-test-generate/SKILL.md
skills/platform-apex-test-run/SKILL.md
skills/platform-custom-field-generate/SKILL.md
skills/platform-custom-lightning-type-generate/SKILL.md
skills/platform-custom-object-generate/SKILL.md
skills/platform-data-manage/SKILL.md
skills/platform-docs-get/SKILL.md
skills/platform-flexipage-generate/SKILL.md
skills/platform-metadata-api-context-get/SKILL.md
skills/platform-metadata-retrieve/SKILL.md
skills/platform-sharing-rules-generate/SKILL.md
skills/platform-soql-query/SKILL.md
skills/platform-tracing-agentforce-configure/SKILL.md
skills/platform-tracing-configure/SKILL.md
skills/platform-trust-archive-manage/SKILL.md
skills/platform-value-set-generate/SKILL.md

Metadata

Files
0
Version
1.29.0
Hash
81352b96
Indexed
2026-07-05 18:49

trang chủ - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-08 23:37
浙ICP备14020137号-1 $bản đồ khách truy cập$