Skip to content

docs: Install plugins at user scope, not project - #25

Merged
ecv merged 1 commit into
mainfrom
docs/user-scope-install
Jul 30, 2026
Merged

docs: Install plugins at user scope, not project#25
ecv merged 1 commit into
mainfrom
docs/user-scope-install

Conversation

@ecv

@ecv ecv commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Summary

A project-scoped install binds the plugin to the directory it was installed from, and that record then suppresses the auto-install in every other repo. The plugin stays enabled in settings and listed by claude plugin list, but its skills never load — with no signal to the user.

This bit datum-cloud/infra, whose CLAUDE.md requires the pr-conventions and release skills. Sessions followed those instructions, found no skill, and carried on against a reconstructed guess at the conventions. The people affected are the ones who installed the plugin earliest; anyone who never installed by hand is fine, because the repo config auto-installs correctly on a clean machine.

The README's install section didn't mention scope at all, so nothing steered people away from it. This documents user scope as correct and adds recovery steps.

Test plan

  • Clean project declaring enabledPlugins auto-installs the plugin on first session, no prior install record
  • --scope user install restores skill loading with a stale project-scoped entry still present
  • Verified via claude -p that datum-platform and datum-gtm skills resolve in a repo they previously did not
  • Confirmed uninstall --scope project strips the plugin from the repo's tracked .claude/settings.json

Fixes #24

A project-scoped install binds the plugin to the directory it was installed
from. That record then suppresses the auto-install in every other repo: the
plugin stays enabled in settings and listed by `claude plugin list`, but its
skills never load, with no signal to the user.

This bit datum-cloud/infra, where CLAUDE.md requires the pr-conventions and
release skills. Sessions followed those instructions, found no skill, and
carried on against a reconstructed guess at the conventions.

Key changes:
- Document user scope as the correct install scope, and note that the
  interactive /plugin flow asks while the CLI already defaults to it
- Add recovery steps for anyone already broken, including the warning that
  `uninstall --scope project` strips the plugin from the repo's tracked
  settings.json
@ecv

ecv commented Jul 30, 2026

Copy link
Copy Markdown
Contributor Author

very confusing behaviour here

@ecv
ecv merged commit 4b93941 into main Jul 30, 2026
1 check passed
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.

Stale project-scoped install silently suppresses datum-platform in every other repo

2 participants