From sf-skills
Sets up Salesforce integration plumbing: Named Credentials, External Services, REST/SOAP callouts, Platform Events, and Change Data Capture with architectural guidance and 120-point scoring.
How this skill is triggered — by the user, by Claude, or both
Slash command
/sf-skills:building-sf-integrationsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use 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.
CREDITS.mdREADME.mdassets/callouts/callout-retry-handler.clsassets/callouts/http-response-handler.clsassets/callouts/rest-queueable-callout.clsassets/callouts/rest-sync-callout.clsassets/cdc/cdc-handler.clsassets/cdc/cdc-subscriber-trigger.triggerassets/endpoint-security/example.cspTrustedSite-meta.xmlassets/endpoint-security/example.remoteSite-meta.xmlassets/external-credentials/jwt-external-credential.externalCredential-meta.xmlassets/external-credentials/oauth-external-credential.externalCredential-meta.xmlassets/external-services/external-service-operations.mdassets/external-services/openapi-registration.externalServiceRegistration-meta.xmlassets/named-credentials/certificate-auth.namedCredential-meta.xmlassets/named-credentials/custom-auth.namedCredential-meta.xmlassets/named-credentials/oauth-client-credentials.namedCredential-meta.xmlassets/named-credentials/oauth-jwt-bearer.namedCredential-meta.xmlassets/platform-events/event-publisher.clsassets/platform-events/event-subscriber-action.clsUse 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 building-sf-integrations when the work involves:
.namedCredential-meta.xml or External Credential metadataDelegate elsewhere when the user is:
Ask 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:
Common 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 | configuring-connected-apps | consumer key / cert / app config |
| advanced callout service code | generating-apex | Apex implementation |
| declarative HTTP callout / Flow wrapper | generating-flow | Flow orchestration |
| deploy integration metadata | deploying-metadata | validation and rollout |
| use integration from Agentforce | developing-agentforce | 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 templateshooks/scripts/suggest_credential_setup.py — auto-suggests credential configuration steps when integration files are detectedhooks/scripts/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 |
npx claudepluginhub ccmalcom/sf-skills-plugin --plugin sf-skillsProvides Salesforce integration architecture blueprints: Direct API polling for simple syncs, Event-Driven CDC for scalable bidirectional flow, Middleware for enterprise scale.
Provides expert patterns for Salesforce platform development including Lightning Web Components, Apex triggers, REST/Bulk APIs, Connected Apps, and Salesforce DX with scratch orgs and 2GP.
Builds Salesforce Commerce B2C (SCAPI hooks, webhooks, callouts) and B2B (Platform Events, CDC, outbound messages) integrations with HMAC verification, idempotency, and retry handling.