用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tools-only/X-Skills --skill salesforce命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Index of Build Systems Skills
Coordination patterns for distributed dataflow systems including barriers, epochs, and distributed snapshots
Windowing, sessionization, time-series aggregation, and late data handling for streaming systems
基于 SOC 职业分类
正在显示 SKILL.md
| name | salesforce |
| description | Query and manage Salesforce orgs via the official Salesforce MCP server or SF CLI. |
Query and manage your Salesforce org with full context of your business logic.
npm install -g @salesforce/clisf org login web --alias my-prodUpdate the connection info below with your org details:
Org Alias: my-prod
Username: your-user@company.com
Org ID: 00Dxxxxxxxxx
See SALESFORCE_STRUCTURE.md for a template covering:
Tip: Fill in
SALESFORCE_STRUCTURE.mdwith your org's actual objects, fields, and business logic. The more context you provide, the better the AI can write queries and understand your data.
Update with your company's product lines:
Common record types (adjust to your org):
Document your key custom fields:
ACV__cARR__cTCV__cLOB__cmcporter call salesforce.run_soql_query \
query="SELECT Id, Name FROM Account LIMIT 10" \
usernameOrAlias="my-prod" \
directory="$HOME"
sf data query \
--query "SELECT Id, Name FROM Account LIMIT 5" \
--target-org my-prod
Open opportunities by stage:
SELECT Id, Name, StageName, Amount, CloseDate, Account.Name
FROM Opportunity
WHERE IsClosed = false
ORDER BY CloseDate
Renewals closing this quarter:
SELECT Id, Name, Amount, CloseDate, Account.Name
FROM Opportunity
WHERE RecordType.Name = 'Renewal'
AND IsClosed = false
AND CloseDate = THIS_QUARTER
ORDER BY CloseDate
New deals by product line:
SELECT LOB__c, COUNT(Id), SUM(Amount)
FROM Opportunity
WHERE RecordType.Name = 'New'
AND StageName = 'Closed Won'
AND CloseDate = THIS_YEAR
GROUP BY LOB__c
ARR by Account (Top 20):
SELECT Account.Name, SUM(ARR__c)
FROM Opportunity
WHERE StageName = 'Closed Won'
GROUP BY Account.Name
ORDER BY SUM(ARR__c) DESC
LIMIT 20
Recent closed-won deals:
SELECT Id, Name, Amount, CloseDate, Account.Name
FROM Opportunity
WHERE StageName = 'Closed Won'
AND CloseDate = LAST_N_DAYS:30
ORDER BY CloseDate DESC
Account search:
SELECT Id, Name, Industry, AnnualRevenue, Website
FROM Account
WHERE Name LIKE '%SearchTerm%'
Contact lookup:
SELECT Id, Name, Email, Title, Account.Name
FROM Contact
WHERE Email = 'user@example.com'
When using the Salesforce MCP server:
run_soql_query — Run SOQL queries against your orglist_all_orgs — List configured Salesforce orgsopen_org — Open org in browserget_username — Resolve org username/aliasAccount.Name in opportunity queries for contextTODAY, THIS_WEEK, THIS_QUARTER, THIS_YEAR, LAST_N_DAYS:30RecordType.Name to filter by record typeLIMIT your queries to avoid timeouts on large orgsCOUNT() and GROUP BY for aggregationsIsClosed = false and group by StageNameAmount or ACV__c grouped by time period or productRecordType.Name = 'Renewal' with CloseDate rangesIf your org uses multi-year deals:
Add your own reference docs alongside this SKILL.md:
SALESFORCE_STRUCTURE.md — Your org's complete object/field documentationBUSINESS_LOGIC.md — How your org uses Salesforce (deal flow, approval processes)COMMON_QUERIES.md — Frequently used queries specific to your team