/sf-compound-engineering:sf-deploy mode:<validate|deploy|quick|retrieve|destructive|manifest|test|data|org|setup|cli> [target org or paths]from sf-compound-engineering
Validates, deploys, retrieves, and deletes Salesforce metadata via sf CLI. Manages orgs, package.xml manifests, Apex test runs, and test data with production-safety guardrails.
Ships in sf-compound-engineering. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Principles enforced: 1 (quality ceiling), 2 (verifiability). See
PRINCIPLES.md.
First argument mode:<name> selects a mode; infer it from the request if absent. Load only the guide you need.
| Mode | Use for | Guide |
|---|---|---|
validate | Check-only deploy with tests; returns a job ID for quick deploy | references/deploy/guide.md |
deploy | Deploy source to an org | references/deploy/guide.md |
quick | Deploy a validated job without re-running tests | references/deploy/guide.md |
retrieve | Pull metadata from an org | references/deploy/guide.md |
destructive | Delete metadata with a destructive manifest | references/deploy/guide.md |
manifest | Build package.xml from source, a diff, or the org | references/deploy/guide.md |
test | Run Apex tests and read coverage | references/deploy/guide.md |
data | Seed or export test data | references/org/guide.md |
org | Create, list, open, switch orgs (scratch, sandbox) | references/org/guide.md |
setup | Check CLI, project, MCP servers, and plugin install | references/setup/guide.md |
cli | Look up sf command syntax | references/cli/guide.md |
sf org display --target-org <alias> --json and state the org's username and whether it is production (IsSandbox=false). If unsure, stop and ask.sf project deploy validate), then sf project deploy quick --job-id <id>. Never deploy straight to production and never with --test-level NoTestRun./sf-debug.sfce-deploy-gate hook enforces 1–3 on Claude Code; follow them yourself on every other harness.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
10 skills in this plugin
/sf-compoundCapture durable Salesforce knowledge in docs/solutions/, or refresh stale learnings. Use when the lesson is not in the final code or tests. Use sf-debug for an open failure./sf-debugDiagnose a Salesforce failure or explain code: tests, governor limits, deploys, LWC, sharing. Use for 'debug', 'why is this failing', or 'I didn't follow'. Use sf-work when the change is already known./sf-generateGenerate Salesforce source: Apex, triggers, Flows, objects/fields/tabs/apps, permission sets, validation rules, FlexiPages, test data, prompt templates, MCP tools, Agentforce agents and tests.npx claudepluginhub divingsbysangam/salesforce-compound-engineering-plugin --plugin sf-compound-engineeringOther plugins' skills for the same job