mirror of
https://github.com/forcedotcom/afv-library.git
synced 2026-08-09 08:53:18 +08:00
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)
This commit is contained in:
parent
d082d99b22
commit
293093783c
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user