Learn Claude Code on your own Magento repo, one step at a time.
An eight-step path written by Kishan Savaliya, Adobe Certified Magento developer. Each step has an exercise you run on a copy of your own repo and a “done when” check, so you know when to move on. Free to follow on this page; 1:1 sessions are optional.
- 8 steps, each with an exercise and a check
- Free on this page, no signup
- Optional 1:1 sessions, quoted on request
Who this path is for
You need Magento 2 and Git basics, a paid Claude plan or a Console account, and a copy of a repo you can break.
-
Magento developers new to Claude Code
You know modules, DI and
bin/magento, and want to use Claude Code without handing it the keys to production. Start at step 1. -
Hyvä developers
Steps 1 to 5 are the same for you. After that, the Hyvä page covers theme builds, compat modules and Hyvä Checkout work.
-
Tech leads setting team rules
Steps 2, 5 and 8 are the ones your whole team shares: the committed
CLAUDE.md, the permission rules and hooks, and who reviews what. -
Agency owners deciding whether to adopt it
Run steps 1 to 4 on a non-production copy of one client repo. That shows what Claude Code does well on your codebase and what still needs a developer.
Six files and habits you keep after the path
Things you can open in your repo and show your team. There is no certificate.
-
A CLAUDE.md you trust
Short, committed, with the commands that build and check your repo and the rules Claude would not guess.
-
A settings.json with deny rules
Secrets such as
app/etc/env.phpand destructive commands blocked for Claude’s file tools and common shell reads, for everyone who clones the repo. Turn on the sandbox for OS-level blocking. -
At least one working hook
A hook that blocks vendor edits or runs
php -lafter each PHP edit, tested by trying to break it. -
One skill for a repeated task
A
/namecommand for something you type every week, with arguments. -
A read-only reviewer subagent
A subagent with read tools only that reviews the changed files you pass it, in its own context, and reports file and line.
-
A headless script
A
claude -pcall with allowed tools listed, ready to use in a script or CI job.
Eight steps, each with an exercise and a check
Go at your own pace. Each step ends with a line that says when it is done, so you can test yourself on your own repo.
-
01
Install and run a read-only session
Install Claude Code, log in and run
claude doctor. Then, in a copy of your Magento repo, ask it to explain one module inapp/codewithout editing anything. Done when you can say which files it read and where its explanation was wrong. -
02
Write a short CLAUDE.md
Run
/init, then cut the result to the commands, conventions and gotchas Claude cannot find by reading the code, such as “never editvendor/”. Done when the file is under 200 lines and a fresh session follows it without being reminded. -
03
Write specific prompts, plan first
Rewrite a vague request (“fix the grid”) into one that names the file, the symptom and what done looks like. For a multi-file change, ask for a plan before any edit. Done when Claude asks fewer clarifying questions than before. The prompt engineering page has worked examples.
-
04
Give it a check to run
Add the command that proves work in your repo to
CLAUDE.md:php -l, a PHPUnit path orphpcs --standard=Magento2. Ask Claude to show the command and its output when it says it is done. Done when a broken change gets caught by the check, not by you. -
05
Permission rules and one hook
In
.claude/settings.json, denyRead(./app/etc/env.php), then add aPreToolUsehook that refuses edits undervendor/. The deny rule covers Claude’s file tools and common shell reads such ascatorhead, not every command; turn on the sandbox for OS-level blocking. Done when Claude’s Read tool andcat app/etc/env.phpare both refused, and an edit to a vendor file is blocked by the hook. -
06
Turn a repeated task into a skill
Pick a prompt you type every week and save it as
.claude/skills/<name>/SKILL.mdwith$ARGUMENTSfor the input, for example a new plugin class inPanth\YourModule\Plugin. Done when/<name> Catalog/Productgives you a result you would commit. -
07
A reviewer subagent and one MCP server
Create
.claude/agents/magento-reviewer.mdwithtools: Read, Grep, Globso it cannot edit or run commands. In the main session, rungit diff --name-only main...HEADand pass the list of changed files to the reviewer. Add one MCP server you trust withclaude mcp add. Done when the reviewer finds a real issue in a branch and the server answers one question. -
08
Scripts and team workflow
Run
claude -pwith--allowedToolsfrom a script, for example to explain a failing build log. Agree with your team who reviews Claude’s commits and keep branch protection on. Done when the script runs without prompts and a person still approves every merge.
How to use this path
Self-study is free. 1:1 sessions are optional.
-
01
Use a safe copy
Work on a branch or a local copy of a repo, never on a production server. Every step assumes you can throw the result away.
-
02
Work the steps in order
Each step builds on the one before. Keep the setup guide open as the reference for exact file names and commands.
-
03
Pass the check
Move on only when the “done when” line for the step is true on your own repo.
-
04
Optional 1:1 review
If you want a second pair of eyes on your setup, message me on WhatsApp. Sessions are quoted on request.
-
05
Keep what you built
Commit the files from steps 2, 5, 6 and 7 so the rest of your team starts from the same setup.
Your quote
Get a fixed quote for your project
Send your store URL and describe what you want to change. We can review the requirements and agree a written scope, quote and timeline before work starts.
- Written scope, price and timeline
- You approve every change
Want someone to review your setup?
Send me a short WhatsApp message with your stack and the step you are on. I reply with questions or a quote.
Message me on WhatsApp
No form to fill. Send me a quick message. I reply during 10 AM to 7 PM IST, Monday to Saturday.
Helpful to mention
- Company and role
- Current skill level
- What you need
- What do you want to build
- How did you hear about us
- Notes / questions
These are already in the message for you. Just add your answers.
Message me on WhatsAppOr save my number: +91 84012 70422
What clients say about working with me
Reviews from merchants and developers I have worked with.
Clients I work with are in
- United States
- United Kingdom
- Canada
- Australia
- Germany
- France
- Netherlands
- India