built this library out of frustration with Apple’s Shortcuts app, as I found complex Shortcuts were difficult to manage using its drag-and-drop interface. I wanted to write Shortcuts the same way I write code, so I created Shortcuts JS.