Skip to content

fix(coding-agent): hide plugin skills from slash commands#2651

Merged
can1357 merged 2 commits into
mainfrom
farm/996b92f3/hide-plugin-skills-slash-commands
Jun 15, 2026
Merged

fix(coding-agent): hide plugin skills from slash commands#2651
can1357 merged 2 commits into
mainfrom
farm/996b92f3/hide-plugin-skills-slash-commands

Conversation

@roboomp

@roboomp roboomp commented Jun 15, 2026

Copy link
Copy Markdown
Collaborator

Repro

A Claude marketplace plugin with skills/understand/SKILL.md was loaded as both a skill and a bare slash command. Reproduced with bun test packages/coding-agent/test/discovery/claude-plugins.test.ts --test-name-pattern "exposes plugin skills as bare slash commands", which passed on the old code because /understand expanded to the skill body.

Cause

packages/coding-agent/src/discovery/claude-plugins.ts called loadSkillSlashCommands() from loadSlashCommands(), scanning each plugin skills/ directory and appending those skills to the slash-command capability in addition to the normal skill provider.

Fix

  • Removed plugin skill-to-slash-command mirroring from Claude plugin slash-command discovery.
  • Kept plugin commands / slash-commands directory loading unchanged.
  • Updated packages/coding-agent/test/discovery/claude-plugins.test.ts to assert plugin skills remain loadable as skills but absent from slash commands, while command manifest entries still load.
  • Added the coding-agent changelog entry for fix(coding-agent): Claude plugin skills should not appear as slash commands #2645.

Verification

bun test packages/coding-agent/test/discovery/claude-plugins.test.ts --test-name-pattern "keeps plugin skills out of slash commands|reads slash commands directory from plugin manifest commands field|reads slash commands directory from plugin manifest slash-commands field" passed. bun test packages/coding-agent/test/discovery/claude-plugins.test.ts passed. Fixes #2645

roboomp added 2 commits June 15, 2026 12:52
Removed Claude marketplace plugin skill mirroring from slash-command discovery while keeping real plugin commands registered.\n\nFixes #2645
@can1357 can1357 merged commit b7a6a5e into main Jun 15, 2026
19 checks 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.

fix(coding-agent): Claude plugin skills should not appear as slash commands

2 participants