Custom slash commands docs are incorrect
Status Fixed / completed
Maintainer reply ✓ Yes — dicksontsai
Activity 3 comments · opened Jun 24, 2025 · closed Aug 15, 2025
💡 Likely answer: A maintainer (dicksontsai, collaborator)
responded on this thread — see the highlighted reply below.
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.
3 Comments
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.