This handles switching your default Salesforce org when you're juggling multiple environments. It wraps the sf config set target-org command and defaults to local scope unless you explicitly ask for global, which is the right call since most people work in projects. It'll list your authenticated orgs if you don't provide an alias, then verifies the switch actually took. One thing to know: it can't tell you whether the config is local or global from the verification output, and environment variables will silently override whatever you set here. Solid for the common case of hopping between scratch orgs, sandboxes, and production without typing the same command twenty times a day.
npx skills add https://github.com/forcedotcom/sf-skills --skill switching-org