[Bug] Slash Command Validation Fails with Dot Notation

Resolved 💬 3 comments Opened Oct 15, 2025 by arittr Closed Jan 11, 2026

Bug Description
Slash commands including . (e.g. /some.command) aren't parsed/validated correctly. Any command will be accepted and treated as regular input and not a slash command.

Note while /xxx and /xxx-xxx are correctly parsed, /xxx.xxx is passed as model input.

> Unknown slash command: xxx

> /xxx.xxx
  ⎿  Interrupted · What should Claude do instead?

> Unknown slash command: xxx-xxx

Environment Info

  • Platform: darwin
  • Terminal: ghostty
  • Version: 2.0.15
  • Feedback ID: fc089211-caa8-4945-8d93-8069d5cf8427

Errors

[{"error":"Error: Request was aborted.\n    at Ky.makeRequest (file:///Users/drewritter/Library/pnpm/global/5/.pnpm/@anthropic-ai+claude-code@2.0.15/node_modules/@anthropic-ai/claude-code/cli.js:573:3850)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-10-15T06:37:23.686Z"}]

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗