Auto-install the plugin for repo-openers via committed .claude/settings.json - #1
Open
omrisavra wants to merge 1 commit into
Open
Auto-install the plugin for repo-openers via committed .claude/settings.json#1omrisavra wants to merge 1 commit into
omrisavra wants to merge 1 commit into
Conversation
Registers the robintax marketplace (extraKnownMarketplaces) and enables robintax@robintax (enabledPlugins) so anyone who opens this repo gets a one-click plugin install (workspace-trust prompt + install confirm) instead of running /plugin commands or remembering --plugin-dir. settings.json was previously gitignored because it had accreted user-specific paths. Those belong in settings.local.json (still gitignored via *.local); the shared marketplace+plugin config is safe to commit, so un-ignore settings.json and document the split. Co-Authored-By: Claude Opus 4.8 (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.
What
Commits a repo-root
.claude/settings.jsonthat registers therobintaxmarketplace and enablesrobintax@robintax, and un-ignores that file in.gitignore.Why
Today the plugin loads only if you launch with
claude --plugin-dir .or manually run/plugin marketplace add+/plugin install. Neither happens for a fresh repo-opener, so/robintax:*skills and thesmart-replayMCP server aren't available.With this committed, anyone who opens the repo gets a one-click install — the workspace-trust prompt plus an install confirmation — no commands, no remembering flags. This is the blessed "team marketplace" pattern (
extraKnownMarketplaces+enabledPlugins).The gitignore nuance
.claude/settings.jsonwas previously gitignored with the comment "has accreted user-specific paths." Claude Code's design splits exactly this:settings.json-> shared, committed (this PR puts only marketplace + plugin config here)settings.local.json-> user-specific, gitignored (still covered by*.local)So we un-ignore
settings.jsonand document the split. No user-specific paths are committed.Config added
{ "extraKnownMarketplaces": { "robintax": { "source": { "source": "github", "repo": "Shargil/RobinTax" } } }, "enabledPlugins": { "robintax@robintax": true } }Dev-workflow note
--plugin-dir .still wins for the session (per docs), so active plugin development is unaffected by having the marketplace version enabled.🤖 Generated with Claude Code