claude-code - 💡(How to fix) Fix Plugin skill shadows built-in /review command via unqualified name resolution [2 comments, 3 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#48750Fetched 2026-04-16 06:52:01
View on GitHub
Comments
2
Participants
3
Timeline
6
Reactions
0
Author
Timeline (top)
labeled ×4commented ×2
RAW_BUFFERClick to expand / collapse

Bug Description

Typing /review at the Claude Code prompt resolves to a plugin skill (ikh:review) instead of the built-in /review (PR review) command. According to the plugin docs, plugin skills should only be reachable via their namespaced name (e.g., /ikh:review), not the short form.

Steps to Reproduce

  1. Install a plugin (e.g., ikh) that has a skill with folder name review (registered as ikh:review)
  2. The built-in /review command (PR review) is also available
  3. Type /review in the prompt
  4. Observe: it expands to the plugin's ikh:review skill instead of the built-in /review

Expected Behavior

/review should resolve to the built-in review command. The plugin skill should only be reachable as /ikh:review (fully qualified with namespace).

The docs explicitly state:

Plugin skills are always namespaced (like /my-first-plugin:hello) to prevent conflicts when multiple plugins have skills with the same name.

Actual Behavior

/review resolves to ikh:review (the plugin skill), making the built-in /review unreachable.

Environment

  • Claude Code version: 2.1.101+
  • Plugin: custom plugin with name: "ikh" in plugin.json
  • Skill: skills/review/SKILL.md with standard frontmatter

Related Issues

  • #35585 — Same class of bug: built-in /btw command conflicted with superpowers plugin skill resolution

Suggested Fix

Built-in commands should take priority over unqualified plugin skill name matches. When a user types /review, resolution order should be:

  1. Built-in commands (exact match)
  2. Plugin skills (exact match on fully-qualified name only)

extent analysis

TL;DR

Update the command resolution logic to prioritize built-in commands over unqualified plugin skill name matches.

Guidance

  • Review the current command resolution logic to identify where the prioritization of built-in commands is not being enforced.
  • Modify the resolution order to follow the suggested fix: first check for exact matches with built-in commands, then check for exact matches with fully-qualified plugin skill names.
  • Verify that the updated logic correctly resolves /review to the built-in review command and not the plugin skill.
  • Test the updated logic with other built-in commands and plugin skills to ensure there are no unintended consequences.

Example

No code snippet is provided as the issue does not include specific code details, but the resolution logic update might involve modifying a function that handles command resolution, such as a resolveCommand function.

Notes

The suggested fix implies a change to the command resolution logic, which may require updates to the Claude Code core or plugin management code. The exact implementation details are not provided, so the guidance is focused on the general approach to resolving the issue.

Recommendation

Apply the suggested fix by updating the command resolution logic to prioritize built-in commands, as this directly addresses the root cause of the issue and ensures that built-in commands are always reachable.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING