Where do slash-commands live, and do they sync across machines?

Two scopes. Project: .claude/commands/<name>.md, commits with your repo, syncs to teammates via git. User: ~/.claude/commands/<name>.md, only on your laptop. The file is plain Markdown with optional YAML frontmatter for argument hints. Project commands win on name collisions. Rule of thumb: anything Magento-specific (/scaffold-feature, /add-graphql) goes in the project; anything personal (/explain-this, /summarise) goes in user. Don't put secrets in either, commands are plain text and end up in the prompt.

Kishan Savaliya
Kishan Savaliya
Adobe Certified Magento Commerce Developer
Ahmedabad [IN]working hours, replies within four hours
When do you need it

Read personally. Never shared. Or email the brief.

More on claude, slash-commands

Need it fixed, not just explained?

Send the brief with your store URL; the written quote comes back within 24 hours.