[BUG] docs: invalid escaping for custom command argument example
Resolved 💬 2 comments Opened Jun 27, 2025 by tennox Closed Jul 7, 2025
Bug Description
(very minor) mistake in the docs: https://docs.anthropic.com/en/docs/claude-code/slash-commands#arguments
# Command definition
echo "Fix issue #$ARGUMENTS following our coding standards" > .claude/commands/fix-issue.md
# Usage
> /project:fix-issue 123
But that obviously wouldn't work:
bash$ echo "Fix issue #$ARGUMENTS following our coding standards"
Fix issue # following our coding standards
Expected Docs
# Command definition
echo 'Fix issue #$ARGUMENTS following our coding standards' > .claude/commands/fix-issue.md
Additional Context
Wasn't clear where to report mistakes in the docs
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗