Skip to content

fix(skills): rename code-review skill to coderabbit-review to stop shadowing Claude Code's built-in /code-review#19

Open
anatolykoptev wants to merge 1 commit into
coderabbitai:mainfrom
anatolykoptev:fix/code-review-skill-collision
Open

fix(skills): rename code-review skill to coderabbit-review to stop shadowing Claude Code's built-in /code-review#19
anatolykoptev wants to merge 1 commit into
coderabbitai:mainfrom
anatolykoptev:fix/code-review-skill-collision

Conversation

@anatolykoptev

@anatolykoptev anatolykoptev commented Jun 21, 2026

Copy link
Copy Markdown

The problem

Installing the code-review skill in Claude Code breaks Claude Code's own built-in /code-review command. The skill registers its slash command from the name: field, so name: code-review claims the global /code-review and silently shadows the built-in — it just becomes unreachable, with no warning. Reported in #18, and a second user hit it too.

Why it happens

A skill's name: is meant to register under the plugin namespace (/coderabbit:code-review), but a current Claude Code regression makes name: bypass the namespace and grab the bare global name (upstream: anthropics/claude-code#22063). And on the npx skills add path the skill installs with no namespace at all, so it's /code-review either way.

The fix

Rename the skill code-reviewcoderabbit-review (name: + directory). This is collision-free on both install paths — /coderabbit-review (skills package) and /coderabbit:coderabbit-review (plugin) — mirrors the existing /coderabbit:coderabbit-review command, and stays correct once #22063 is fixed upstream. Kept the name: field, since every skill here has one (e.g. autofix).

Changes

  • rename skills/code-review/skills/coderabbit-review/ (name: + version bump)
  • update the README reference
  • add a CHANGELOG entry

Natural-language triggers ("review my code") are unchanged — only the explicit slash command moves from /code-review to /coderabbit-review.

Closes #18.

Summary by CodeRabbit

  • Bug Fixes

    • Renamed the code-review skill to coderabbit-review
  • Documentation

    • Updated README with new skill name and path reference
    • Updated CHANGELOG documenting the skill rename
    • Updated skill metadata including name, description, and version (0.1.1)

The code-review skill registers a bare /code-review slash command (via its frontmatter name), which shadows Claude Code's built-in /code-review and makes it unreachable. Renaming to coderabbit-review is collision-free on both the 'npx skills add' (bare) and Claude Code plugin (/coderabbit:) install paths, and mirrors the existing /coderabbit:coderabbit-review command.

Upstream cause: anthropics/claude-code#22063 (name bypasses plugin namespacing).

Closes coderabbitai#18.
@coderabbitai

coderabbitai Bot commented Jun 21, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Central YAML (base), Organization UI (inherited)

Review profile: CHILL

Plan: Enterprise

Run ID: 7c57fe30-7c76-4447-8015-06461179df66

📥 Commits

Reviewing files that changed from the base of the PR and between a81eb76 and a34fbb2.

📒 Files selected for processing (3)
  • CHANGELOG.md
  • README.md
  • skills/coderabbit-review/SKILL.md
🔗 Linked repositories identified

CodeRabbit considers these linked repositories for cross-repo context during reviews:

  • coderabbitai/bitbucket (manual)
📜 Recent review details
🔇 Additional comments (3)
skills/coderabbit-review/SKILL.md (1)

2-5: LGTM!

README.md (1)

166-166: LGTM!

Also applies to: 218-218

CHANGELOG.md (1)

7-14: LGTM!


📝 Walkthrough

Walkthrough

The skill previously named code-review is renamed to coderabbit-review across its frontmatter metadata (with a version bump from 0.1.0 to 0.1.1), the README's skill listing and Claude Code plugin section, and a new CHANGELOG entry under Unreleased → Fixed.

Changes

Skill rename: code-review → coderabbit-review

Layer / File(s) Summary
Skill metadata, docs, and changelog
skills/coderabbit-review/SKILL.md, README.md, CHANGELOG.md
Frontmatter name updated from code-review to coderabbit-review, description wording revised, and metadata.version bumped to 0.1.1; README skill listing and Claude Code plugin description updated to reference coderabbit-review; CHANGELOG records the fix under Unreleased → Fixed referencing issue #18.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 A name clash was lurking, oh dear, oh no!
/code-review was taken — Claude said "that's mine!"
So Rabbit renamed it with one tiny tweak,
Now coderabbit-review shines bright and unique.
No shadows, no conflicts, just hops in a line! 🎉

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely summarizes the main change: renaming the skill from code-review to coderabbit-review to prevent shadowing Claude Code's built-in command.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
✨ Simplify code
  • Create PR with simplified code

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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.

Skill named code-review collides with Claude Code's built-in /code-review command

1 participant