做什么
官方销售力量文件检索技能
技能库 智客分类:文档办公 platform-docs-get
官方销售力量文件检索技能。 当您需要来自开发商.salesforce.com, help.salesforce.com, 架构师.salesforce.com, admin.salesforce.com, 或闪电设计系统.com的权威性的销售力量文件时使用, 特别是当页面是JS重, 外壳重, 或难以用天真取取来时使用. 使用官方 Salesforce 源码而不是第三方博客或摘要来解答。 TRIGGER:用户要求官方的销售力量文件、Apex或API参考、LWC文件、Agentforce文件、设置或帮助文章或来自销售力量拥有域的任何文件。 当用户要求更改代码、部署任务或不需要检索文件时,不要使用TRIGGER,而是使用适当的sf-*技能.
官方网址:skills.sh
先看中文介绍;官方 description 原文单独保留,不改写 SKILL.md。
官方销售力量文件检索技能
包装不合适 qq
按 Agent Skills 渐进披露:启动时只加载 name 与 description(约 100 token);任务匹配后才读入整份 SKILL.md 正文;scripts/、references/、assets/ 仅在需要时再读。 本文件正文结构:platform-docs-get、Scope、Required Inputs、Official Sources Only、Retrieval Workflow、1. Classify the request first。 其中含规范建议的小节:分步指令。
文件分析:除 SKILL.md 外,正文引用了 scripts/requirements.txt、scripts/extract_salesforce_doc.py、scripts/extract_help_salesforce.py、scripts/runtime_bootstrap.py,属于带资源的技能包,这些文件按需再读。
Official Salesforce documentation retrieval skill. Use when you need authoritative Salesforce docs from developer.salesforce.com, help.salesforce.com, architect.salesforce.com, admin.salesforce.com, or lightningdesignsystem.com, especially when pages are JS-heavy, shell-rendered, or hard to extract with naive fetching. Use to ground answers in official Salesforce sources instead of third-party blogs or summaries. TRIGGER when: user asks for official Salesforce documentation, Apex or API reference, LWC docs, Agentforce docs, setup or help articles, or any doc from a Salesforce-owned domain. DO NOT TRIGGER when: user is asking for a code change, deployment task, or anything not requiring documentation retrieval — use the appropriate sf-* skill instead.
platform-docs-getScopeRequired InputsOfficial Sources OnlyRetrieval Workflow1. Classify the request first2. Identify the exact concept3. Prefer targeted official retrieval4. Do not stop at broad landing pages5. For `developer.salesforce.com`6. For `help.salesforce.com`Acceptance Rules
来源分类:skills.sh agent-skill
nameplatform-docs-getdescriptionscripts/requirements.txtscripts/extract_salesforce_doc.pyscripts/extract_help_salesforce.pyscripts/runtime_bootstrap.py以下路径提取自原文;文件是否齐全请以来源仓库中的完整目录为准。
具体调用语法与可用工具以目标 Agent 客户端为准。 查看调用机制说明 ↗
先选择目标 Agent 和安装范围,保留技能包的附属文件,安装后检查客户端能否发现该技能。
该技能引用了附属文件,请从来源获取完整目录;仅复制 SKILL.md 可能缺少依赖。
复制安装指令给支持 Agent Skills 的代理,确认其中的目标目录与客户端匹配。
把 Agent Skill「platform-docs-get」安装到我的项目:SKILL.md 原文与官方 description 见 https://zicq.com/zh/skills/skl-db231cb63f5b31d3-%E5%B9%B3%E5%8F%B0-Docs-%E8%8E%B7%E5%8F%96.html 请存为 .cursor/skills/platform-docs-get/SKILL.md 或 .claude/skills/platform-docs-get/SKILL.md,frontmatter 的 name 与 description 保持原样,不要改写。 该技能还带 scripts/、references/、assets/ 等文件,请从 https://github.com/forcedotcom/sf-skills 取完整目录,不要只建一个 SKILL.md。
需要 Node.js 与 npx。先查看仓库技能列表,确认实际名称。
npx skills add 'https://github.com/forcedotcom/sf-skills' --list
npx skills add 'https://github.com/forcedotcom/sf-skills' --skill 'platform-docs-get'
CLI 会交互选择目标 Agent,默认安装到项目;用户级安装使用 -g。先通过查看命令核对仓库内容,再用 npx skills list 检查已安装技能。
Use this skill to retrieve and ground answers in official Salesforce documentation on the public web.
This skill provides a reliable online retrieval playbook for Salesforce docs that are hard to fetch, especially help.salesforce.com, JS-heavy developer.salesforce.com, Lightning Design System docs on lightningdesignsystem.com, and other official Salesforce-owned doc pages such as architect.salesforce.com and admin.salesforce.com.
Optional extraction scripts are available in scripts/ — see the Reference File Index below.
| | | |---|---| | In scope | Official Salesforce doc retrieval: Apex, API, LWC, metadata, Agentforce, setup articles, SLDS, architect/admin guidance | | Out of scope | Third-party blogs, PDF fallback, local corpus indexing, benchmark workflows, generating code or metadata |
Before fetching, identify:
No additional setup is required to use the retrieval playbook in this skill. The optional extraction scripts require playwright — see scripts/requirements.txt.
Prefer Salesforce-owned documentation sources:
developer.salesforce.comhelp.salesforce.comarchitect.salesforce.comadmin.salesforce.comlightningdesignsystem.comAvoid third-party blogs, videos, or summary articles unless the user explicitly asks for them.
Do not fall back to PDFs.
Before fetching anything, identify the likely doc family.
| Family | Typical Source | Use For |
|---|---|---|
| Developer docs | developer.salesforce.com/docs/... | Apex, APIs, LWC, metadata, Agentforce developer docs |
| Help docs | help.salesforce.com/... | setup, admin, product configuration |
| Architect/Admin docs | architect.salesforce.com/..., admin.salesforce.com/... | best practices, patterns, well-architected guidance, admin enablement |
| Design system docs | lightningdesignsystem.com/... | SLDS, Cosmos, design tokens, component and styling guidance |
| Legacy atlas docs | developer.salesforce.com/docs/atlas.en-us.* | older official guide and reference docs |
Extract the real target before you search:
Examples:
Lightning Message ServiceWire ServiceSystem.StubProviderAgentforce ActionsMessaging for In-App and Web allowed domainsDo not broad-crawl Salesforce docs.
Instead:
A guide landing page is not enough unless it clearly contains the exact requested concept.
This is especially important for:
developer.salesforce.comUse this playbook:
help.salesforce.comHelp pages often fail with naive fetching.
Use this playbook:
articleView?id=... URLs when availableLoading, Sorry to interrupt, CSS Error, or mostly chrome/navigation text as failed extraction, not evidenceA page is good enough to answer from only when at least one of these is true:
A page is not good enough when:
Reject these as final evidence:
When answering, include:
If evidence is weak, say so plainly.
Do not stop at the general LWC guide root. Find the exact LWC page for Lightning Message Service or follow the most relevant child links from the LWC docs until the exact concept appears.
Do not answer from the LWC homepage unless Wire Service is actually present there.
Follow the relevant child doc page for wire service or wire adapters.
Do not answer from a broad Agentforce landing page or a blog post. Find the official Agentforce developer page for actions, or follow the best matching child pages from the official Agentforce docs.
Prefer official Help articles and browser-rendered extraction. Reject generic help shells. Follow linked Help articles from nearby official messaging docs if needed.
Prefer the official Salesforce reference/developer page where the exact identifier appears. Do not substitute a broader Apex landing page if the identifier is absent.
This skill should not:
For each retrieval, include:
If evidence is weak, say so plainly rather than forcing an answer.
| File | When to read |
|------|-------------|
| scripts/extract_salesforce_doc.py | Use to fetch any official Salesforce doc URL; automatically routes help.salesforce.com into the dedicated Help extractor and supports browser-rendered extraction for all Salesforce-owned doc hosts |
| scripts/extract_help_salesforce.py | Use directly when targeting help.salesforce.com articleView URLs; use when the wrapper is not appropriate |
| scripts/runtime_bootstrap.py | Imported by the extraction scripts to resolve the isolated platform-docs-get Python runtime and Playwright browser path; not called directly |
| scripts/requirements.txt | Lists Python dependencies (playwright, playwright-stealth) needed to run the extraction scripts |
文档办公
为结构化的代理内存和可堆肥技能所打入的知识图. 在创建/征服实体(Person, project, Task, Evention, Document)时使用,链接相关对象,强制约束,规划多步动作作为图变,或技能需要共享状态时使用. 触发到"记住","我知道什么","链接X到Y",…
文档办公
使用纳米-pdf CLI编辑带有自然语言指令的PDF.
文档办公
创建,检查,并编辑有可靠样式的Microsoft Word文档和DOCX文件,编号,跟踪更改,表格,章节,并进行相容性检查. 当 (1) 任务涉及 Word 或 ".docx " 时使用; (2) 文件包括跟踪的更改,评论,字段,表格,模板,或页面布局限制; (3) 文档必须在不…
文档办公
通过 Maton 网关调用第三方 API, 它为用户已经连接的应用程序注入证书 。 当用户命名一个连接的应用程序和其中的具体行动时使用此技能——读取一个邮箱,查询一个CMM,归档一个问题,更新一个电子表格,通过一个连接的搜索或刮取提供者运行一个查询. 每一次通话都到用户连接的应用…