If you want to share your shortcut with others (or any of the pre-made shortcuts), simply open the Shortcuts app and tap on the three dot button in the top right corner of any shortcut in your Library.
If you have ever received a zipped or compressed archive as an email attachment and tried to open it on your iPhone, you've seen that you can view the contents but can't edit the individual files, or share them individually. Surprisingly, as of iOS 12, there is no built in option to extract zipped files. You can, however, easily create a shortcut that will do it for you. Here's how to do it on iPhone and iPad:
The new Shortcuts app, which is a reboot of the old Workflow app that launched with iOS 12, lets you create simple programs that use a variety of apps to accomplish a task. For example, the Time Machine shortcut for Photos lets you quickly pull up all of your photos from one year ago. This is just one of hundreds of pre-programmed Shortcuts found in the app's Gallery. To use a shortcut you need to first add it to your Library from the Gallery.
The Shortcuts app contains a gallery of many pre-defined programs that use one or more apps to achieve a desired result. For example, the Directions to Next Event shortcut uses the Maps and Calendar apps to quickly provide you with directions to your next calendar event. Aside from the shortcuts provided in the app, there are many avid users who share their creations online in communities such as Reddit and Sharecuts.
iOS 12's Shortcuts app has hundreds of useful shortcuts meant to make a variety of different tasks easier to accomplish on your iPhone. A reboot of the old Workflow app, Shortcuts has a gallery of pre-programmed 'recipes' that are basically small programs that use one or more apps to achieve a desired result. For example the Remind me at Home shortcut will remind you of a task as soon as you get home by using location services, Maps and Reminders. You could set this up yourself as a location based reminder, but the shortcut makes it considerably quicker and easier to do.