platform-quick-deploy
Quick Deploying to Prod
Promote a validated deploy to a Production org using the job ID from a prior sf project deploy validate. No tests re-run, no components re-validated — just the promotion.
Preconditions (gate strictly)
Before doing ANYTHING, verify all four:
-
Target is Production
sf org display --target-org <alias> --jsonConfirm the target really is production. The reliable check is the gate's classifier (returns
production|sandbox|scratch|trial|devhub|unknown):sf org display --target-org <alias> --json | "${CLAUDE_PLUGIN_ROOT}/scripts/sf-deploy-gate" classifyProduction means
isSandbox=falseANDisScratch=falseAND instance URL has no--(sandbox marker) AND notest.salesforce.comAND it is not a trial/Developer Edition host (orgfarm-*,*.develop.my.salesforce.com,*.pc-rnd.*, or atrialExpirationDatein the response — these reportisSandbox/isScratchasnulland must not be taken for production).If target is NOT production (classifier returns anything other than
production) → STOP and redirect toplatform-metadata-deploy(which handles non-prod natively).