In the Shortcuts app on your Mac, do either of the following:
Double-click a shortcut, select the name of the shortcut at the top of the shortcut editor, enter a new name, then press Return.
Select a shortcut, choose File > Rename, enter a new name, then click Done.