Skip to content

Rename /review command to avoid plugin namespace collision #38

@spallen

Description

@spallen

Problem

The Sanity plugin registers a /review slash command in Claude Code. This is too generic and collides with other plugins that also register /review — specifically the CodeRabbit plugin.

When a user has both plugins installed, typing /review shows two ambiguous options:

/review    (sanity-plugin) Review code for Sanity best practices and common issues.
/review    Review a pull request

There is no way for the user to disambiguate without using the fully-qualified sanity-plugin:review form, which most users don't know about.

Suggested fix

Rename commands/review.md to something namespaced, e.g.:

  • commands/sanity-review.md/sanity-review
  • commands/review-sanity.md/review-sanity

The other Sanity commands are already well-namespaced (/deploy-schema, /sanity, /typegen), so review is the odd one out.

Context

  • Claude Code plugin marketplace plugins share a flat slash-command namespace
  • /review is an extremely common verb — any code-review, security-review, or best-practices plugin is likely to claim it
  • The CodeRabbit plugin has the same issue and is being notified separately

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions