switching-org

安装量: 1.5K
排名: #5058

安装

npx skills add https://github.com/forcedotcom/sf-skills --skill switching-org

Steps Identify the org: the user provides a username or alias ( orgIdentifier ). If not provided, run sf org list to show authenticated orgs and ask the user which one to use. Set the default org: Local (default): sf config set target-org Applies only within the current project directory. Use this for normal project work. Global (only if user explicitly requests): sf config set target-org --global Applies system-wide across all directories. Use when working outside a project or when the user asks for global scope. If this fails, report the error and suggest running sf org login web if the org may not be authorized. Verify: sf config get target-org --json Note: the JSON output does not include a scope/location field — it cannot confirm whether the value is local or global. Confirm the value only, e.g.: target-org is now set to: If it fails, report the error and advise running sf config get target-org . Notes Show more Installs 1.5K Repository forcedotcom/sf-skills GitHub Stars 557 First Seen May 13, 2026 Security Audits Gen Agent Trust Hub Pass Socket Pass Snyk Pass

返回排行榜