A reference guide for creating Siri Shortcuts
From apple's own Donating Shortcuts article, you can make donations for Shorcuts using one of the following objects:
NSUserActivity. Donate the shortcut using a user activity when the action involves a view within your app, such as displaying recent transactions in a banking app.
INInteraction. Donate the shortcut using an interaction when the action involves a task the user accomplishes with your app, such as recording activity in a ski and snowboard tracking app.
https://developer.apple.com/videos/play/wwdc2018/211/
https://developer.apple.com/videos/play/wwdc2019/213/
https://developer.apple.com/videos/play/wwdc2019/805/
https://github.com/PattoMotto/CookBook-Siri-Shortcuts-Example
https://medium.com/@PattoMotto/siri-shortcuts-example-ios12-xcode-beta-3932daf5b7e5
https://developer.apple.com/documentation/foundation/nsuseractivity
https://developer.apple.com/documentation/sirikit/donating_shortcuts
https://www.avanderlee.com/swift/siri-support-nsuseractivity/
https://developer.apple.com/documentation/sirikit/creating_an_intents_app_extension
https://www.raywenderlich.com/6462-siri-shortcuts-tutorial-in-ios-12
https://developer.apple.com/documentation/sirikit/deleting_donated_shortcuts