Individual skill
dx-org-manage
Use to EXECUTE Salesforce org operations immediately via the sf CLI (this skill runs them, it does NOT generate scripts): create scratch orgs (from edition, definition file, snapshot, or org shape), list/display/resume/delete scratch orgs, open orgs in browser. Trigger: 'create scratch org', 'create org from snapshot', 'delete scratch org', 'open my org'. Do NOT use for switching the default org (use dx-org-switch), deploying metadata (use platform-metadata-deploy), or creating/checking/listing/deleting org snapshots (use dx-org-snapshot-manage).
plugins/builder/salesforce-development/skills/dx-org-manage/SKILL.md
Source commit a8a18ce1e4ba12e69b4073eab98ce31bfbd8271e
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Not checked yet
- Last checked
- Nov 4, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 1,151
- Repository last updated
- Nov 6, 2026
- License
- Apache-2.0
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- operations Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 18,450 bytesSKILL.mdcore · 18,450 bytesSKILL.mdcore · 18,450 bytesSKILL.mdcore · 18,450 bytesSKILL.mdcore · 18,450 bytesSKILL.mdcore · 18,450 bytesSKILL.mdcore · 18,450 bytesSKILL.mdcore · 18,450 bytesSKILL.mdcore · 18,450 bytesSKILL.mdcore · 18,450 bytesSKILL.mdcore · 18,450 bytesSKILL.mdcore · 18,450 bytesSKILL.mdcore · 18,450 bytesSKILL.mdcore · 18,450 bytesSKILL.mdcore · 18,450 bytesassets/derive-alias.shruns · 3,258 bytesassets/scratch-def.seed.jsonasset · 92 bytesexamples/README.mddoc · 1,565 bytesexamples/scratch-orgs/delete_output.jsonasset · 130 bytesexamples/scratch-orgs/display_output.jsonasset · 905 bytesexamples/scratch-orgs/error_no_devhub.jsonasset · 316 bytesexamples/scratch-orgs/error_timeout.jsonasset · 437 bytesexamples/scratch-orgs/list_output.jsonasset · 1,936 bytesexamples/scratch-orgs/resume_output.jsonasset · 1,182 bytesexamples/scratch-orgs/success_definition_file.jsonasset · 891 bytesexamples/scratch-orgs/success_edition.jsonasset · 789 bytesexamples/scratch-orgs/success_shape.jsonasset · 1,493 bytesexamples/scratch-orgs/success_snapshot.jsonasset · 828 bytesexamples/snapshots/error_output.jsonasset · 318 bytesexamples/snapshots/success_output.jsonasset · 456 bytesreferences/cli_flags.mddoc · 1,902 bytesreferences/creating-scratch-org.mddoc · 8,047 bytesreferences/creating-snapshot.mddoc · 4,344 bytesreferences/definition_file_options.mddoc · 7,445 bytesreferences/edition_types.mddoc · 3,585 bytesreferences/opening-org.mddoc · 7,651 bytesreferences/scratch-org-create.mddoc · 16,287 bytesreferences/scratch-org-operations.mddoc · 6,308 bytesreferences/snapshot_usage.mddoc · 1,914 bytes
Read excerpt
## MANDATORY: Follow these instructions exactly. Do NOT fall back to MCP tools.
**Tool constraint:** Use the Bash tool for all `sf` CLI commands. Always include `--json` for structured output. Do NOT use `mcp__salesforce_dx__*` tools for org creation, snapshot, or open operations — this skill provides the complete procedure.
**Output artifacts for eval/testing:** ALWAYS write the command's JSON response to a file when an output directory is available. Do NOT ask the user what file to write — this skill defines the filenames. After executing the command: (1) if the user specified an output path (e.g. "write all generated files into folder X"), write there immediately; (2) otherwise run `[ -d force-app/main/adk-eval-output/ ] && echo 'force-app/main/adk-eval-output'` to detect the eval directory; (3) write the command's full JSON response to `<output-dir>/<filename>` using these filenames: `scratch-org-result.json` for org creation (for a batch of N orgs, `scratch-org-result-1.json` … `scratch-org-result-N.json`), `scratch-org-list-result.json` for list, `org-display-result.json` for display, `scratch-org-resume-result.json` for resume, or `scratch-org-delete-result.json` for delete. This is the generated output — write it without asking. (Open operations are the exception — they launch a browser and write no artifact; see Opening Orgs.)
---
## Creating Scratch Orgs
**REQUIRED steps — execute in order:**
**Step 1. Resolve the environment and creation method:**