salesforce-local-dev-loop

Featured

Configure Salesforce local development with scratch orgs, SFDX, and testing. Use when setting up a development environment, configuring test workflows, or establishing a fast iteration cycle with Salesforce. Trigger with phrases like "salesforce dev setup", "salesforce local development", "salesforce scratch org", "sfdx project", "develop with salesforce".

AI & Automation 2,944 stars 440 forks Updated today 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 Local Dev Loop ## Overview Set up a fast, reproducible local development workflow using Salesforce CLI (sf), scratch orgs, and jsforce with hot reload. ## Prerequisites - Completed `salesforce-install-auth` setup - Salesforce CLI installed (`npm install -g @salesforce/cli`) - Dev Hub enabled in your production org (Setup > Dev Hub) - Node.js 18+ with npm/pnpm ## Instructions ### Step 1: Create SFDX Project Structure ```bash # Initialize a new SFDX project sf project generate --name my-sf-project --template standard # Project structure created: # my-sf-project/ # ├── config/ # │ └── project-scratch-def.json # Scratch org definition # ├── force-app/ # │ └── main/default/ # Metadata source (Apex, LWC, etc.) # ├── scripts/ # │ └── apex/ # Anonymous Apex scripts # ├── sfdx-project.json # Project config # └── .sf/ # Local CLI state ``` ### Step 2: Create a Scratch Org ```bash # Authenticate to your Dev Hub first sf org login web --set-default-dev-hub --alias DevHub # Create a scratch org (expires in 7 days by default) sf org create scratch \ --definition-file config/project-scratch-def.json \ --alias my-scratch \ --duration-days 7 \ --set-default # Open scratch org in browser sf org open --target-org my-scratch ``` ### Step 3: Configure scratch-def for development ```json { "orgName": "My Dev Org", "edition": "Developer", "features": ["EnableSetPasswordInApi", "Multi...

Details

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

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category