commerce-b2b-open-code…
Integrate Salesforce B2B Commerce open source components from GitHub into B2B Commerce stores. Use when users mention \"integrate open code components\",…
Configure, set up, or repair AI Call Scoring (a.k.a. Call Coaching / Coaching Competencies) on an ECI-enabled Salesforce org. Flips ECICallScoringEnabled via SOAP Metadata API, enables Einstein Generative AI Platform if off, and manages Coaching Competency records
$ npx -y skills add forcedotcom/sf-skills --skill sales-call-scoring-configure --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/sales-call-scoring-configureContext preview
The summary Claude sees to decide when to auto-load this skill.
Configure, set up, or repair AI Call Scoring (a.k.a. Call Coaching / Coaching Competencies) on an ECI-enabled Salesforce org. Flips ECICallScoringEnabled via SOAP Metadata API, enables Einstein Generative AI Platform if off, and manages Coaching Competency records
name: sales-call-scoring-configure
description: "Configure, set up, or repair AI Call Scoring (a.k.a. Call Coaching / Coaching Competencies) on an ECI-enabled Salesforce org. Flips ECICallScoringEnabled via SOAP Metadata API, enables Einstein Generative AI Platform if off, and manages Coaching Competency records (EnablementCompetencyDef Tooling API): install the 6 OOTB set, the 7 Momentum best-practice prompts, or conversationally author/edit/activate/deactivate custom competencies (8-active + 16000/255-char caps). TRIGGER when: user wants to turn on AI Call Scoring or Call Coaching, install OOTB or best-practice competencies, create/edit custom competencies, re-enable after sandbox refresh, or verify/repair partial Call Coaching setup on a 68+ ECI org. DO NOT TRIGGER when: no ECI license (direct to Agentforce for Sales), user wants to enable ECI/Momentum themselves (out of scope — Setup), Pipeline Management (use sales-agentforce-pipeline-management-configure), or custom agent (use agentforce-generate)."
metadata:
version: "1.0"
domains: ["Sales"]
minApiVersion: "68.0"
relatedSkills:
- "sales-agentforce-pipeline-management-configure"
- "agentforce-generate"
cliTools:
- tool: ["sf"]
semver: ">=2.0.0"
- tool: ["jq"]
semver: ">=1.6.0"
- tool: ["curl"]
semver: ">=7.0.0"
accessCheck:
- type: "orgPref"
value: "ConversationPilotPref"
- type: "userPerm"
value: "ModifyAllData"Configure **Call Coaching** (a.k.a. AI Call Scoring / Coaching Competencies) on a Salesforce org. Detects the org's current state, enables dependent features it is authorized to enable, and flips the `ECICallScoringEnabled` org preference via the SOAP Metadata API.
**In scope**
Conversation Insights) arm (spike scope: ECI-only for MVP).
**Out of scope**
see Key Considerations. A Momentum-only org today is not distinguished from any other ECI-off org; it gets the generic "ECI is not enabled" message from Phase 3, not a Momentum-specific one.
detects and messages the admin to enable ECI via Setup.
license) require an account-team ticket.
1. **`sf` CLI authenticated** — `sf org login web --alias <org-alias>`. 2. ECI arm licensed and enabled: `ConversationPilot` org permission (Phase 0 purchase gate) and `enableCallCoaching` pref (Phase 1, the `ConversationPilotPref` preference). (River Rush/Momentum is a separate arm covered by the same server-side gate but not checked by this skill yet — see Key Considerations.) 3. Site gate `com.salesforce.eci.callScoringEnabled` open on the org's pod (RelEng-controlled; not admin-toggleable).
Einstein GenAI Platform is a soft prerequisite — the skill enables it automatically when off.
Ask the admin: target org alias? Sandbox refresh scenario? (The pref has `disableOnSandboxCopy=true`, so it must be re-flipped after every refresh — that's normal, not a failure.)
**CRITICAL**: This skill serves admin users, not developers. The full 13-rule spec with rationale for each rule lives in [`references/admin-communication.md`](references/admin-communication.md) — consult it before your first response in this skill. Summary of the load-bearing rules:
1. **Run all bash commands in background** (`run_in_background: true`). 2. **Speak admin language, not entity language** — "Call Coaching", "Coaching Competency", "active/inactive". Never `EnablementCompetencyDef`, `enableECICallScoring`, `EvaluationInstructions`, `SourceCompetencyTemplate` in primary chat text. 3. **Hide technical details** — no record Ids, DeveloperNames, Template enum keys, HTTP codes, SOAP responses, curl/jq internals, script paths, or phase numbers. Exception: the S9 verify markdown table (see [`references/competency-crud.md`](references/competency-crud.md) §S9). 4. **Chain automatically** — when a script prints `Next: <script>`, run it in the same turn without asking. **Exception**: State 3 → rule #13. 5. **Ask OOTB-vs-custom once** — on first-time competency setup (State 3, unqualified intent), render `install-ootb-competencies.sh --list` and let the admin choose. Only checkpoint in this skill where Claude asks before writing. 6. **Idempotency is silent** — if already on/installed, say so briefly and move on.
See [`references/admin-communication.md`](references/admin-communication.md) for the full 13-rule spec, including error-surfacing, outcome-vs-steps reporting, and the S9 carve-out rationale.
Resolves org auth via the shared `scripts/shared/auth.sh` helper (`resolve_org_auth "$ORG_ALIAS"`), which every script in this skill sources: validate the alias format, call `sf org display` for `instanceUrl` and `accessToken` (falling back to `sf org auth show-access-token` when the CLI redacts the token), refuse a non-HTTPS instance URL, and fail closed with an explicit `sf org login web --alias <alias>` instruction if the org isn't reachable or no token can be extracted. If `ACCESS_TOKEN`/`INSTANCE_URL` are already exported for the same alias — e.g. a parent shell already resolved auth and is chaining multiple of these
This repository provides a curated collection of Salesforce agent skills for building applications.
Repo: forcedotcom/sf-skills
Integrate Salesforce B2B Commerce open source components from GitHub into B2B Commerce stores. Use when users mention \"integrate open code components\",…
Replace OOTB (out-of-the-box) B2B Commerce components with open source equivalents in site metadata content.json files, or look up the equivalent open code…
Use this skill to diagnose and resolve what blocks a DevOps Center promotion of a work item's feature branch: Git merge conflicts and deployment failures.…
Use this skill to manage the full lifecycle of a DevOps Center pipeline — list all pipelines, get a single pipeline's details, create a new pipeline linked to…
Analyzes DevOps Center test failures and Code Analyzer violations in plain language — failure category, offending file/class/method/line, rule violated, fix…
Configures DevOps Center pipeline testing infrastructure: enables a test provider so its suites become available, re-syncs a configured provider to pull in new…