comparison of different scratch org shapes
Simply compare the different branches of this repository.
To retrieve metadata for another scratch org shape, create a new branch with the changed config/project-scratch-def.json
and run the GitHub Action "Create Scratch Org and retrieve Metadata settings".