Skip to content

feat(claude): add pin-plugins skill#193

Merged
laurigates merged 1 commit into
mainfrom
feat/pin-plugins-skill
May 6, 2026
Merged

feat(claude): add pin-plugins skill#193
laurigates merged 1 commit into
mainfrom
feat/pin-plugins-skill

Conversation

@laurigates
Copy link
Copy Markdown
Owner

@laurigates laurigates commented May 6, 2026

Summary

Adds the pin-plugins user-invocable skill: pins every plugin from the laurigates/claude-plugins marketplace explicitly in the current project's .claude/settings.json so project-local state fully overrides the user-global enabledPlugins map.

  • Suggests defaults from repo context (Python → python-plugin, Cargo.tomlrust-plugin, *.tfterraform-plugin, etc.) plus an always-on baseline of broadly useful plugins.
  • Fetches the canonical plugin list via gh api repos/laurigates/claude-plugins/contents/.claude-plugin/marketplace.json — no local marketplace clone, no claude plugin marketplace update needed.
  • Preserves any pre-existing project toggles, shows a grouped diff (added / changed / kept), waits for confirmation, then jq-merges into the file with sorted keys.
  • Explicit non-goals: does not modify ~/.claude/settings.json, does not install plugins or add the marketplace, does not delete keys for plugins removed from the marketplace.

Test plan

  • chezmoi diff ~/.claude/skills/pin-plugins/SKILL.md shows the expected creation
  • chezmoi apply lands ~/.claude/skills/pin-plugins/SKILL.md and the skill appears in the available-skills list
  • Try /pin-plugins in a sample repo (after merge) and confirm the diff/confirm flow works end-to-end

🤖 Generated with Claude Code

@github-actions github-actions Bot added documentation Improvements or additions to documentation claude skills size/m labels May 6, 2026
Pins every plugin from the laurigates/claude-plugins marketplace
explicitly in the project's .claude/settings.json so project-local
state fully overrides the user-global enabledPlugins map. Suggests
defaults from repo context, fetches the canonical list via gh api
(no local marketplace clone needed), and shows a diff before writing.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@laurigates laurigates changed the title feat(claude): pin-plugins skill + zshrc-keybindings rule feat(claude): add pin-plugins skill May 6, 2026
@laurigates laurigates force-pushed the feat/pin-plugins-skill branch from c266dde to d5f9da5 Compare May 6, 2026 12:07
@laurigates laurigates merged commit 8e7857f into main May 6, 2026
7 checks passed
@laurigates laurigates deleted the feat/pin-plugins-skill branch May 6, 2026 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

claude documentation Improvements or additions to documentation size/m skills

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant