Chat on WhatsApp

Are slash-commands like Cursor’s @-mentions?

Different shape, similar goal. Cursor @-mentions reference files / docs / web pages inline in chat. Claude Code slash-commands are reusable prompt templates stored as Markdown files in .claude/commands/. When you type /scaffold-module, Claude Code injects the contents of .claude/commands/scaffold-module.md as your prompt — with optional argument substitution.

Slash-commands are repeatable workflows — you write the prompt once (“scaffold a Magento module with these conventions, db_schema, registration, MFTF test stub”), then any team member runs it with one keystroke. Claude Code also supports arguments ($ARGUMENTS placeholder) and file references (@path/to/file) inside command files, so you get the best of both worlds.

Was this helpful?