discover
Show the six-stage journey signpost, run on-demand org feature detection, or find an uninstalled plugin that matches a specific task.
Sign out of one or all Salesforce orgs (sf org logout). Confirms before destructive action.
$ npx -y skills add forcedotcom/sf-skills --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
/logoutContext preview
What this command does when you run it.
Sign out of one or all Salesforce orgs (sf org logout). Confirms before destructive action.
description: Sign out of one or all Salesforce orgs (sf org logout). Confirms before destructive action. allowed-tools: - Bash argument-hint: "[--target-org <alias>] [--all]"
Log out of one or more Salesforce orgs.
Workflow:
1. **Parse arguments** ($ARGUMENTS):
2. **If no arguments:** call `sf org list --json`, present the orgs in a numbered list, and ask the user which to log out of.
3. **Confirm before action:** show the alias(es) about to be logged out and require explicit "yes" confirmation. This is destructive and the user will need to re-authenticate to use the org again.
4. **Run the logout:**
sf org logout --target-org <alias> --no-prompt # or sf org logout --all --no-prompt
5. **Report:** confirm which orgs are now logged out. If the project's current `target-org` was logged out, suggest the user pick a new default via `/salesforce-development:set-default <alias>` or authenticate fresh via `/salesforce-development:login`.
Rules:
This repository provides a curated collection of Salesforce agent skills for building applications.
Repo: forcedotcom/sf-skills
Show the six-stage journey signpost, run on-demand org feature detection, or find an uninstalled plugin that matches a specific task.
Authenticate to a new Salesforce org via the browser (sf org login web). Optionally set the org as the project's default target.
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.
Turn uninstalled-plugin recommendations on or off, tune how readily they trigger, or show current status.
Show just the local SFDX project metadata stats — Apex/triggers/LWC/Aura/objects/perm sets/flows counts and git status.