forcedotcom/sf-skills / plugins/builder/integration/skills/integration-connectivity-generate
integration-connectivity-generate
VerifiedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use integration-connectivity-connected-app-configure), Apex-only logic (use platform-apex-generate), data import/export (use platform-data-manage), or CDC channel-membership metadata such as PlatformEventChannel, PlatformEventChannelMember, or EnrichedField (use integration-eventing-cdc-configure).
assets/named-credentials/oauth-client-credentials.namedCredential-meta.xml
View on GitHub<?xml version="1.0" encoding="UTF-8"?>
<!--
Named Credential Template: OAuth 2.0 Client Credentials Flow
Use Case: Server-to-server integration without user context
- Machine-to-machine authentication
- Backend service integrations
- Scheduled jobs calling external APIs
Setup Steps:
1. Replace all {{placeholder}} values
2. Create corresponding Auth Provider if using OAuth
3. Deploy to org
4. Store client credentials in Setup → Named Credentials
File Location: force-app/main/default/namedCredentials/{{CredentialName}}.namedCredential-meta.xml
-->
<NamedCredential xmlns="http://soap.sforce.com/2006/04/metadata">
<fullName>{{CredentialName}}</fullName>
<label>{{CredentialLabel}}</label>
<!-- Base URL for the external service (without trailing slash) -->
<endpoint>{{BaseEndpoint}}</endpoint>
<!-- Authentication Configuration -->
<principalType>NamedUser</principalType>
<protocol>Oauth</protocol>
<!-- OAuth Settings -->
<!-- Token endpoint where Salesforce requests access tokens -->
<oauthTokenEndpoint>{{TokenEndpoint}}</oauthTokenEndpoint>
<!-- Space-separated OAuth scopes (e.g., "read write") -->
<oauthScope>{{Scopes}}</oauthScope>
<!-- Auth Provider reference (create this first in Setup → Auth Providers) -->
<!-- <authProvider>{{AuthProviderName}}</authProvider> -->
<!-- Request Options -->
<generateAuthorizationHeader>true</generateAuthorizationHeader>
<allowMergeFieldsInBody>true</allowMergeFieldsInBody>
<allowMergeFieldsInHeader>true</allowMergeFieldsInHeader>
<!--
Client ID and Secret are stored via UI, NOT in metadata for security.
After deployment:
1. Go to Setup → Named Credentials
2. Edit the credential
3. Enter Client ID and Client Secret
-->
</NamedCredential>
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 471k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |