Prompt file imported from ostark/lightroom-knowhow (
.claude/commands/lightroom:new-plugin.md). Fill in{{arguments}}before use. Copyright stays with the author.
Create New Lightroom Plugin
The user wants to create a new plugin of type: {{arguments}}
Instructions
-
Determine the plugin type from the arguments. Valid types:
export— Export service pluginpublish— Publish service pluginmetadata— Custom metadata pluginmenu— Library menu plugin
-
If the type is not specified or not recognized, ask the user which type they want.
-
Ask the user for:
- Plugin name (e.g., "My Photo Uploader")
- Toolkit identifier (e.g., "com.mycompany.photo-uploader")
- Output directory (default: current directory)
-
Read the matching template from
templates/<type>-plugin/in this project. -
Create a new
.lrdevpluginfolder with the template files, replacing:- Toolkit identifier with the user's value
- Plugin name with the user's value
- Logger name with a reasonable derivative of the plugin name
-
Report what was created and next steps:
- Open Lightroom Classic
- File > Plug-in Manager > Add
- Navigate to the .lrdevplugin folder
- The plugin will hot-reload on file changes