fix(plugin): add root marketplace.json so remote /plugin install works (#84)#85
Draft
javiarmesto wants to merge 1 commit into
Draft
fix(plugin): add root marketplace.json so remote /plugin install works (#84)#85javiarmesto wants to merge 1 commit into
javiarmesto wants to merge 1 commit into
Conversation
…ll works /plugin marketplace add javiarmesto/ALDC-AL-Development-Collection looks for .claude-plugin/marketplace.json at the REPO ROOT (per Claude Code docs), but the manifest only existed nested at claude-plugin/.claude-plugin/marketplace.json — hence 'Marketplace file not found at ...\.claude-plugin\marketplace.json'. Add a root marketplace.json whose plugin source resolves relative to the marketplace root (repo root) to ./claude-plugin, the dir that contains .claude-plugin/plugin.json + agents/skills/commands/hooks. The nested manifest is kept so the local 'add ./claude-plugin' method still works. Fixes #84 https://claude.ai/code/session_01KDEqho2A9337XJvnTVgGxA
Contributor
📋 Collection Validation Results✅ Validation passed! |
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.
Fixes #84 —
/plugin marketplace add"Marketplace file not found"Root cause
/plugin marketplace add javiarmesto/ALDC-AL-Development-Collectionlooks for.claude-plugin/marketplace.jsonat the repository root (confirmed in the Claude Code docs: "Create.claude-plugin/marketplace.jsonin your repository root"). This repo only had the manifest nested atclaude-plugin/.claude-plugin/marketplace.json, so the remote add fails with exactly:(The local method
/plugin marketplace add ./claude-pluginworked because the manifest is at the root of that subdirectory.)Fix
Add
.claude-plugin/marketplace.jsonat the repo root. Its pluginsourceis./claude-plugin— per the docs, source paths resolve relative to the marketplace root (repo root), and./claude-pluginis the directory that contains.claude-plugin/plugin.json+agents/skills/commands/hooks.Now working
Verified
marketplace.jsonparses;source: ./claude-plugincontains.claude-plugin/plugin.jsonand the full plugin structure.claude-plugin/.claude-plugin/marketplace.jsonkept untouched → the localadd ./claude-pluginpath still works.🤖 Generated with Claude Code
Generated by Claude Code