Those are parametrized shortcuts in the AppShortcutsProvider. Here is an example from one of my apps. The first group contains all non-parametrized shortcuts. The second group is the one from the code snippet.
Create a new strict that implements the AppShortcutsProvider protocol and add the app intents you want to group inside of that. There’s an example in the Apple docs for that protocol I believe.