Interactive wizard for creating new plugins in lunar-claude marketplace
Guides you through creating a new plugin for the lunar-claude marketplace with proper structure.
/plugin marketplace add basher83/lunar-claude/plugin install meta-claude@lunar-claudeCreate a new plugin in the lunar-claude marketplace using the template structure.
Follow these steps to create a properly structured plugin:
Ask the user for:
Check that:
Copy template to appropriate category:
cp -r templates/plugin-template/ plugins/<category>/<plugin-name>/
Navigate to new plugin directory
Update .claude-plugin/plugin.json:
PLUGIN_NAME with actual namePLUGIN_DESCRIPTION with descriptionKEYWORD1, KEYWORD2 with actual keywordsUpdate README.md:
PLUGIN_NAME placeholdersPLUGIN_DESCRIPTIONRemove unused component directories:
agents/skills/hooks/commands/ (can be empty with .gitkeep)Read current .claude-plugin/marketplace.json
Add new plugin entry to plugins array:
{
"name": "plugin-name",
"source": "./plugins/<category>/<plugin-name>",
"description": "plugin description",
"version": "0.1.0",
"category": "category-name",
"keywords": ["keyword1", "keyword2"],
"author": {
"name": "basher83"
}
}
Write updated marketplace.json
Validate JSON syntax with jq
git add plugins/<category>/<plugin-name>/
git add .claude-plugin/marketplace.json
git commit -m "feat: add <plugin-name> plugin
Create new <category> plugin: <description>
Initial version 0.1.0
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>"
Tell the user:
Plugin created successfully!
Location: plugins/<category>/<plugin-name>/
Next steps:
/plugin marketplace add ./plugin install <plugin-name>@lunar-claudeUser input:
Result:
plugins/infrastructure/terraform-tools/User input:
Result:
plugins/homelab/proxmox-ops/