Fix: use self-referencing source so /plugin install handoff works - #1
Open
gardinermichael wants to merge 1 commit into
Open
Conversation
The marketplace.json listed the handoff plugin with a `github:willseltzer/claude-handoff` source, which points back at this same repository. When `/plugin install handoff` runs, Claude Code treats that as a separate plugin source to fetch — which fails because the plugin files live at the repo root, not in a nested `claude-handoff` sub-repo. Switch to `"source": "./"` so the plugin resolves from the marketplace checkout itself. This matches the convention used by other single-plugin, root-layout marketplaces (e.g. everything-claude-code, osgrep, Mixedbread-Grep). Verified against other marketplace manifests in the Claude Code plugin ecosystem. Fixes: `/plugin install handoff@handoff-marketplace` failing after `/plugin marketplace add willseltzer/claude-handoff`.
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
/plugin install handoff@handoff-marketplacefails after/plugin marketplace add willseltzer/claude-handoffbecause the marketplace manifest points the plugin'ssourceatgithub:willseltzer/claude-handoff— which is this same repo.Claude Code treats the plugin
sourceas a separate artifact to fetch, expecting the plugin layout (.claude-plugin/plugin.json,commands/,skills/, …) to live at the root of whatever that source resolves to. In the current manifest it resolves back to this repo via GitHub, but then Claude Code can't cleanly reconcile a plugin source that is identical to the marketplace source, and the install does not complete.Fix
Change the plugin
sourceto"./"so the plugin is loaded from the marketplace checkout itself — which is exactly where its files already live (/.claude-plugin/plugin.json,/commands/*.md,/skills/handoff/*).This matches the convention used by other single-plugin, root-layout marketplaces in the Claude Code ecosystem, including:
affaan-m/everything-claude-code→"source": "./"Ryandonofrio3/osgrep→"source": "./plugins/osgrep"(nested) but root-layout marketplaces consistently use"./"Diff
{ "name": "handoff", - "source": { - "source": "github", - "repo": "willseltzer/claude-handoff" - }, + "source": "./", "description": "Hand off context to any AI coding agent", "version": "1.0.0" }Test plan
/plugin marketplace add willseltzer/claude-handoff/plugin install handoff@handoff-marketplace/handoff:create,/handoff:quick,/handoff:resumecommands appearhandoffskill is loaded