Skip to content
Skill

shortcuts-generator

by drewocarr

AI Summary

Generate valid files that can be signed and imported into Apple's Shortcuts app. A shortcut is a binary plist with this structure: To use output from a previous action:

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to install the "shortcuts-generator" skill in my project.

Please run this command in my terminal:
# Install skill into your project
mkdir -p .claude/skills/generate-shortcuts-skill && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/generate-shortcuts-skill/SKILL.md "https://raw.githubusercontent.com/drewocarr/generate-shortcuts-skill/main/SKILL.md"

Then restart Claude Code (or reload the window in Cursor) so the skill is picked up.

Description

Generate macOS/iOS Shortcuts by creating plist files. Use when asked to create shortcuts, automate workflows, build .shortcut files, or generate Shortcuts plists. Covers 1,155 actions (427 WF*Actions + 728 AppIntents), variable references, and control flow.

macOS Shortcuts Generator

Generate valid .shortcut files that can be signed and imported into Apple's Shortcuts app.

Quick Start

A shortcut is a binary plist with this structure: `xml <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>WFWorkflowActions</key> <array> <!-- Actions go here --> </array> <key>WFWorkflowClientVersion</key> <string>2700.0.4</string> <key>WFWorkflowHasOutputFallback</key> <false/> <key>WFWorkflowIcon</key> <dict> <key>WFWorkflowIconGlyphNumber</key> <integer>59511</integer> <key>WFWorkflowIconStartColor</key> <integer>4282601983</integer> </dict> <key>WFWorkflowImportQuestions</key> <array/> <key>WFWorkflowMinimumClientVersion</key> <integer>900</integer> <key>WFWorkflowMinimumClientVersionString</key> <string>900</string> <key>WFWorkflowName</key> <string>My Shortcut</string> <key>WFWorkflowOutputContentItemClasses</key> <array/> <key>WFWorkflowTypes</key> <array/> </dict> </plist> `

Minimal Hello World

`xml <dict> <key>WFWorkflowActionIdentifier</key> <string>is.workflow.actions.gettext</string> <key>WFWorkflowActionParameters</key> <dict> <key>UUID</key> <string>A1B2C3D4-E5F6-7890-ABCD-EF1234567890</string> <key>WFTextActionText</key> <string>Hello World!</string> </dict> </dict> <dict> <key>WFWorkflowActionIdentifier</key> <string>is.workflow.actions.showresult</string> <key>WFWorkflowActionParameters</key> <dict> <key>Text</key> <dict> <key>Value</key> <dict> <key>attachmentsByRange</key> <dict> <key>{0, 1}</key> <dict> <key>OutputName</key> <string>Text</string> <key>OutputUUID</key> <string>A1B2C3D4-E5F6-7890-ABCD-EF1234567890</string> <key>Type</key> <string>ActionOutput</string> </dict> </dict> <key>string</key> <string></string> </dict> <key>WFSerializationType</key> <string>WFTextTokenString</string> </dict> </dict> </dict> `

1. Actions

Every action has: • Identifier: is.workflow.actions.<name> (e.g., is.workflow.actions.showresult) • Parameters: Action-specific configuration in WFWorkflowActionParameters • UUID: Unique identifier for referencing this action's output

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 10mo ago
◐ Stale
Adoption100+ stars on GitHub
221 ★ · Growing
DocsREADME + description
Well-documented

GitHub Signals

Stars221
Forks20
Issues2
Updated10mo ago
View on GitHub
No License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Claude Code