salesforce-reference-architecture

Featured

Implement Salesforce integration reference architecture with jsforce, SFDX, and event-driven patterns. Use when designing new Salesforce integrations, reviewing project structure, or establishing architecture standards for Salesforce-connected applications. Trigger with phrases like "salesforce architecture", "salesforce project structure", "salesforce integration design", "how to organize salesforce code", "salesforce layout".

AI & Automation 2,926 stars 433 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Salesforce Reference Architecture ## Overview Production-ready architecture patterns for Salesforce integrations, covering Node.js integration apps, SFDX metadata projects, and event-driven sync architectures. ## Prerequisites - Understanding of layered architecture - jsforce and Salesforce CLI experience - TypeScript project setup - Decision on sync model (polling vs event-driven) ## Project Structure ### Node.js Integration App ``` my-sf-integration/ ├── src/ │ ├── salesforce/ │ │ ├── connection.ts # Singleton jsforce connection with auto-refresh │ │ ├── types.ts # Typed sObject interfaces (Account, Contact, etc.) │ │ ├── queries.ts # SOQL query builders │ │ ├── mutations.ts # Create/update/delete operations │ │ └── events.ts # CDC and Platform Event subscribers │ ├── services/ │ │ ├── account-sync.ts # Business logic for Account sync │ │ ├── contact-sync.ts # Business logic for Contact sync │ │ └── opportunity-sync.ts # Pipeline/forecast sync │ ├── api/ │ │ ├── routes.ts # Express/Fastify routes │ │ └── health.ts # Health check with SF connectivity │ ├── jobs/ │ │ ├── full-sync.ts # Scheduled full data sync │ │ └── incremental-sync.ts # CDC-based incremental sync │ └── index.ts ├── tests/ │ ├── unit/ # Mocked jsforce tests │ └── integration/ # Live sandbox tests ├── config/ │ ├── default.json ...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category