Terminal
Terminal/Skill
Sets up Named Credentials, External Services, REST and SOAP callouts, and Platform Events for Salesforce integrations.
By Salesforce
Works with
npx skills add forcedotcom/sf-skills --skill integration-connectivity-generateUse this skill when the user needs integration architecture and runtime plumbing: Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, CDC, and event-driven integration design.
Use integration-connectivity-generate when the work involves:
.namedCredential-meta.xml or External Credential metadataDelegate elsewhere when the user is:
platform-apex-generate skillplatform-metadata-deploy skillplatform-data-manage skillAsk for or infer:
| Need | Default pattern |
|---|---|
| authenticated outbound API call | Named Credential / External Credential + Apex or Flow |
| spec-driven API client | External Service |
| trigger-originated callout | async callout pattern |
| decoupled event publishing | Platform Events |
| change-stream consumption | CDC |
Prefer secure runtime-managed auth:
Use the provided assets under:
assets/named-credentials/assets/external-credentials/assets/external-services/assets/callouts/assets/platform-events/assets/cdc/assets/soap/Check:
Use:
platform-metadata-deploy skill for deploymentplatform-apex-generate skill for deeper service / retry codeautomation-flow-generate skill for declarative HTTP callout orchestrationCommon anti-patterns:
When finishing, report in this order:
Suggested shape:
Integration: <summary>
Pattern: <named credential / external service / event / cdc / callout>
Files: <paths>
Safety: <timeouts, retries, async, logging>
Next step: <deploy, register, test, or implement>
| Need | Delegate to | Reason |
|---|---|---|
| OAuth app setup | integration-connectivity-connected-app-configure | consumer key / cert / app config |
| advanced callout service code | platform-apex-generate skill | Apex implementation |
| declarative HTTP callout / Flow wrapper | automation-flow-generate skill | Flow orchestration |
| deploy integration metadata | platform-metadata-deploy skill | validation and rollout |
| use integration from Agentforce | agentforce-generate skill | agent action composition |
assets/named-credentials/ — Named Credential XML templates (OAuth, JWT, Certificate, Custom auth)assets/external-credentials/ — External Credential XML templates (OAuth, JWT)assets/external-services/ — External Service registration template and operations guideassets/callouts/ — REST sync, Queueable, retry handler, and HTTP response handler Apex templatesassets/platform-events/ — Platform Event definition, publisher, and subscriber templatesassets/cdc/ — CDC handler and subscriber trigger templatesassets/soap/ — SOAP callout service template and wsdl2apex guideassets/endpoint-security/ — Remote Site Setting and CSP Trusted Site XML templatesscripts/suggest_credential_setup.py — auto-suggests credential configuration steps when integration files are detectedscripts/validate_integration.py — validates integration patterns before agent responsesWhen this skill completes an integration task, it produces:
assets/named-credentials/ or assets/external-credentials/ filled with org-specific values.cls file using the Named Credential pattern, with async/sync pattern chosen based on context.object-meta.xml, subscriber trigger, or CDC config (when event-driven pattern is chosen)| Score | Meaning |
|---|---|
| 108+ | strong production-ready integration design |
| 90–107 | good design with some hardening left |
| 72–89 | workable but needs architectural review |
| < 72 | unsafe / incomplete for deployment |