fix(skills): rename code-review skill to coderabbit-review to stop shadowing Claude Code's built-in /code-review#19
Conversation
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.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Central YAML (base), Organization UI (inherited) Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (3)
🔗 Linked repositories identifiedCodeRabbit considers these linked repositories for cross-repo context during reviews:
📜 Recent review details🔇 Additional comments (3)
📝 WalkthroughWalkthroughThe skill previously named ChangesSkill rename: code-review → coderabbit-review
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
✨ Simplify 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. Comment |
The problem
Installing the
code-reviewskill in Claude Code breaks Claude Code's own built-in/code-reviewcommand. The skill registers its slash command from thename:field, soname: code-reviewclaims the global/code-reviewand 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 makesname:bypass the namespace and grab the bare global name (upstream: anthropics/claude-code#22063). And on thenpx skills addpath the skill installs with no namespace at all, so it's/code-revieweither way.The fix
Rename the skill
code-review→coderabbit-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-reviewcommand, and stays correct once #22063 is fixed upstream. Kept thename:field, since every skill here has one (e.g.autofix).Changes
skills/code-review/→skills/coderabbit-review/(name:+ version bump)Natural-language triggers ("review my code") are unchanged — only the explicit slash command moves from
/code-reviewto/coderabbit-review.Closes #18.
Summary by CodeRabbit
Bug Fixes
code-reviewskill tocoderabbit-reviewDocumentation