OverviewHistoryStatsSecurity
npx skills add ...
Documentation
SKILL.md
npx skills add forcedotcom/sf-skills --skill switching-org
Switches the active Salesforce org (default target-org) using the Salesforce CLI. Use whenever someone wants to change which org CLI commands run against — whether they say \"switch org\", \"change default org\", \"set my org to\", \"use alias\", \"point to\", or describe wanting to work against a specific org, scratch org, sandbox, or production.
npx skills add forcedotcom/sf-skills --skill switching-org
orgIdentifier). If not provided, run sf org list to show authenticated orgs and ask the user which one to use.sf config set target-org <orgIdentifier>
sf config set target-org <orgIdentifier> --global
sf org login web if the org may not be authorized.sf config get target-org --jsontarget-org is now set to: <value>sf config get target-org.target-org and target-dev-hub. Legacy sfdx keys (defaultusername, defaultdevhubusername) are deprecated in this context.--local or --scope flags for config set. Local scope is the default behavior.SF_TARGET_ORG is set — environment variables override config values.