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-jwt-bearer.namedCredential-meta.xml
View on GitHub<?xml version="1.0" encoding="UTF-8"?>
<!--
Named Credential Template: OAuth 2.0 JWT Bearer Flow
Use Case: Server-to-server with certificate-based authentication
- CI/CD pipelines
- Backend service integrations
- Automated jobs requiring strong authentication
Prerequisites:
1. Create certificate in Setup → Certificate and Key Management
2. Create Connected App with JWT Bearer enabled
3. Upload public certificate to external system
4. Pre-authorize Connected App for users
Setup Steps:
1. Replace all {{placeholder}} values
2. Ensure certificate is uploaded
3. Configure Connected App for JWT
4. Deploy to org
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 -->
<endpoint>{{BaseEndpoint}}</endpoint>
<!-- Authentication Configuration -->
<principalType>NamedUser</principalType>
<protocol>Oauth</protocol>
<!-- JWT Bearer Settings -->
<oauthTokenEndpoint>{{TokenEndpoint}}</oauthTokenEndpoint>
<oauthScope>{{Scopes}}</oauthScope>
<!--
Certificate for signing JWT assertions
Must exist in Setup → Certificate and Key Management
-->
<certificate>{{CertificateName}}</certificate>
<!-- Auth Provider (configure for JWT Bearer) -->
<!-- <authProvider>{{AuthProviderName}}</authProvider> -->
<!-- Request Options -->
<generateAuthorizationHeader>true</generateAuthorizationHeader>
<allowMergeFieldsInBody>true</allowMergeFieldsInBody>
<allowMergeFieldsInHeader>true</allowMergeFieldsInHeader>
<!--
JWT Bearer Flow Details:
1. Salesforce creates JWT assertion signed with certificate
2. JWT is sent to token endpoint
3. External system validates signature
4. Access token returned
5. Access token used for API calls
JWT Claims (automatically generated):
- iss: Client ID
- sub: Username (for SF-to-SF) or service account
- aud: Token endpoint
- exp: Expiration timestamp
-->
</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: 472k | 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 |