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.
npx claudepluginhub manifoldlogic/claude-code-plugins --plugin claude-code-devThis skill uses the workspace's default tool permissions.
Guidance for managing Claude Code plugin marketplaces - adding plugins, updating configurations, and maintaining documentation consistency.
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
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@example.com",
"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 files