shortcuts-playground 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/README.md +54 -0
  2. package/agents/shortcut-builder.md +172 -0
  3. package/agents/shortcut-remixer.md +239 -0
  4. package/commands/build-shortcut.md +32 -0
  5. package/commands/remix-shortcut.md +34 -0
  6. package/opencode.json +30 -0
  7. package/package.json +47 -0
  8. package/plugin/validator.ts +179 -0
  9. package/skills/shortcuts-playground/ACTIONS.md +713 -0
  10. package/skills/shortcuts-playground/APPINTENTS.md +2760 -0
  11. package/skills/shortcuts-playground/AUTOMATION_TRIGGERS.md +133 -0
  12. package/skills/shortcuts-playground/BEST_PRACTICES.md +357 -0
  13. package/skills/shortcuts-playground/CHANGELOG.md +585 -0
  14. package/skills/shortcuts-playground/CONTROL_FLOW.md +777 -0
  15. package/skills/shortcuts-playground/DATE_TIME.md +75 -0
  16. package/skills/shortcuts-playground/EXAMPLES.md +738 -0
  17. package/skills/shortcuts-playground/FILTERS.md +697 -0
  18. package/skills/shortcuts-playground/HEALTHKIT.md +317 -0
  19. package/skills/shortcuts-playground/ICONS_AND_COLORS.md +89 -0
  20. package/skills/shortcuts-playground/JAVASCRIPT_WEBPAGE.md +51 -0
  21. package/skills/shortcuts-playground/PARAMETER_TYPES.md +1117 -0
  22. package/skills/shortcuts-playground/PLIST_FORMAT.md +296 -0
  23. package/skills/shortcuts-playground/README.md +77 -0
  24. package/skills/shortcuts-playground/SKILL.md +459 -0
  25. package/skills/shortcuts-playground/THIRD_PARTY_ACTIONS.md +77 -0
  26. package/skills/shortcuts-playground/TOOLKIT_SNAPSHOT.md +62 -0
  27. package/skills/shortcuts-playground/URL_SCHEMES.md +59 -0
  28. package/skills/shortcuts-playground/VARIABLES.md +569 -0
  29. package/skills/shortcuts-playground/assets/shortcuts-small.svg +14 -0
  30. package/skills/shortcuts-playground/assets/shortcuts.png +0 -0
  31. package/skills/shortcuts-playground/data/healthkit-ios26.2-reference.json +2603 -0
  32. package/skills/shortcuts-playground/data/macos27-shortpy-grounding.json +4085 -0
  33. package/skills/shortcuts-playground/data/macos27-workflow-trigger-samples.json +1 -0
  34. package/skills/shortcuts-playground/data/shortcuts-glyph-synonyms.json +5102 -0
  35. package/skills/shortcuts-playground/data/shortcuts-icon-colors.json +107 -0
  36. package/skills/shortcuts-playground/data/shortcuts-official-glyph-mapping.json +509 -0
  37. package/skills/shortcuts-playground/data/toolkit-v63-tool-ids.json +1806 -0
  38. package/skills/shortcuts-playground/data/toolkit-v78-first-party-enum-cases.json +1 -0
  39. package/skills/shortcuts-playground/data/toolkit-v78-first-party-parameter-keys.json +1 -0
  40. package/skills/shortcuts-playground/data/toolkit-v78-ios27-tool-ids.json +1222 -0
  41. package/skills/shortcuts-playground/data/toolkit-v78-tool-ids.json +2745 -0
  42. package/skills/shortcuts-playground/data/toolkit-v78-trigger-parameter-keys.json +1051 -0
  43. package/skills/shortcuts-playground/golden-shortcuts/index.jsonl +19 -0
  44. package/skills/shortcuts-playground/golden-shortcuts/xml/1be4dde95b794253bf82438e201b33e7.xml +174 -0
  45. package/skills/shortcuts-playground/golden-shortcuts/xml/2e0fb675e45948aaacee7e534f910492.xml +1016 -0
  46. package/skills/shortcuts-playground/golden-shortcuts/xml/332c12a0060043b388b22b806be7ab58.xml +1924 -0
  47. package/skills/shortcuts-playground/golden-shortcuts/xml/3dd4ee24e43f464f92adaa70a0311eaa.xml +1177 -0
  48. package/skills/shortcuts-playground/golden-shortcuts/xml/4d102301c6e646faa7a8a221f4f4ec98.xml +321 -0
  49. package/skills/shortcuts-playground/golden-shortcuts/xml/51cc4e26d1044893a0c3f2f3630cf2d2.xml +1933 -0
  50. package/skills/shortcuts-playground/golden-shortcuts/xml/623e7f1ca5f948e2bd53811fec63e544.xml +136 -0
  51. package/skills/shortcuts-playground/golden-shortcuts/xml/6a18b76843ac45c384ac3400f3740997.xml +1791 -0
  52. package/skills/shortcuts-playground/golden-shortcuts/xml/71f0cacb0f604b399b76c5dcb7286e7c.xml +2228 -0
  53. package/skills/shortcuts-playground/golden-shortcuts/xml/807525ed9f974829bc8494defac923a8.xml +259 -0
  54. package/skills/shortcuts-playground/golden-shortcuts/xml/8ab0d39826ab4249be58672763caa3ba.xml +420 -0
  55. package/skills/shortcuts-playground/golden-shortcuts/xml/91c45fd3fd3b427897d9ba485efb1227.xml +800 -0
  56. package/skills/shortcuts-playground/golden-shortcuts/xml/97be626bb25c41709d175646a7f6d8f2.xml +424 -0
  57. package/skills/shortcuts-playground/golden-shortcuts/xml/ae59e10d409348f9bd33894f03f9beb4.xml +568 -0
  58. package/skills/shortcuts-playground/golden-shortcuts/xml/afa83b6be811483b9c32189c41eb9312.xml +391 -0
  59. package/skills/shortcuts-playground/golden-shortcuts/xml/cfdb083b857e4ac189629fa386d27cdc.xml +193 -0
  60. package/skills/shortcuts-playground/golden-shortcuts/xml/e01cebe192d64b2fbca80204d03d92ab.xml +111 -0
  61. package/skills/shortcuts-playground/golden-shortcuts/xml/ef669bcf8bad489d9ef4b88bfaf5772f.xml +780 -0
  62. package/skills/shortcuts-playground/golden-shortcuts/xml/f44f5caf5e3e48d4817e73af450c4404.xml +570 -0
  63. package/skills/shortcuts-playground/scripts/generate_healthkit_reference.py +394 -0
  64. package/skills/shortcuts-playground/scripts/lookup_action_grounding.py +1164 -0
  65. package/skills/shortcuts-playground/scripts/select_shortcut_icon_color.py +597 -0
  66. package/skills/shortcuts-playground/scripts/test_random_mixed_shortcuts.py +1067 -0
  67. package/skills/shortcuts-playground/scripts/test_wiring_regressions.py +2247 -0
  68. package/skills/shortcuts-playground/scripts/validate_shortcut.py +4526 -0
@@ -0,0 +1,19 @@
1
+ {"id": "4d102301c6e646faa7a8a221f4f4ec98", "title": "App Release Notes", "category": "App Store", "purpose": "Copy the release notes for the latest version of an app shared from the App Store.", "tags": ["regex", "clipboard"], "xml": "golden-shortcuts/xml/4d102301c6e646faa7a8a221f4f4ec98.xml"}
2
+ {"id": "623e7f1ca5f948e2bd53811fec63e544", "title": "Save App Store Icon", "category": "App Store", "purpose": "Search the App Store for an app and save its icon to the Photos app.", "tags": ["api_http", "choose_list"], "xml": "golden-shortcuts/xml/623e7f1ca5f948e2bd53811fec63e544.xml"}
3
+ {"id": "f44f5caf5e3e48d4817e73af450c4404", "title": "App Store Story as Safari Reader Article", "category": "App Store", "purpose": "Read an App Store story (from the \u2018Today\u2019 tab) as a text-only webpage, cleaned up by Safari Reader.", "tags": ["markdown_richtext", "file_rename", "text_replace"], "xml": "golden-shortcuts/xml/f44f5caf5e3e48d4817e73af450c4404.xml"}
4
+ {"id": "71f0cacb0f604b399b76c5dcb7286e7c", "title": "EverSafari", "category": "Evernote", "purpose": "A comprehensive menu to save webpages from Safari as notes in Evernote.", "tags": ["api_http", "menu", "choose_list", "repeat_each", "dictionary", "dictionary_build", "regex", "markdown_richtext"], "xml": "golden-shortcuts/xml/71f0cacb0f604b399b76c5dcb7286e7c.xml"}
5
+ {"id": "97be626bb25c41709d175646a7f6d8f2", "title": "Save Quote to Evernote", "category": "Evernote", "purpose": "Save selections from Safari webpages as highlights in Evernote.", "tags": ["markdown_richtext", "text_replace"], "xml": "golden-shortcuts/xml/97be626bb25c41709d175646a7f6d8f2.xml"}
6
+ {"id": "332c12a0060043b388b22b806be7ab58", "title": "Clip to iCloud Clipboard", "category": "Files", "purpose": "Clip any kind of text contained in the system clipboard to a Clipboard.", "tags": ["menu", "choose_list", "repeat_count", "markdown_richtext", "files", "file_rename", "clipboard", "text_split"], "xml": "golden-shortcuts/xml/332c12a0060043b388b22b806be7ab58.xml"}
7
+ {"id": "e01cebe192d64b2fbca80204d03d92ab", "title": "Compress Dropbox Files", "category": "Files", "purpose": "Pick multiple files from Dropbox and share them as a single.", "tags": ["files"], "xml": "golden-shortcuts/xml/e01cebe192d64b2fbca80204d03d92ab.xml"}
8
+ {"id": "cfdb083b857e4ac189629fa386d27cdc", "title": "Select Folder, Compress, and Share", "category": "Files", "purpose": "Files", "tags": [], "xml": "golden-shortcuts/xml/cfdb083b857e4ac189629fa386d27cdc.xml"}
9
+ {"id": "afa83b6be811483b9c32189c41eb9312", "title": "Preview Folder Contents", "category": "Files", "purpose": "Preview the contents of a folder stored inside iCloud Drive/Shortcuts.", "tags": ["menu", "choose_list", "files", "preview", "ask_input"], "xml": "golden-shortcuts/xml/afa83b6be811483b9c32189c41eb9312.xml"}
10
+ {"id": "8ab0d39826ab4249be58672763caa3ba", "title": "Calendar Locations", "category": "Calendar", "purpose": "Get a list of upcoming calendar events that contain locations.", "tags": ["choose_list", "repeat_each", "append_list"], "xml": "golden-shortcuts/xml/8ab0d39826ab4249be58672763caa3ba.xml"}
11
+ {"id": "3dd4ee24e43f464f92adaa70a0311eaa", "title": "Create Calendar Event from Template", "category": "Calendar", "purpose": "Create a new calendar event choosing from a list of templates.", "tags": ["choose_list", "dictionary", "dictionary_build", "ask_input"], "xml": "golden-shortcuts/xml/3dd4ee24e43f464f92adaa70a0311eaa.xml"}
12
+ {"id": "2e0fb675e45948aaacee7e534f910492", "title": "Days In a Month", "category": "Calendar", "purpose": "List of months and how many days they have.", "tags": ["choose_list", "repeat_count", "dictionary", "dictionary_build", "regex", "list"], "xml": "golden-shortcuts/xml/2e0fb675e45948aaacee7e534f910492.xml"}
13
+ {"id": "807525ed9f974829bc8494defac923a8", "title": "Invert Names", "category": "Contacts", "purpose": "Given a list of last and first names separated by a comma, the shortcut inverts their position and returns a plain text list of first names followed by last...", "tags": ["repeat_each", "regex", "text_split"], "xml": "golden-shortcuts/xml/807525ed9f974829bc8494defac923a8.xml"}
14
+ {"id": "1be4dde95b794253bf82438e201b33e7", "title": "Electricity Price", "category": "Home", "purpose": "Uses the ComEd Current Hour Average electricity price API for Northern Illinois to return the average price of electricity for the current hour in USD.", "tags": ["api_http", "dictionary", "detect_dictionary", "url"], "xml": "golden-shortcuts/xml/1be4dde95b794253bf82438e201b33e7.xml"}
15
+ {"id": "ae59e10d409348f9bd33894f03f9beb4", "title": "Parse JSON Feed", "category": "Web", "purpose": "Parse any JSON feed and display a list of recent posts to choose from.", "tags": ["api_http", "choose_list", "repeat_each", "dictionary", "dictionary_build", "file_rename", "append_list", "list"], "xml": "golden-shortcuts/xml/ae59e10d409348f9bd33894f03f9beb4.xml"}
16
+ {"id": "91c45fd3fd3b427897d9ba485efb1227", "title": "URL Cleaner", "category": "Other", "purpose": "Clean up URLs by removing tracking parameters from them.", "tags": ["clipboard", "text_replace", "ask_input", "url"], "xml": "golden-shortcuts/xml/91c45fd3fd3b427897d9ba485efb1227.xml"}
17
+ {"id": "51cc4e26d1044893a0c3f2f3630cf2d2", "title": "WordleBot", "category": "Other", "purpose": "Reformat results for a completed Wordle game to include scores for partial and perfect guesses on each line.", "tags": ["menu", "repeat_each", "dictionary", "dictionary_build", "regex", "clipboard", "text_replace", "text_split"], "xml": "golden-shortcuts/xml/51cc4e26d1044893a0c3f2f3630cf2d2.xml"}
18
+ {"id": "6a18b76843ac45c384ac3400f3740997", "title": "Masto-Redirect", "category": "Web", "purpose": "Redirect user profiles and individual posts from their original Mastodon instance back to your own instance.", "tags": ["api_http", "dictionary", "detect_dictionary", "regex", "ask_input", "url"], "xml": "golden-shortcuts/xml/6a18b76843ac45c384ac3400f3740997.xml"}
19
+ {"id": "ef669bcf8bad489d9ef4b88bfaf5772f", "title": "Start Toggl Timer", "category": "Time Tracking", "purpose": "Start a new timer in your Toggl account.", "tags": ["api_http", "base64", "dictionary", "dictionary_build", "url"], "xml": "golden-shortcuts/xml/ef669bcf8bad489d9ef4b88bfaf5772f.xml"}
@@ -0,0 +1,174 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>WFWorkflowActions</key>
6
+ <array>
7
+ <dict>
8
+ <key>WFWorkflowActionIdentifier</key>
9
+ <string>is.workflow.actions.comment</string>
10
+ <key>WFWorkflowActionParameters</key>
11
+ <dict>
12
+ <key>WFCommentActionText</key>
13
+ <string>Uses the ComEd Current Hour Average electricity price API for Northern Illinois to return the average price of electricity for the current hour in USD.</string>
14
+ </dict>
15
+ </dict>
16
+ <dict>
17
+ <key>WFWorkflowActionIdentifier</key>
18
+ <string>is.workflow.actions.url</string>
19
+ <key>WFWorkflowActionParameters</key>
20
+ <dict>
21
+ <key>UUID</key>
22
+ <string>7FC50DCC-40DB-4FDC-A73B-951FACEA52D1</string>
23
+ <key>WFURLActionURL</key>
24
+ <string>https://hourlypricing.comed.com/api?type=currenthouraverage</string>
25
+ </dict>
26
+ </dict>
27
+ <dict>
28
+ <key>WFWorkflowActionIdentifier</key>
29
+ <string>is.workflow.actions.downloadurl</string>
30
+ <key>WFWorkflowActionParameters</key>
31
+ <dict>
32
+ <key>Advanced</key>
33
+ <true/>
34
+ <key>ShowHeaders</key>
35
+ <false/>
36
+ <key>UUID</key>
37
+ <string>4D42AA41-86D2-4143-8A47-C7961BB7D314</string>
38
+ <key>WFHTTPHeaders</key>
39
+ <dict>
40
+ <key>Value</key>
41
+ <dict>
42
+ <key>WFDictionaryFieldValueItems</key>
43
+ <array/>
44
+ </dict>
45
+ <key>WFSerializationType</key>
46
+ <string>WFDictionaryFieldValue</string>
47
+ </dict>
48
+ <key>WFHTTPMethod</key>
49
+ <string>GET</string>
50
+ </dict>
51
+ </dict>
52
+ <dict>
53
+ <key>WFWorkflowActionIdentifier</key>
54
+ <string>is.workflow.actions.detect.text</string>
55
+ <key>WFWorkflowActionParameters</key>
56
+ <dict>
57
+ <key>UUID</key>
58
+ <string>3C15FD9A-860A-46BF-BA2D-40E95BC5DF3F</string>
59
+ </dict>
60
+ </dict>
61
+ <dict>
62
+ <key>WFWorkflowActionIdentifier</key>
63
+ <string>is.workflow.actions.detect.dictionary</string>
64
+ <key>WFWorkflowActionParameters</key>
65
+ <dict>
66
+ <key>UUID</key>
67
+ <string>80F0E7EC-817D-485C-A73C-96F7D3914B60</string>
68
+ </dict>
69
+ </dict>
70
+ <dict>
71
+ <key>WFWorkflowActionIdentifier</key>
72
+ <string>is.workflow.actions.getvalueforkey</string>
73
+ <key>WFWorkflowActionParameters</key>
74
+ <dict>
75
+ <key>UUID</key>
76
+ <string>E9B8460D-FF3F-423B-B42D-BEE7ECFB0AED</string>
77
+ <key>WFDictionaryKey</key>
78
+ <string>price</string>
79
+ <key>WFGetDictionaryValueType</key>
80
+ <string>Value</string>
81
+ </dict>
82
+ </dict>
83
+ <dict>
84
+ <key>WFWorkflowActionIdentifier</key>
85
+ <string>is.workflow.actions.showresult</string>
86
+ <key>WFWorkflowActionParameters</key>
87
+ <dict>
88
+ <key>Text</key>
89
+ <dict>
90
+ <key>Value</key>
91
+ <dict>
92
+ <key>attachmentsByRange</key>
93
+ <dict>
94
+ <key>{28, 1}</key>
95
+ <dict>
96
+ <key>Aggrandizements</key>
97
+ <array>
98
+ <dict>
99
+ <key>Type</key>
100
+ <string>WFDateFormatVariableAggrandizement</string>
101
+ <key>WFDateFormat</key>
102
+ <string>HH:mm</string>
103
+ <key>WFDateFormatStyle</key>
104
+ <string>Custom</string>
105
+ <key>WFISO8601IncludeTime</key>
106
+ <false/>
107
+ </dict>
108
+ </array>
109
+ <key>Type</key>
110
+ <string>CurrentDate</string>
111
+ </dict>
112
+ <key>{33, 1}</key>
113
+ <dict>
114
+ <key>OutputName</key>
115
+ <string>Dictionary Value</string>
116
+ <key>OutputUUID</key>
117
+ <string>E9B8460D-FF3F-423B-B42D-BEE7ECFB0AED</string>
118
+ <key>Type</key>
119
+ <string>ActionOutput</string>
120
+ </dict>
121
+ </dict>
122
+ <key>string</key>
123
+ <string>The price of electricity at  is  cents.</string>
124
+ </dict>
125
+ <key>WFSerializationType</key>
126
+ <string>WFTextTokenString</string>
127
+ </dict>
128
+ </dict>
129
+ </dict>
130
+ </array>
131
+ <key>WFWorkflowClientRelease</key>
132
+ <string>2.1</string>
133
+ <key>WFWorkflowClientVersion</key>
134
+ <string>724</string>
135
+ <key>WFWorkflowIcon</key>
136
+ <dict>
137
+ <key>WFWorkflowIconGlyphNumber</key>
138
+ <integer>59395</integer>
139
+ <key>WFWorkflowIconImageData</key>
140
+ <data>
141
+ </data>
142
+ <key>WFWorkflowIconStartColor</key>
143
+ <integer>4274264319</integer>
144
+ </dict>
145
+ <key>WFWorkflowImportQuestions</key>
146
+ <array/>
147
+ <key>WFWorkflowInputContentItemClasses</key>
148
+ <array>
149
+ <string>WFAppStoreAppContentItem</string>
150
+ <string>WFArticleContentItem</string>
151
+ <string>WFContactContentItem</string>
152
+ <string>WFDateContentItem</string>
153
+ <string>WFEmailAddressContentItem</string>
154
+ <string>WFGenericFileContentItem</string>
155
+ <string>WFImageContentItem</string>
156
+ <string>WFiTunesProductContentItem</string>
157
+ <string>WFLocationContentItem</string>
158
+ <string>WFDCMapsLinkContentItem</string>
159
+ <string>WFAVAssetContentItem</string>
160
+ <string>WFPDFContentItem</string>
161
+ <string>WFPhoneNumberContentItem</string>
162
+ <string>WFRichTextContentItem</string>
163
+ <string>WFSafariWebPageContentItem</string>
164
+ <string>WFStringContentItem</string>
165
+ <string>WFURLContentItem</string>
166
+ </array>
167
+ <key>WFWorkflowMinimumClientVersion</key>
168
+ <integer>411</integer>
169
+ <key>WFWorkflowTypes</key>
170
+ <array>
171
+ <string>WatchKit</string>
172
+ </array>
173
+ </dict>
174
+ </plist>