dx-org-manage

Executes Salesforce CLI commands to create scratch orgs, create org snapshots, and open orgs in a browser.

Updated Jul 2, 2026
One-click install
npx skills add https://github.com/padjei/SF_Build --skill dx-org-manage-padjei
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: dx-org-manage
Source: https://github.com/padjei/SF_Build/tree/main/.claude/skills/dx-org-manage
Command: npx skills add https://github.com/padjei/SF_Build --skill dx-org-manage-padjei

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Managing Salesforce orgs through the SF CLI requires remembering exact command syntax, flag combinations, and error handling patterns for scratch org creation, snapshot management, and browser access. This Skill executes these org operations directly with the correct commands, eliminating manual CLI lookup and misconfiguration errors. ## Core Features & Use Cases - Scratch Org Creation: Create scratch orgs from a definition file, edition flag, existing snapshot, or org shape, with automatic Dev Hub verification and post-creation org listing. - Org Snapshot Creation: Capture point-in-time snapshots of scratch orgs with unique names and descriptions for reuse in definition files. - Org Opening: Open orgs in a browser with support for specific aliases, browsers, incognito mode, setup paths, metadata files, and URL-only output. - Use Case: A developer asks to "spin up a Developer edition scratch org" — the Skill verifies the Dev Hub, runs sf org create scratch --edition developer --json, then reports the alias, username, and org ID. ## Quick Start Ask the assistant to create a Developer edition scratch org with an alias of your choice, and it will execute the SF CLI commands and report the new org's credentials.

Frequently Asked Questions about dx-org-manage

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a Salesforce scratch org from the command line?▼

Run sf org create scratch with a creation source: --definition-file for a config file, --edition for a quick org, --snapshot to clone a snapshot, or --source-org for an org shape. Always include --json and ensure a Dev Hub is authenticated first.

How do I create a snapshot of a Salesforce scratch org?▼

Use sf org create snapshot with --source-org (org ID or alias), --name for a unique snapshot name, and optionally --description and --target-dev-hub. Snapshot creation is asynchronous, so check status with sf org get snapshot.

What scratch org editions are available in Salesforce DX?▼

Available editions are developer, enterprise, group, and professional, plus partner variants (partner developer, partner enterprise, etc.) when the Dev Hub is a Partner Business Org. Developer edition is the recommended default for general development.

Why does scratch org creation fail with No default Dev Hub org found?▼

This error means no Dev Hub is authenticated or set as default. Run sf org login web --set-default-dev-hub to authenticate a Dev Hub, or pass --target-dev-hub explicitly with the creation command.

Can I open a specific Salesforce setup page directly in the browser?▼

Yes, use sf org open --path with a Lightning setup path such as /lightning/setup/Flows/home. You can also open metadata files like flows or flexipages in their builders using --source-file, provided the metadata is deployed in the org.

What happens when scratch org creation times out?▼

A timeout returns exit code 69 with a request ID and a resume command. Run sf org resume scratch --job-id <request-id> --json to continue waiting, or increase the --wait time on the next attempt.