/ed3d-extending-claude:maintaining-a-marketplacefrom ed3d-extending-claude
Covers marketplace.json schema, version management, release checklists, changelog conventions, and validation to prevent sync drift between plugin.json and marketplace.json for a Claude Code Plugin Marketplace.
Ships in ed3d-extending-claude. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A Claude Code Plugin Marketplace is a git repository containing .claude-plugin/marketplace.json that catalogs plugins for discovery and installation. The primary maintenance challenge is sync drift — keeping versions, descriptions, and metadata consistent across plugin.json, marketplace.json, and CHANGELOG.md.
my-marketplace/
.claude-plugin/
marketplace.json # Required: marketplace catalog
plugins/
plugin-a/
.claude-plugin/
plugin.json # Required: plugin manifest
skills/
commands/
agents/
plugin-b/
.claude-plugin/
plugin.json
{
"$schema": "https://anthropic.com/claude-code/marketplace.schema.json",
"name": "my-marketplace",
"owner": {
"name": "Your Name",
"email": "[email protected]"
},
"metadata": {
"description": "Brief marketplace description",
"version": "1.0.0",
"pluginRoot": "./plugins"
},
"plugins": [
{
"name": "my-plugin",
"source": "./plugins/my-plugin",
"description": "What this plugin does",
"version": "1.0.0",
"author": {
"name": "Your Name",
"email": "[email protected]"
},
"license": "MIT",
"keywords": ["category1", "category2"],
"category": "development"
}
]
}
Required fields:
name — Kebab-case marketplace identifier. Users see this: /plugin install my-tool@marketplace-nameowner.name — Maintainer name (string, not bare string for owner)plugins — Array of plugin entriesEach plugin entry requires:
name — Kebab-case plugin identifiersource — Where to fetch the plugin (see Source Formats below)Common optional fields: description, version, author, license, keywords, category, tags, homepage, repository
Fields that DO NOT exist (do not invent these): displayName, installUrl, path, marketplace (as wrapper object)
// Relative path (monorepo — only works with git-based marketplace add)
"source": "./plugins/my-plugin"
// GitHub repository
"source": { "source": "github", "repo": "owner/repo" }
// GitHub with pinned version
"source": { "source": "github", "repo": "owner/repo", "ref": "v2.0.0", "sha": "a1b2c3..." }
// Git URL (GitLab, Bitbucket, self-hosted)
"source": { "source": "url", "url": "https://gitlab.com/team/plugin.git" }
When releasing a new plugin version, update these files in this order:
plugins/<name>/.claude-plugin/plugin.json — Bump version.claude-plugin/marketplace.json — Update matching plugin entry's version to the same valueCHANGELOG.md — Add entry at the top (after # Changelog heading)claude plugin validate . or /plugin validate . from the marketplace root## plugin-name X.Y.Z
Brief description of the release (1-2 sentences).
**New:**
- Specific new features or additions
**Changed:**
- Modifications to existing behavior
**Fixed:**
- Bug fixes
Only include sections that apply. Be specific — "Added code-review-checklist skill for systematic code review" not "Added new skill."
After editing, verify these match:
plugins/<name>/.claude-plugin/plugin.json → version.claude-plugin/marketplace.json → plugin entry's versionCHANGELOG.md → entry header ## plugin-name X.Y.ZAll three MUST show the same version string.
.claude-plugin/marketplace.jsonname and source at minimum$schema field for validationclaude plugin validate ./plugin marketplace add ./my-marketplaceplugin.json to extract metadataplugins array in marketplace.json with fields matching plugin.jsonclaude plugin validate .Users add your marketplace by its git location:
# GitHub
/plugin marketplace add owner/repo
# Other git hosts
/plugin marketplace add https://gitlab.com/company/plugins.git
# Specific branch/tag
/plugin marketplace add https://gitlab.com/company/plugins.git#v1.0.0
# Local (development)
/plugin marketplace add ./my-marketplace
Users install plugins from your marketplace:
/plugin install plugin-name@marketplace-name
/plugin → Marketplaces tabAdd to .claude/settings.json in a project repo to prompt team members to install:
{
"extraKnownMarketplaces": {
"company-tools": {
"source": { "source": "github", "repo": "your-org/claude-plugins" }
}
},
"enabledPlugins": {
"formatter@company-tools": true
}
}
Manual install uses existing git credential helpers. For background auto-updates, set environment tokens:
| Provider | Variables |
|---|---|
| GitHub | GITHUB_TOKEN or GH_TOKEN |
| GitLab | GITLAB_TOKEN or GL_TOKEN |
| Bitbucket | BITBUCKET_TOKEN |
| Mistake | Symptom | Fix |
|---|---|---|
| Version drift between plugin.json and marketplace.json | Old version installed despite push | Verify both files show same version |
| Skipping validation | JSON syntax errors, missing fields | Run claude plugin validate . before every push |
| Generic changelog entries | Users can't evaluate upgrade value | Describe specific changes, name affected skills/agents |
| Inventing schema fields | Validation errors, plugins not found | Only use fields from the schema above |
Using owner as string | Validation error | owner must be object: {"name": "...", "email": "..."} |
| Missing source in plugin entry | Plugin can't be installed | Every plugin entry needs source |
| Relative paths in URL-based marketplace | "path not found" errors | Only use relative paths with git-based marketplace add |
| Not committing all sync files together | Partial release, version mismatch | Single commit for plugin.json + marketplace.json + CHANGELOG.md |
| Forgetting to push | Local changes, users see old version | Commit AND push after release |
| Task | Files to Touch |
|---|---|
| New plugin version | plugin.json + marketplace.json + CHANGELOG.md |
| New plugin added | marketplace.json + CHANGELOG.md |
| New marketplace | .claude-plugin/marketplace.json only |
| Description update | plugin.json + marketplace.json (keep in sync) |
| Validate | claude plugin validate . or /plugin validate . |
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub ed3dai/ed3d-plugins --plugin ed3d-extending-claude9 skills in this plugin
/creating-an-agentUse when creating specialized subagents for Claude Code plugins or the Task tool - covers description writing for auto-delegation, tool selection, prompt structure, and testing agents/creating-a-pluginUse when creating a new Claude Code plugin or setting up plugin structure - provides complete file organization, manifest format, and component definitions for commands, agents, skills, hooks, and MCP servers/maintaining-project-contextUse when completing development phases or branches to identify and update CLAUDE.md or AGENTS.md files that may have become stale - analyzes what changed, determines affected contracts and documentation, and coordinates updates/prompt-security-hardeningUse when writing skills, CLAUDE.md files, agent prompts, or any directives that involve shell commands, environment variables, API credentials, file creation, or git operations - prevents secrets leakage into LLM context, unsafe shell patterns, and credential exposure/testing-skills-with-subagentsUse when creating or editing skills, before deployment, to verify they work under pressure and resist rationalization - applies RED-GREEN-REFACTOR cycle to process documentation by running baseline without skill, writing to address failures, iterating to close loopholes/writing-claude-directivesUse when writing instructions that guide Claude behavior - skills, CLAUDE.md files, agent prompts, system prompts. Covers token efficiency, compliance techniques, and discovery optimization.Other plugins' skills for the same job