Chat on WhatsApp

How do I set up Claude Code with my Magento store?

Five steps: (1) install Claude Code via npm i -g @anthropic-ai/claude-code; (2) cd into your Magento root; (3) seed a CLAUDE.md at the repo root with project rules (PSR-12, phpcs Magento2, no vendor edits, plugin-over-rewrite, db_schema not raw SQL); (4) add slash-commands for repeated workflows (e.g. /scaffold-module, /setup-patch); (5) run with --allowedTools scoped to Bash(composer:*),Bash(bin/magento:*) for safety. The full setup guide ships in our Claude Code developer guide.

Was this helpful?