Token导航 LogoToken导航

Agent Skill · 研究检索

implementing-ui-bundle-agentforce-conversation-client(实施 ui 包 agentforce 对话客户端)

用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化。它适合让 Agent 根据产品场景整理页面结构、生成 UI 方案、检查视觉一致性或改进组件层级。使用时需要结合现有品牌、设计系统和用户任务,不应只堆装饰元素;涉及真实页面改动时,应通过截图或浏览器预览检查文本溢出、对齐和响应式表现。

implementing-ui-bundle-agentforce-conversation-client 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为只读;许可证信息还不明确,第三方扫描有未通过项,按安装量在研究检索类的 73,675 个 Skill 里排第 15,203。

总安装 8,020周安装 341GitHub Stars 212下载 2,810核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:implementing-ui-bundle-agentforce-conversation-client(实施 ui 包 agentforce 对话客户端)
来源仓库:https://github.com/forcedotcom/afv-library
仓库路径:skills/implementing-ui-bundle-agentforce-conversation-client
安装命令:
npx skills add https://github.com/forcedotcom/afv-library --skill implementing-ui-bundle-agentforce-conversation-client
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/forcedotcom/afv-library --skill implementing-ui-bundle-agentforce-conversation-client

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

实施 ui 包 agentforce 对话客户端技能用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化。适用于 Codex、Claude、Cursor、Gemini CLI 中需要根据产品场景整理页面结构、生成 UI 方案、检查视觉一致性或改进组件层级的任务场景。

核心能力包括用户界面设计、视觉规范制定和交互体验优化,支持现代化前端开发。

安装方式:github;安装命令:npx skills add https://github.com/forcedotcom/afv-library --skill implementing-ui-bundle-agentforce-conversation-client。

使用时需要结合现有品牌、设计系统和用户任务,不应只堆装饰元素;涉及真实页面改动时,应通过截图或浏览器预览检查文本溢出、对齐和响应式表现。

来源仓库内路径:skills/implementing-ui-bundle-agentforce-conversation-client

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/forcedotcom/afv-library --skill implementing-u…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

implementing-ui-bundle-agentforce-conversation-client 怎么安装?

在终端执行 npx skills add https://github.com/forcedotcom/afv-library --skill implementing-ui-bundle-a…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

implementing-ui-bundle-agentforce-conversation-client 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

implementing-ui-bundle-agentforce-conversation-client 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

implementing-ui-bundle-agentforce-conversation-client 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

implementing-ui-bundle-agentforce-conversation-client 用的人多吗?

公开数据是累计安装 8,020 次,近一周安装 341 次,下载 2,810 次,GitHub 212 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

implementing-ui-bundle-agentforce-conversation-client 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 只想先试试效果、不希望它改动本地文件的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
implementing-ui-bundle-agentforce-conversation-client

实施 ui 包 agentforce 对话客户端 · 本页

8,020212只读未明确未通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Managing Agentforce Conversation Client

HARD CONSTRAINT: NEVER create a custom agent, chatbot, or chat widget component. ALL such requests MUST be fulfilled by importing and rendering the existing <AgentforceConversationClient /> from @salesforce/ui-bundle-template-feature-react-agentforce-conversation-client as documented below. If a requirement is unsupported by this component's props, state the limitation — do not improvise an alternative.

Prerequisites

Before the component will work, the following Salesforce settings must be configured by the user. ALWAYS call out the prequisites after successfully embedding the agent.

Cookie settings:

  • Setup → My Domain → Disable "Require first party use of Salesforce cookies"

Trusted domains (required only for local development):

  • Setup → Session Settings → Trusted Domains for Inline Frames → Add your domain

- Local development: localhost:<PORT> (e.g., localhost:3000)

Instructions

Step 1: Check if component already exists

Search for existing usage across all app files (not implementation files):

grep -r "AgentforceConversationClient" --include="*.tsx" --include="*.jsx" --exclude-dir=node_modules

Important: Look for React files that import and USE the component (for example, shared shells, route components, or feature pages). Do NOT open files named AgentforceConversationClient.tsx or AgentforceConversationClient.jsx - those are the component implementation.

If found: Read the file and check the current agentId value.

Agent ID validation rule (deterministic):

  • Valid only if it matches: ^0Xx[a-zA-Z0-9]{15}$
  • Meaning: starts with 0Xx and total length is 18 characters

Decision:

  • If agentId matches ^0Xx[a-zA-Z0-9]{15}$ and user wants to update other props → Go to Step 4 (update props)
  • If agentId is missing, empty, or does NOT match ^0Xx[a-zA-Z0-9]{15}$ → Continue to Step 2 (need real ID)
  • If not found → Continue to Step 2 (add new)

Step 2: Get agent ID

If component doesn't exist or has an invalid placeholder value, ask user for their Salesforce agent ID.

Treat these as placeholder/invalid values:

  • "0Xx..."
  • "Placeholder"
  • "YOUR_AGENT_ID"
  • "<USER_AGENT_ID_18_CHAR_0Xx...>"
  • Any value that does not match ^0Xx[a-zA-Z0-9]{15}$

Skip this step if:

  • Component exists with a real agent ID
  • User only wants to update styling or dimensions

Step 3: Canonical import strategy

Use this import path by default in app code:

import { AgentforceConversationClient } from "@salesforce/ui-bundle-template-feature-react-agentforce-conversation-client";

If the package is not installed, install it:

npm install @salesforce/ui-bundle-template-feature-react-agentforce-conversation-client

Only use a local relative import (for example, ./components/AgentforceConversationClient) when the user explicitly asks to use a patched/local component in that app.

Do not infer import path from file discovery alone. Prefer one consistent package import across the codebase.

Step 4: Add or update component

Determine which sub-step applies:

  • Component NOT found in Step 1 → go to 4a (New installation)
  • Component found in Step 1 → go to 4b (Update existing)
4a — New installation
  1. If the user already specified a target file, use that file. Otherwise, ask the user: *"Which file should I add the AgentforceConversationClient to?"* Do NOT proceed until a target file is confirmed.
  2. Read the target file to understand its existing imports and TSX structure.
  3. Add the import at the top of the file, alongside existing imports. Use the canonical package import from Step 3:
import { AgentforceConversationClient } from "@salesforce/ui-bundle-template-feature-react-agentforce-conversation-client";
  1. Insert the <AgentforceConversationClient /> TSX into the component's return block. Place it as a sibling of existing content — do NOT wrap or restructure existing TSX. Use the real agentId obtained in Step 2: Example:
<AgentforceConversationClient agentId="0Xx8X00000001AbCDE" />
  1. Do NOT add any other code (wrappers, layout components, new functions) unless the user explicitly requests it.
4b — Update existing
  1. Read the file identified in Step 1.
  2. Locate the existing <AgentforceConversationClient... /> TSX element.
  3. Apply only the changes the user requested. Rules:

- Add new props that the user asked for. - Change prop values the user asked to update. - Preserve every prop and value the user did NOT mention — do not remove, reorder, or reformat them. - Never delete the component and recreate it.

  1. If the current agentId is a placeholder (failed validation in Step 1) and a real agent ID was obtained in Step 2, replace the placeholder value:
// Before
<AgentforceConversationClient agentId="Placeholder" />

// After
<AgentforceConversationClient agentId="0Xx8X00000001AbCDE" />
  1. If the current agentId is already valid and the user did not ask to change it, leave it as-is.

Step 5: Configure props

Available props (use directly on component):

  • agentId (string, required) - Salesforce agent ID
  • inline (boolean) - true for inline mode, omit for floating
  • width (number | string) - e.g., 420 or "100%"
  • height (number | string) - e.g., 600 or "80vh"
  • headerEnabled (boolean) - Show/hide header
  • styleTokens (object) - For all styling (colors, fonts, spacing)
  • salesforceOrigin (string) - Auto-resolved
  • frontdoorUrl (string) - Auto-resolved
  • agentLabel (string) - header title for agent

Examples:

Floating mode (default):

<AgentforceConversationClient agentId="0Xx..." />

Inline mode with dimensions:

<AgentforceConversationClient agentId="0Xx..." inline width="420px" height="600px" />

Adding or updating agent label:

<AgentforceConversationClient agentId="0Xx..." agentLabel="<dummy-agent-label>" />

Styling rules (mandatory):

  • ALL visual customization (colors, fonts, spacing, borders, radii, shadows) MUST go through the styleTokens prop. There are no exceptions.
  • ONLY use token names listed in the tables below. Do NOT invent custom token names.
  • NEVER apply styling via CSS files, style attributes, className, or wrapper elements. These approaches will not work and will be ignored by the component.
  • If the user requests a visual change that does not map to a token below, inform them that the change is not supported by the current token set.

Container

Token nameUI area themed
fabBackgroundFAB button background color
containerBackgroundChat container background
headerBackgroundHeader background
containerWidthChat container width
chatBorderRadiusChat border radius
layoutMaxWidthLayout max width

Agentforce Header

Token nameUI area themed
headerBlockBackgroundHeader block background
headerBlockBorderBottomWidthHeader border bottom width
headerBlockBorderBottomStyleHeader border bottom style
headerBlockBorderBottomColorHeader border bottom color
headerBlockBorderRadiusHeader corner radius
headerBlockPaddingBlockHeader block padding (vertical)
headerBlockPaddingInlineHeader inline padding (horizontal)
headerBlockMinHeightHeader minimum height
headerBlockBrandingGapHeader branding area gap
headerBlockFontFamilyHeader font family
headerBlockFontWeightHeader title font weight
headerBlockFontSizeHeader title font size
headerBlockLineHeightHeader title line height
headerBlockTextColorHeader text color
headerBlockIconDisplayHeader icon display
headerBlockIconMarginHeader icon margin
headerBlockIconColorHeader icon color
headerBlockIconWidthHeader icon width
headerBlockIconHeightHeader icon height
headerBlockLogoMaxHeightHeader logo max height
headerBlockLogoMaxWidthHeader logo max width
headerBlockLogoMinWidthHeader logo min width
headerBlockButtonHeightHeader action button height
headerBlockButtonWidthHeader action button width
headerBlockButtonPaddingHeader action button padding
headerBlockButtonBorderRadiusHeader action button border radius
headerBlockHoverBackgroundHeader hover background
headerBlockActiveBackgroundHeader active background
headerBlockFocusBorderHeader focus border

Agentforce Welcome Block

Token nameUI area themed
welcomeBlockTextContainerWidthWelcome text container width
welcomeBlockFontFamilyWelcome block font family
welcomeBlockFontSizeWelcome block font size
welcomeBlockFontWeightWelcome block font weight
welcomeBlockLineHeightWelcome block line height
welcomeBlockLetterSpacingWelcome block letter spacing
welcomeBlockTextColorWelcome block text color
welcomeBlockPaddingVerticalWelcome block vertical padding
welcomeBlockPaddingHorizontalWelcome block horizontal padding
welcomeBlockTextAnimationDurationWelcome text animation duration

Agentforce Messages

Token nameUI area themed
messageBlockBorderRadiusMessage block border radius
avatarDisplayAvatar display property (e.g. block, none)
hideMessageActionsMessage actions display (e.g. block, none to hide)
hideCopyActionCopy action button display (e.g. inline-flex, none)
messageBlockPaddingContainerMessage block container padding
messageBlockFontSizeMessage block font size
messageBlockBackgroundColorMessage block background (base)
messageBlockInboundBorderInbound message border
messageBlockOutboundBorderOutbound message border
messageBlockBodyWidthMessage block body width
messageBlockPaddingMessage block padding
messageBlockContainerMarginTopMessage block container top margin
messageBlockLineHeightMessage block line height

Avatar visibility (behavioral config)

Use renderingConfig.showAvatar to control whether avatars are rendered in message rows.

  • showAvatar: true (default) renders avatars.
  • showAvatar: false hides avatars by removing them from the DOM.

Inbound message (agent → customer)

Token nameUI area themed
inboundMessgeTextColorInbound message text color (base)
messageBlockInboundBorderRadiusInbound message border radius
messageBlockInboundBackgroundColorInbound message background
messageBlockInboundTextColorInbound message text color
messageBlockInboundWidthInbound message width
messageBlockInboundTextAlignInbound message text alignment
messageBlockInboundHoverBackgroundColorInbound message hover background

Outbound message (customer → agent)

Token nameUI area themed
messageBlockOutboundBorderRadiusOutbound message border radius
messageBlockOutboundBackgroundColorOutbound message background
messageBlockOutboundTextColorOutbound message text color
messageBlockOutboundWidthOutbound message width
messageBlockOutboundMarginLeftOutbound message left margin
messageBlockOutboundTextAlignOutbound message text alignment

Agentforce Input

Token nameUI area themed
messageInputPaddingMessage input container padding
messageInputFooterBorderColorMessage input footer border color
messageInputBorderRadiusMessage input border radius
messageInputBorderTransitionDurationMessage input border transition duration
messageInputBorderTransitionEasingMessage input border transition easing
messageInputTextColorMessage input text color
messageInputTextBackgroundColorMessage input text background color
messageInputFooterBorderFocusColorMessage input footer focus border color
messageInputFocusShadowMessage input focus shadow
messageInputMaxHeightMessage input max height
messageInputLineHeightMessage input line height
messageInputTextPaddingMessage input text padding
messageInputFontWeightMessage input font weight
messageInputFontSizeMessage input font size
messageInputOverflowYMessage input overflow Y
messageInputScrollbarWidthMessage input scrollbar width
messageInputScrollbarColorMessage input scrollbar color
messageInputActionsWidthMessage input actions width
messageInputActionsPaddingRightMessage input actions right padding
messageInputFooterPlaceholderTextMessage input placeholder text color
messageInputPlaceholderFontWeightPlaceholder font weight
messageInputErrorTextColorMessage input error text color
messageInputActionsGapMessage input actions gap
messageInputActionsPaddingMessage input actions padding
messageInputActionButtonSizeMessage input action button size
messageInputActionButtonRadiusMessage input action button radius
messageInputFooterSendButtonMessage input send button color
messageInputSendButtonDisabledColorMessage input send button disabled color
messageInputActionButtonFocusBorderMessage input action button focus border
messageInputActionButtonActiveIconColorMessage input action button active icon color
messageInputActionButtonActiveBackgroundMessage input action button active background
messageInputSendButtonIconColorMessage input send button icon color
messageInputFooterSendButtonHoverColorMessage input send button hover color
messageInputActionButtonHoverShadowMessage input action button hover shadow
messageInputFilePreviewPaddingMessage input file preview padding
messageInputTextareaMaxHeightMessage input textarea max height
messageInputTextareaWithImageMaxHeightMessage input textarea max height (with image)

Agentforce Error Block

Token nameUI area themed
errorBlockBackgroundError block background color

Styling with styleTokens:

<AgentforceConversationClient
  agentId="0Xx..."
  styleTokens={{
    headerBlockBackground: "#0176d3",
    headerBlockTextColor: "#ffffff",
    messageBlockInboundBackgroundColor: "#4CAF50",
  }}
/>

For complex patterns, consult references/examples.md for:

  • Sidebar containers and responsive sizing
  • Dark theme and advanced theming combinations
  • Inline without header, calculated dimensions
  • Complete host component examples

Common mistakes to avoid: Consult references/constraints.md for:

  • Invalid props (containerStyle, style, className)
  • Invalid styling approaches (CSS files, style tags)
  • What files NOT to edit (implementation files)

Common Issues

If component doesn't appear or authentication fails, see references/troubleshooting.md for:

  • Agent activation and deployment
  • Localhost trusted domains
  • Cookie restriction settings

平台分布

Codex

35.95%
按下载量换算1,010

Claude

28.8%
按下载量换算809

Cursor

18.88%
按下载量换算531

Gemini CLI

9.63%
按下载量换算271

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills