discover
CommandShow ranked what's-next nudges across the six-stage journey, run on-demand org feature detection, or find an uninstalled plugin…
Set the project's target-org (the org that all sf commands run against by default). If no org is named, lists the authenticated orgs for the user to pick.
$ npx -y skills add forcedotcom/sf-skills --agent claude-code
description: Set the project's target-org (the org that all sf commands run against by default). If no org is named, lists the authenticated orgs for the user to pick. allowed-tools: - Bash argument-hint: "[alias-or-username] [--global]"
Set the active target-org for the current project (or globally).
Workflow:
1. **Parse arguments** ($ARGUMENTS):
2. **List the authenticated orgs:**
sf org list --skip-connection-status --json
`--skip-connection-status` avoids a token refresh for every authenticated org; step 4 checks the chosen org's connection.
3. **Set the target-org:**
# Project-local (default) sf config set target-org <alias> # User-global sf config set target-org <alias> --global
4. **Verify the change:**
sf org display --target-org <alias> --json
Rules:
This repository provides Salesforce agent skills, plugins, and sample apps for building applications.
Show ranked what's-next nudges across the six-stage journey, run on-demand org feature detection, or find an uninstalled plugin…
Record a quick 1-5 satisfaction rating as local usage telemetry. Manual-only — never dispatched by the model.
Authenticate to a new Salesforce org via the browser (sf org login web). Optionally set the org as the project's default target.
Sign out of one or all Salesforce orgs (sf org logout). Confirms before destructive action.
Show just the connected Salesforce org details — alias, edition, API version, instance URL, username.
Confirm and install exactly one uninstalled plugin-catalog entry, or record an explicit decline.
Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.