The following tip is around a little "snippet" as opposed to a whole Shortcut itself. This one shows how to automatically check and then create a folder and file when a Shortcut is launched.
*** Links
MergeCuts https://routinehub.co/shortcut/3724