Integration connectivity generate

From forcedotcom/sf-skills · View interactive version

Integration connectivity generate is an AI agent skill from the GitHub repository forcedotcom/sf-skills. Salesforce 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,

How to use this skill

Skill file

integration-connectivity-generate: Salesforce Integration Patterns Expert

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.

When This Skill Owns the Task

Use integration-connectivity-generate when the work involves:

Delegate elsewhere when the user is:


Required Context to Gather First

Ask for or infer:


Recommended Workflow

1. Choose the integration pattern

| 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 |

2. Choose the auth model

Prefer secure runtime-managed auth:

3. Generate from the right templates

Use the provided assets under:

4. Validate operational safety

Check:

5. Hand off deployment or implementation details

Use:


High-Signal Rules

Common anti-patterns:


Output Format

When finishing, report in this order:

  1. Integration pattern chosen
  2. Auth model chosen
  3. Files created or updated
  4. Operational safeguards
  5. Deployment / testing next step

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>

Cross-Skill Integration

| 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 |


Reference Map

Start here

Event-driven / platform patterns

CLI / automation / scoring

Asset templates

Automation hooks


Output Expectations

When this skill completes an integration task, it produces:

  1. Credential metadata — one or more files in assets/named-credentials/ or assets/external-credentials/ filled with org-specific values
  2. Callout Apex class — a .cls file using the Named Credential pattern, with async/sync pattern chosen based on context
  3. Event/CDC artifacts — Platform Event .object-meta.xml, subscriber trigger, or CDC config (when event-driven pattern is chosen)
  4. Endpoint security metadata — Remote Site Setting and/or CSP Trusted Site XML files
  5. Scoring report — 120-point score across 6 categories (Security, Error Handling, Bulkification, Architecture, Best Practices, Documentation)
  6. Next step — a deployment or testing instruction for the generated artifacts

Score Guide

| 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 |


Pre-Delivery Checklist

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.