alfred-workflow

Generate and update Alfred workflow info.plist files with plutil validation.

13|Updated May 19, 2024
One-click install
npx skills add https://github.com/david-crespo/dotfiles --skill alfred-workflow
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: alfred-workflow
Source: https://github.com/david-crespo/dotfiles/tree/main/claude/skills/alfred-workflow
Command: npx skills add https://github.com/david-crespo/dotfiles --skill alfred-workflow

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Alfred workflows require manual assembly of info.plist files and proper structure, making creation error-prone and time-consuming.

Core Features & Use Cases

  • Programmatically generate an Alfred workflow's info.plist for a new workflow and place it under ~/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/
  • Update existing workflows by editing the objects, connections, and uidata sections of info.plist to reflect new functionality
  • Validate the generated plist with plutil -lint to ensure syntax correctness and correct structure

Quick Start

Create or update an Alfred workflow by generating its info.plist and placing it in the appropriate user.workflow directory.

Frequently Asked Questions about alfred-workflow

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I programmatically generate an Alfred workflow info.plist file?

Yes, you can update existing Alfred workflows by editing the objects, connections, and uidata sections of the info.plist file. This allows you to add new functionality to workflows already deployed in your Alfred preferences directory.

Can I validate an Alfred workflow info.plist file for syntax errors?

Yes, info.plist validation is performed using plutil -lint to ensure syntax correctness and proper structure. This guarantees that the generated Alfred workflow plist files are safe for deployment without manual error checking.

What is the correct directory structure for deploying Alfred workflows on macOS?

The correct directory structure for Alfred workflows requires placing the info.plist inside a directory named user.workflow.<UUID> located at ~/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/ to ensure proper recognition by the application.

Is manual info.plist assembly required when creating Alfred workflows?

No, manual assembly of info.plist files is not required. This Skill automates the generation and structural validation of Alfred workflow plist files, eliminating the error-prone and time-consuming manual editing process.

Does Alfred workflow scripting support defining objects and connections via uidata?

Yes, Alfred workflow scripting supports defining objects, connections, and layout via uidata within the info.plist. This Skill programmatically manages these sections to reflect new workflow functionality accurately.