Salesforce AI Skill for Dev Hub

Use the dx-org-devhub-configure AI Skill to manage Dev Hub from your AI coding client.

AI Skills are packaged instruction sets that give AI coding clients specialized knowledge for building on the Salesforce platform. Skills are available from the forcedotcom/sf-skills repository in GitHub. See AI Skills in the Salesforce Development Plugin Guide for more information.

Use the dx-org-devhub-configure skill to configure your Dev Hub with these tasks:

  • Enable Dev Hub on a Salesforce org to create scratch orgs, second-generation managed packages (2GP), or unlocked packages.
  • Check whether Dev Hub is already enabled on an org.
  • View how many scratch orgs a Dev Hub can create.
  • Configure your Dev Hub preferences, such as enabling 2GP, unlocked packages, org shape exports, or scratch org snapshots.
  • List the active scratch orgs created from a Dev Hub.

You can’t enable Dev Hub in a sandbox.

Note

Sample prompts:

  • “Enable Dev Hub.”
  • “Set up this org for scratch orgs.”
  • “Enable scratch org snapshots for this Dev Hub.”
  • “Check if Dev Hub is on.”
  • “How many scratch orgs do I have left?”
  • “Enable org shape export.”
  • “List the scratch orgs on my Dev Hub.”