Individual skill
dx-scratch-def-configure
Drafts a schema-valid Salesforce DX scratch-def from natural language. Preview first (confirmation card, do not write). A later edit — including a write that also changes the draft — is another preview. Write only on consent that this draft is unchanged: invoke this skill and apply via its helper — never hand-write JSON with Write. Writes config/<purpose>-scratch-def.json (default purpose project) under an existing SF DX project that already has config/ (never creates config/). Grounds features on the PUBLIC config-values catalog: put product names (like Revenue Cloud) in features as-is. Use to author/validate a scratch-def or layer features onto a shape or snapshot. Also use for trial, shape-only, snapshot-only, underspecified, missing config/ (ask for the SF DX project path), or batch multi-def asks: invoke this skill, STOP, write report.md on disk (chat is not a substitute; do not skip the skill). Does not create orgs or enable Dev Hub. Not for dx-org-manage, dx-org-devhub-configure, or SKU work.
skills/dx-scratch-def-configure/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.
- engineering 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 · 10,022 bytesSKILL.mdcore · 10,022 bytesSKILL.mdcore · 10,022 bytesSKILL.mdcore · 10,022 bytesexamples/confirm-card.mddoc · 1,451 bytesexamples/report-recipes.mddoc · 3,566 bytesreferences/features.jsonasset · 134,732 bytesreferences/project-scratch-def.schema.jsonasset · 73,833 bytesreferences/settings-map.jsonasset · 19,031 bytesscripts/lib_scratch_def.pyruns · 46,597 bytesscripts/requirements.txtdoc · 132 bytesscripts/scrape_config_values.pyruns · 30,197 bytes
Read excerpt
# Configure Scratch Org Definition File
This skill writes `config/<purpose>-scratch-def.json` (default
`config/project-scratch-def.json`) from a product ask. It does **not** create
the org. Never `mkdir config`.
Every turn writes `report.md` on disk. Chat is not a substitute. Then exactly
one of these happens:
| Mode | When | What the user gets |
|------|------|--------------------|
| **Stop** | Trial, shape-only, shape/snapshot + features with no id, missing project, unclear ask, batch, other-user path | The next step, named. No scratch-def file. |
| **Preview** | First generate (including just-write / skip-preview) or a revision, and the project already has `config/` | A draft + Write file?. Nothing is written yet. |
| **Write** | They accept this draft **unchanged** (this preview, as drafted). This turn may restate it; no prior chat required. | The file. Name dx-org-manage. |