Add root .claude-plugin/marketplace.json for marketplace discovery#6
Merged
Conversation
…marketplace - Add .claude-plugin/marketplace.json at the repo root. Claude Code discovers a marketplace by looking for this file at the root of the added source, so `claude plugin marketplace add kimmingul/samplesize-copilot` now resolves it. It exposes the single plugin via source "./plugin". - Remove the redundant nested plugin/.claude-plugin/marketplace.json (a marketplace manifest inside a plugin directory is non-standard; the root manifest replaces it). The plugin manifest plugin/.claude-plugin/plugin.json is unchanged. - README: register the marketplace from the repo root (or GitHub) and install samplesize-copilot@samplesize-copilot. Validated: marketplace.json has required name + plugins[]; source ./plugin resolves to plugin/.claude-plugin/plugin.json with matching name; plugin validate.py all checks pass; samplesize doctor 9/9. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Makes the repo addable as a Claude Code plugin marketplace from its root.
Problem
Claude Code discovers a marketplace by reading
.claude-plugin/marketplace.jsonat the root of the added source. The manifest previously lived only atplugin/.claude-plugin/marketplace.json, soclaude plugin marketplace add kimmingul/samplesize-copilot(repo root) could not find it.Changes
.claude-plugin/marketplace.jsonat the repo root — exposes the single plugin via"source": "./plugin"(path relative to the repo root, resolving toplugin/.claude-plugin/plugin.json).plugin/.claude-plugin/marketplace.json— a marketplace manifest inside a plugin directory is non-standard; the root manifest replaces it.plugin/.claude-plugin/plugin.json(the plugin manifest) is unchanged.claude plugin marketplace add kimmingul/samplesize-copilot) andclaude plugin install samplesize-copilot@samplesize-copilot.Validation
marketplace.json: valid JSON; requiredname+plugins[];source: ./pluginresolves to a dir containing.claude-plugin/plugin.json; plugin name matches (samplesize-copilotv0.1.0).plugin/.claude-plugin/validate.py: plugin.json + 6 commands + 3 agents + 4 skills all pass.samplesize doctor: 9/9.🤖 Generated with Claude Code