Create plugin marketplaces with guided workflow
Guides you through creating a complete plugin marketplace from concept to distribution. Follows a systematic 8-phase workflow: discovery, planning, metadata design, structure creation, plugin configuration, distribution setup, validation, and testing.
/plugin marketplace add sjnims/plugin-dev/plugin install plugin-dev@plugin-dev-marketplacemarketplace-descriptionsonnetGuide the user through creating a complete plugin marketplace from initial concept to validated, distributable collection. Follow a systematic approach: understand requirements, plan plugins, configure structure, add entries, validate, and prepare for distribution.
Initial request: $ARGUMENTS
Security note: This workflow has broad file system access to create marketplace structures. It can write files and create directories within your permission scope. Review the target directory before starting, and see CLAUDE.md "Workflow Command Security" for details.
Goal: Understand what marketplace needs to be created and its purpose
Actions:
Output: Clear statement of marketplace purpose and distribution strategy
Goal: Determine which plugins to include and their sources
MUST load marketplace-structure skill using Skill tool before this phase.
Actions:
Load marketplace-structure skill for schema guidance
List plugins to include in marketplace:
Categorize by source type:
Present plugin plan to user as table:
| Plugin Name | Source Type | Description |
|------------------|-------------|------------------------|
| code-formatter | local | Code formatting tools |
| security-scanner | github | Security analysis |
| legacy-tool | git-url | Legacy utility |
For each local plugin, determine:
Get user confirmation or adjustments
Output: Confirmed list of plugins with sources
Goal: Define marketplace metadata and owner information
Actions:
Determine marketplace name:
team-tools, security-plugins, awesome-claude-pluginsGather owner information:
Define optional metadata:
Present configuration summary:
{
"name": "team-tools",
"owner": {
"name": "Platform Team",
"email": "platform@company.com"
},
"metadata": {
"description": "Internal development tools",
"version": "1.0.0"
}
}
Get user confirmation
Output: Confirmed marketplace metadata
Goal: Create marketplace directory structure and manifest
Actions:
Determine marketplace location:
Create directory structure using bash:
mkdir -p marketplace-name/.claude-plugin
mkdir -p marketplace-name/plugins # if local plugins
Create marketplace.json manifest using Write tool:
{
"name": "marketplace-name",
"owner": {
"name": "[from Phase 3]"
},
"metadata": {
"description": "[from Phase 3]",
"version": "[from Phase 3]"
},
"plugins": []
}
Create README.md template with:
Initialize git repo if creating new directory (only git init is available; additional git operations like staging and committing are left to the user after the workflow completes to respect their commit preferences)
Output: Marketplace directory structure created
Post-workflow git operations (user can run after completion):
git add .
git commit -m "feat: initial marketplace structure"
Goal: Configure each plugin entry with appropriate metadata
Actions:
For each plugin in the plan (from Phase 2):
For local plugins:
For GitHub plugins:
For git URL plugins:
For each entry, configure optional fields:
Update marketplace.json with all plugin entries
Update README.md with plugin table:
| Plugin | Description | Version |
|---|---|---|
| X | Does Y | 1.0.0 |
Output: All plugin entries configured in marketplace.json
Goal: Configure distribution strategy based on target audience
Actions:
For team/internal marketplaces:
Provide team settings configuration:
{
"extraKnownMarketplaces": {
"marketplace-name": {
"source": {
"source": "github",
"repo": "org/marketplace-repo"
}
}
}
}
Document which plugins should be in enabledPlugins
Add to README: How team members install
For community/public marketplaces:
For all marketplaces:
Document installation command in README:
/plugin marketplace add owner/repo
List individual plugin installation:
/plugin install plugin-name@marketplace-name
Output: Distribution documentation complete
Goal: Ensure marketplace meets quality standards
Actions:
Run plugin-validator agent:
Fix critical issues:
Validate local plugins (if any):
Check best practices:
Present validation report:
Ask user: "Validation complete. Would you like me to fix any issues, or proceed to testing?"
Output: Marketplace validated and ready for testing
Goal: Test marketplace installation and finalize
Actions:
Test locally:
Show user how to test:
/plugin marketplace add ./path/to/marketplace
List marketplace:
/plugin marketplace list
Install test plugin:
/plugin install plugin-name@marketplace-name
Verification checklist:
/plugin browserCreate summary:
Suggest improvements (optional):
Output: Complete, validated marketplace ready for distribution
Every marketplace must meet these standards:
"Create a marketplace for our team's internal tools"
Begin with Phase 1: Discovery.