dx-scratch-def-configure
Installation
SKILL.md
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. |
CRITICAL first gate (before any helper)
First matching row wins. Copy that recipe into report.md.