sf-cli-deployment
Installation
SKILL.md
Salesforce CLI Development Deployment Guide
Core Principles
CRITICAL: Use the modern sf CLI (not legacy sfdx) for all Salesforce operations. This skill focuses on development deployments for iterative coding workflows, not production migrations or CI/CD pipelines.
Understanding Deployment Commands
❌ CRITICAL MISTAKE TO AVOID
NEVER use deploy start to check deployment status!
# ❌ WRONG - Starting new deployment when you meant to check status
sf project deploy start --source-dir force-app
# This starts a NEW deployment, doesn't check existing one!
# ✅ CORRECT - Check status of existing deployment
sf project deploy report --job-id <deployment-id>