From claude-code-dev
Manages Claude Code plugin marketplaces. This skill should be used when adding new plugins, updating marketplace configuration, keeping documentation in sync, or scaffolding plugin directory structures. Activates for tasks involving marketplace.json, plugin.json, or plugin README files.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-code-dev:marketplace-managerThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Guidance for managing Claude Code plugin marketplaces - adding plugins, updating configurations, and maintaining documentation consistency.
Guidance for managing Claude Code plugin marketplaces - adding plugins, updating configurations, and maintaining documentation consistency.
A Claude Code plugin marketplace has this structure:
marketplace-root/
├── .claude-plugin/
│ └── marketplace.json # Registry of all plugins
├── plugins/
│ └── {plugin-name}/ # Individual plugins
│ ├── .claude-plugin/
│ │ └── plugin.json # Plugin metadata
│ ├── README.md # Plugin documentation
│ ├── agents/ # Agent definitions (.md files)
│ ├── commands/ # Slash commands (.md files)
│ └── skills/ # Skills (SKILL.md + resources)
├── README.md # Main marketplace README
└── docs/ # Additional documentation
To add a new plugin to the marketplace, follow these steps in order:
Run the initialization script:
python3 scripts/init_plugin.py <plugin-name> --path <marketplace>/plugins
This creates:
.claude-plugin/plugin.json with metadata templateREADME.md with documentation templateagents/, commands/, skills/ directoriesEdit .claude-plugin/plugin.json with accurate metadata:
{
"name": "plugin-name",
"version": "0.1.0",
"description": "Clear description of what the plugin provides",
"author": {
"name": "Author Name",
"email": "[email protected]",
"url": "https://github.com/org/repo"
},
"repository": "https://github.com/org/repo",
"keywords": ["relevant", "keywords", "for", "discovery"]
}
Guidelines:
name: Lowercase, hyphen-separated (must match directory name)version: Semantic versioning (start with 0.1.0 for new plugins)description: 1-2 sentences explaining the plugin's purposekeywords: 5-10 relevant terms for discoverabilityThe plugin README should include:
/plugin install name@marketplaceSee references/plugin-readme-template.md for a complete template.
Add the plugin to .claude-plugin/marketplace.json:
{
"plugins": [
// ... existing plugins ...
{
"name": "new-plugin",
"source": "./plugins/new-plugin",
"description": "Brief description for marketplace listing"
}
]
}
When adding a new plugin, you must bump versions in both the plugin's plugin.json and the marketplace's marketplace.json.
After modifying plugin content, bump the version in plugins/{plugin-name}/.claude-plugin/plugin.json:
Determine the bump type:
| Change Type | Bump | Example |
|---|---|---|
| Bug fix, documentation update, internal refactoring | PATCH (0.0.x) | 0.2.0 -> 0.2.1 |
| New skill, command, agent, or hook added | MINOR (0.x.0) | 0.2.1 -> 0.3.0 |
| Breaking change (renamed/removed public interface) | MAJOR (x.0.0) | 0.3.0 -> 1.0.0 |
Default to PATCH unless the change adds new capabilities (MINOR) or breaks existing interfaces (MAJOR).
Edit the version field:
{
"version": "0.2.1" // <-- bump this
}
Verify the bump:
jq -r '.version' plugins/{plugin-name}/.claude-plugin/plugin.json
After modifying marketplace.json, bump the marketplace version:
Determine the bump type:
| Change Type | Bump | Example |
|---|---|---|
| Description update, metadata fix | PATCH (0.0.x) | 0.2.0 -> 0.2.1 |
| New plugin registered | MINOR (0.x.0) | 0.2.1 -> 0.3.0 |
| Breaking structural change | MAJOR (x.0.0) | 0.3.0 -> 1.0.0 |
Default to PATCH unless a new plugin is being added (MINOR) or the marketplace structure changes (MAJOR).
Edit the version field in .claude-plugin/marketplace.json:
{
"version": "0.2.1" // <-- bump this
}
Verify the bump:
jq -r '.version' .claude-plugin/marketplace.json
Update the marketplace's main README.md:
When modifying plugins, keep documentation in sync:
When adding or removing agents, commands, or skills:
README.md to reflect changesREADME.mdFor detailed semver tables and verification commands, see Step 5: Version Bumps in the "Adding a New Plugin" workflow. Quick reference:
Before committing marketplace changes, verify:
name in plugin.jsonname in plugin.jsonsource path in marketplace.jsonplugin.json (PATCH or MAJOR per the semver table in Step 5: Version Bumps - Plugin Version Bump)marketplace.json (PATCH per the semver table in Step 5: Version Bumps - Marketplace Version Bump)plugin.json files (MINOR for the destination, PATCH for the source, per the semver table in Step 5: Version Bumps - Plugin Version Bump)init_plugin.py - Initialize new plugin directory structureplugin-structure.md - Detailed plugin directory structure referenceplugin-readme-template.md - Template for plugin README filesnpx claudepluginhub manifoldlogic/claude-code-plugins --plugin claude-code-devGuides creating, validating, and managing Claude Code plugin marketplaces including marketplace.json schema, plugin entries, and best practices for setup and distribution.
Guides creation, validation, and management of Claude Code plugin marketplaces and marketplace.json files.
Create and configure Claude Code marketplaces and plugins. Use when the user wants to create a marketplace, publish plugins, set up team plugin distribution, or configure marketplace.json or plugin.json files. Triggers: create marketplace, publish plugin, plugin distribution, marketplace.json, plugin.json, team plugins, share plugins