⏳ Wish
Shortcuts: functions and subroutines with parameters
Allow creation of parameterized Shortcuts that can be reused within other Shortcuts, similar to how app-provided actions work. When sharing a Shortcut, all required utility Shortcuts should be automatically bundled together.
This would enable utility Shortcuts designed specifically for invocation from other Shortcuts, greatly improving maintainability of complex automations.
From iOS 15 wishlist.