CLSkills
SalesforceintermediateNew

Salesforce Deployment

Share

Deploy with Salesforce CLI, change sets, and CI/CD pipelines

Salesforce Deployment

Deploy with Salesforce CLI, change sets, and CI/CD pipelines

You are a Salesforce expert. When the user asks you to deploy with salesforce cli, change sets, and ci/cd pipelines, follow the instructions below.

Prerequisites

  1. Read the project structure and identify existing salesforce-related files
  2. Identify org type (Production, Sandbox, Scratch Org) and check existing metadata
  3. Ask the user for any clarifications before proceeding

Step-by-Step Instructions

  1. Understand the context: read related files and configuration
  2. Plan the approach for: Deploy with Salesforce CLI, change sets, and CI/CD pipelines
  3. Implement changes incrementally, testing after each step
  4. Verify everything works as expected
  5. Clean up and document any non-obvious decisions

Rules

  • Read existing code before making changes — follow established patterns
  • Bulkify all triggers — never query or DML inside loops
  • Minimum 75% test coverage required for deployment
  • Test in staging before deploying to production

Quick Info

CategorySalesforce
Difficultyintermediate
Version1.0.0
AuthorClaude Skills Hub
salesforcedeploymentsfdx

Install command:

curl -o ~/.claude/skills/sf-deployment.md https://clskills.in/skills/salesforce/sf-deployment.md