claude-code
claude-code copied to clipboard
Custom slash commands docs are incorrect
Docs: https://docs.anthropic.com/en/docs/claude-code/slash-commands#custom-slash-commands
The documentation states that commands will be prefixed and will be in a namespace.
I have a command in:
.claude/commands/foo/commit.md
And in the TUI, it shows up as:
/commit Make a git commit (project:foo)
So, as you can see, there's no actual namespacing of the command itself.
But it does mention the project:foo in the description for some reason.
I think there was some changes made to the slash commands to make them easier to use. But the Claude Code team have not updated the doc yet.
Late reply, but we restored namespacing in v1.0.51. The documentation in https://docs.anthropic.com/en/docs/claude-code/slash-commands#namespacing should be up-to-date.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.