fix(plugin): add marketplace manifest so the documented install works - #159
Merged
Conversation
The repo shipped a plugin manifest at tools/claude/.claude-plugin/plugin.json but no marketplace catalog, so '/plugin marketplace add stijnvanhulle/template' failed with 'Marketplace file not found'. Add .claude-plugin/marketplace.json at the repo root pointing the 'plugin' entry at ./tools/claude. Marketplace names cannot contain a slash, so the install reference is the manifest name 'stijnvanhulle-template', not the owner/repo slug. Update the README, AGENTS.md, and tools/claude/README.md to 'plugin@stijnvanhulle-template'.
Review or Edit in CodeSandboxOpen the branch in Web Editor • VS Code • Insiders |
Contributor
|
Size Change: 0 B Total Size: 273 B ℹ️ View Unchanged
|
Rename the plugin from 'plugin' to 'template' and the marketplace from 'stijnvanhulle-template' to 'stijnvanhulle' so the install reads 'template@stijnvanhulle'. Marketplace names cannot contain a slash, so the owner/repo form is not possible; this is the closest natural string. Skills are namespaced by plugin name, so the slash commands become /template:spec, /template:plan, etc. when installed via the plugin.
commit: |
4 tasks
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.
What
/plugin marketplace add stijnvanhulle/templatefailed withMarketplace file not found. The repo shipped a plugin manifest attools/claude/.claude-plugin/plugin.jsonbut no marketplace catalog, and/plugin marketplace addonly works against a repo that has.claude-plugin/marketplace.jsonat its root.Changes
.claude-plugin/marketplace.jsonat the repo root. It lists the existingpluginwithsource: "./tools/claude", under the marketplace namestijnvanhulle-template.README.md,AGENTS.md(andCLAUDE.md/GEMINI.md/copilot-instructions via symlink), andtools/claude/README.md.A marketplace name is a kebab-case identifier and cannot contain a slash, so
/plugin installreferences the manifest name, not theowner/reposlug. The slug is only used for/plugin marketplace add. Install now reads:Verify
Or locally without a marketplace:
claude --plugin-dir ./tools/claudehttps://claude.ai/code/session_012NBotWfBeFQWNyELg6Fv6q
Generated by Claude Code