Skip to content

Add root .claude-plugin/marketplace.json for marketplace discovery#6

Merged
kimmingul merged 1 commit into
mainfrom
add-root-marketplace-manifest
May 26, 2026
Merged

Add root .claude-plugin/marketplace.json for marketplace discovery#6
kimmingul merged 1 commit into
mainfrom
add-root-marketplace-manifest

Conversation

@kimmingul

Copy link
Copy Markdown
Owner

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.json at the root of the added source. The manifest previously lived only at plugin/.claude-plugin/marketplace.json, so claude plugin marketplace add kimmingul/samplesize-copilot (repo root) could not find it.

Changes

  • Add .claude-plugin/marketplace.json at the repo root — exposes the single plugin via "source": "./plugin" (path relative to the repo root, resolving to plugin/.claude-plugin/plugin.json).
  • Remove the redundant nested 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.
  • README: marketplace add now uses the repo root / GitHub (claude plugin marketplace add kimmingul/samplesize-copilot) and claude plugin install samplesize-copilot@samplesize-copilot.

Validation

  • marketplace.json: valid JSON; required name + plugins[]; source: ./plugin resolves to a dir containing .claude-plugin/plugin.json; plugin name matches (samplesize-copilot v0.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

…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>
@kimmingul kimmingul merged commit e36eb74 into main May 26, 2026
6 checks passed
@kimmingul kimmingul deleted the add-root-marketplace-manifest branch May 26, 2026 07:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants