From 293093783c8b96c9b78eda13644fcb55df4fb854 Mon Sep 17 00:00:00 2001 From: Kenneth Lewis Date: Fri, 20 Mar 2026 12:02:03 -0700 Subject: [PATCH] fix: skill best practice improvements for switching-org - Fix description to use third-person ("This skill should be used when...") - Remove redundant "When to Use This Skill" body section (duplicated description) --- skills/switching-org/SKILL.md | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/skills/switching-org/SKILL.md b/skills/switching-org/SKILL.md index 8b68403..fee65a0 100644 --- a/skills/switching-org/SKILL.md +++ b/skills/switching-org/SKILL.md @@ -1,6 +1,6 @@ --- name: switching-org -description: Use this skill when users need to switch the active Salesforce org (default org) using the Salesforce CLI. Trigger when users say "switch org", "change default org", "set my org to", "use alias", or specify a username/alias they want to use for subsequent CLI operations. +description: This skill should be used when users need to switch the active Salesforce org (default org) using the Salesforce CLI. Trigger when users say "switch org", "change default org", "set my org to", "use alias", or specify a username/alias they want to use for subsequent CLI operations. compatibility: Salesforce CLI (sf) v2+ metadata: author: afv-library @@ -11,18 +11,6 @@ metadata: Switches the active Salesforce org (default org) using the Salesforce CLI (sf). Supports either a username or an alias. -## When to Use This Skill - -- User says "switch org", "change default org", or "set my org to" -- User specifies a username or alias they want to use -- User needs to change which org is targeted for subsequent CLI operations - -### Examples - -- "Switch to this org: user@example.com" -- "Use alias myAlias" -- "Change default org to myDev" - ## Steps 1. Read input: `orgIdentifier`, and whether the user wants global scope (default: local)