Claude Code, end-to-end.
Install in 60 seconds. Configure with CLAUDE.md. Ship slash-commands, MCP servers, hooks, and sub-agents. The complete 2026 setup playbook for Anthropic’s official Claude CLI, from a fresh laptop to production-grade AI-paired delivery.
- Install to first PR in 5 minutes
- 100+ production-tested slash-commands shipped
- MCP-ready · Sub-agents · Hooks · Privacy-first
- 5 min
- Install to first PR
- One npm i -g @anthropic-ai/claude-code, one CLAUDE.md, and Claude Code is reading your repo. Your first AI-paired commit lands in under five minutes.
- 100+
- Slash-commands shipped
- Production-tested slash-commands for Magento, Hyvä, setup-patches, MFTF, db_schema, indexers, copy them into .claude/commands/ and ship.
- MCP
- Server-ready
- Connect Claude to GitHub, Linear, Sentry, Postgres, your Magento DB, via the Model Context Protocol. No bespoke glue code, no leaky API keys in your prompt.
- Sub-agents
- + hooks supported
- Run audit, build, and test in parallel sub-agents. Block rm -rf and force-pushes with hooks. Production-grade safety on day one.
Six features every developer should know about
Claude Code isn’t a chat window with a code-export button. It’s a CLI that reads your repo, edits files, runs your tests, and ships PRs end-to-end. Here’s what makes it different.
Install in 60 seconds
A single npm i -g @anthropic-ai/claude-code installs the CLI globally. Run claude in any repo to start a session, no daemon, no IDE plugin, no system service. Authenticate once with your Anthropic API key or Claude Pro/Team account.
CLAUDE.md project rules, write once, AI follows forever
Drop a CLAUDE.md at your repo root with your project conventions: PSR-12, no vendor edits, plugin-over-rewrite, db_schema not raw SQL, MFTF tests required. Claude Code re-reads it every session, your rules become muscle memory for the AI.
Slash-commands for repeated workflows
Drop reusable prompts as Markdown files in .claude/commands/. We ship /scaffold-module, /setup-patch, /test-coverage, /db-schema-add-column, /hyva-port-block, the AI runs them with one keystroke each.
MCP servers connect Claude to your stack
The Model Context Protocol lets Claude Code talk to GitHub, Linear, Sentry, Postgres, your Magento DB, even your design system, via standardised servers. No bespoke API integration code, no API keys leaked into prompts. Add a server, restart, done.
Hooks gate dangerous commands
Pre-tool hooks block rm -rf, force-pushes, vendor-path writes, and prod credentials before Claude can run them. Post-tool hooks auto-run phpcs, phpstan, and composer validate after every file edit. Your safety net is built into the CLI, not bolted on.
Sub-agents parallelise long-running tasks
Spawn parallel sub-agents for audit, build, and test, each with its own context window. Run a 30-minute Magento codebase audit while another agent ports a Luma block to Hyvä and a third writes MFTF tests, all in parallel, all reporting back to your main session.
Five steps from a fresh laptop to a production AI workflow
Follow these in order. Steps 1-3 take under an hour. Steps 4-5 take a focused day. After that, you ship 3-5× faster forever.
01Install
PT5MRun npm i -g @anthropic-ai/claude-code. Authenticate with claude login using your Anthropic API key or Claude Pro/Team subscription. Verify with claude --version.
02CLAUDE.md
PT15MCreate CLAUDE.md at your repo root with project rules: tech stack, coding standards, “never edit vendor”, test requirements, deploy flow. Claude Code re-reads it every session, this is your single source of AI truth.
03Slash-commands
PT30MDrop reusable workflows as Markdown files in .claude/commands/. Start with /scaffold-module, /setup-patch, /test-coverage, one slash, one repeated job done in seconds.
04MCP + hooks
PT30MWire MCP servers (GitHub, Linear, Sentry, your DB) in .claude/mcp.json. Add pre-tool hooks to block rm -rf and vendor edits, post-tool hooks to auto-run linters. Production-grade safety in 30 minutes.
05Production workflow
PT1DAdopt the daily loop: plan in chat, build with slash-commands, review on staging, commit through your hooks. Spawn sub-agents for parallel audit + build + test runs. You are now shipping 3-5× faster.
Get your team set up, faster than DIY
You can absolutely set up Claude Code yourself for free, the docs are good. We charge for speed, custom <code>CLAUDE.md</code>, and the 100+ slash-commands we’ve already battle-tested in production.
Prices in USD. Quotes available in GBP / EUR / AUD / INR, ask in the booking form. Anthropic API costs (Claude Pro / Team / API) are billed directly by Anthropic and are not included in our setup fees.
Setup Workshop
$499
2-hour live setup · you and your team
Best for: A solo developer or 2-3 person team that wants Claude Code installed, configured with CLAUDE.md, and shipping its first PR, in one live session.
- Live screen-share setup, install to first PR in 2 hours
- Custom CLAUDE.md for your stack (Magento, Hyvä, Laravel, Next.js)
- Starter pack of 10 slash-commands tailored to your workflows
- Hooks configured to block rm -rf, force-push, vendor edits
- Recording + written runbook so you can re-onboard new devs
- 14-day Slack support after the workshop
Team Onboarding Sprint
$1,999
1 week embedded · most popular
Best for: A 4-15 person engineering team that wants Claude Code rolled out across the squad, with shared CLAUDE.md, slash-commands, MCP servers, and team training.
- Everything in Setup Workshop, plus:
- 5 days embedded with your team (async + 2 live sessions / day)
- Repo audit + custom CLAUDE.md per service / monorepo path
- 30+ slash-commands tailored to your team’s tickets
- MCP servers wired: GitHub, Linear/Jira, Sentry, your DB
- Sub-agent + parallel-task playbook for your release cadence
- 60-day Slack support, monthly “new tricks” office hours
Embedded AI Coach
Custom
Monthly retainer · ongoing AI coaching
Best for: Engineering orgs (15+ devs) that want continuous Claude Code coaching, new slash-commands monthly, MCP integrations, sub-agent patterns, AI-paired code review on every PR.
- Everything in Team Onboarding Sprint, plus:
- Embedded into your engineering Slack / Teams
- Monthly AI-workflow review, what’s working, what to drop
- Custom MCP server builds for your internal tools
- AI-paired code-review on team PRs (sample basis)
- Quarterly “new Claude features” training
- On-call support for AI workflow incidents
Get Claude Code shipping in your team this week
Booking takes 2 minutes, we reply with a written setup plan + quote within 24 hours.
- "After trying and failing with multiple development companies Kishan came to the rescue in our hour of need."MLMichael Lin, Natonic
- "Where others quoted 10 hours minimum, he did it within 3."PVPieter Van Hees, Business Branding
- "Sorted out my issue within an hour!"SZSteve Zed
Pick the Claude Code playbook for your stack
You’ve got the general setup. Now go deeper into the workflow that matches your stack, each playbook ships with stack-specific <code>CLAUDE.md</code>, slash-commands, and MFTF / Tailwind / Figma patterns.
- Claude Code prompts library24 copy-paste recipes, CLAUDE.md templates, slash-commands, MCP configs, hooks, sub-agent patterns.
- Claude Code + Magento developmentAI-paired Magento 2 / Adobe Commerce dev. Plugins / observers / preferences only, MFTF + PHPUnit included, Marketplace-pass on first review.
- Claude Code + Hyvä theme developmentTailwind + Alpine.js scaffolding, AI-paired Hyvä phtml builds, Lighthouse 95+ floor, Hyvä-Compatibility-Module bridges.
- Claude Code for UI / UX & web designAI-assisted Figma-to-code, design-system tokens, accessible components, end-to-end frontend rebuilds with Claude Code.
Setup workshops delivered for teams in
Everything you wanted to know about Claude Code
What is Claude Code?
Claude Code is Anthropic’s official command-line interface for Claude. It’s a Node.js CLI you install with npm i -g @anthropic-ai/claude-code and run from your terminal inside any repo. Unlike the chat-window claude.ai, Claude Code reads your real source tree, edits files in place, runs your tests, executes shell commands you authorise, and ships PRs end-to-end. It’s designed to be an AI pair-programmer, you steer, Claude does the keystrokes. Built and maintained by Anthropic, the same company that makes Claude itself.
How is Claude Code different from Cursor, GitHub Copilot, or Aider?
Three key differences:
- Vs. Copilot: Copilot is autocomplete-in-IDE. Claude Code is a CLI agent that plans, edits multiple files, runs tests, and commits PRs, not just inline suggestions.
- Vs. Cursor: Cursor is an IDE (VS Code fork) with chat. Claude Code is editor-agnostic, works in your existing VS Code, JetBrains, Vim, or terminal. Same agent, no IDE lock-in.
- Vs. Aider: Aider is similar in shape (CLI pair-programmer) but provider-neutral. Claude Code is Anthropic-native, so you get first-party access to Claude features (extended thinking, prompt caching, computer use, MCP) without a translation layer. Sub-agents and hooks are also first-party.
For Magento & Hyvä work specifically, Claude Code wins on: real codebase reads, MCP-database access, hook-gated safety, and the slash-command library.
What Claude models does Claude Code use?
By default, the latest production-tier Anthropic model, currently Claude Opus 4.7 for heavy coding tasks and Claude Sonnet 4.6 for fast routine work (May 2026). You can pin specific models with --model or set defaults in your .claude/config.json. Extended thinking mode kicks in automatically for complex tasks (architectural decisions, debugging). You can also route Claude Code via AWS Bedrock or GCP Vertex AI if your org requires cloud-vendor billing, the CLI picks up ANTHROPIC_BEDROCK_BASE_URL / ANTHROPIC_VERTEX_PROJECT_ID env vars.
How do I install Claude Code?
Three steps, ~60 seconds total:
- Install the CLI:
npm i -g @anthropic-ai/claude-code(requires Node.js 18+). - Authenticate: Run
claude login, opens browser, signs in with your Anthropic account (Pro / Team / API). Or setANTHROPIC_API_KEYenv var if you’re using API direct. - Run it:
cdinto any repo, typeclaude, ask your first question. That’s it.
For corporate setups behind a proxy, see the 5-step setup section above. For Magento-specific install + CLAUDE.md, see our Magento playbook.
What is a CLAUDE.md file and why does every project need one?
CLAUDE.md is a Markdown file at your repo root that holds your project rules, coding standards, “never edit vendor”, “always write MFTF tests”, deploy flow, naming conventions, links to internal docs. Claude Code re-reads it at the start of every session, so your team’s rules become muscle memory for the AI. Write once, AI follows forever.
A good Magento CLAUDE.md includes: tech stack (Magento 2.4.x + Hyvä), “no vendor edits”, “plugin-over-rewrite”, “db_schema not raw SQL”, “MFTF tests required”, deploy commands, and a list of internal modules with their purpose. Sub-folders can have their own CLAUDE.md files that compose with the root one, useful for monorepos.
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.
What are MCP servers and why should I use them?
The Model Context Protocol (MCP) is an open standard (open-sourced by Anthropic) for connecting AI assistants to external tools and data sources. An MCP server exposes a specific resource, GitHub, Linear, Sentry, your Postgres database, your Magento DB, your design system, through a standardised interface that Claude Code can call.
You wire MCP servers in .claude/mcp.json. Once wired, Claude Code can read your GitHub issues, query your Magento DB, fetch Sentry stack traces, file Linear tickets, all without you copy-pasting context into chat. Crucially, your API keys live in MCP server config, not in your prompts, so they don’t leak into your conversation logs. Anthropic + the community ship 100+ official MCP servers; building your own is a 50-line Node script.
What are hooks in Claude Code?
Hooks are shell scripts that run before or after Claude Code performs an action, editing a file, running a Bash command, finishing a tool call. They’re your safety net.
- PreToolUse hooks can block dangerous actions: refuse to
rm -rf /, refuse to push tomainbranch, refuse to write intovendor/, refuse to edit prod credentials. Hook returns non-zero exit, action is cancelled, you stay safe. - PostToolUse hooks auto-run lint / format / tests after every file edit.
phpcs+phpstan+composer validateon every Magento file change, built into the CLI, not bolted on. - Stop hooks run when Claude finishes a session, great for auto-committing or running test suite.
Configure hooks in .claude/settings.json. They’re the difference between “cool AI demo” and “production-grade workflow.”
What are sub-agents and when should I spawn them?
Sub-agents are parallel Claude Code instances spawned by your main session, each with its own context window, working independently on a task you delegate. Useful when:
- Parallel work: spawn three sub-agents to audit, build, and test in parallel, they each get a fresh context window, so a 30-min audit doesn’t blow your main session’s context.
- Long-running tasks: a sub-agent can grind on “port these 80 Luma blocks to Hyvä” for an hour while you keep planning in your main session.
- Specialised personas: a sub-agent with a stricter
CLAUDE.md(e.g. “you are a security auditor; only output findings, never edit”) gives you focused output without polluting your main agent’s instructions.
Spawn with the Task tool. They report back to the main session when done, you get the summary, not the keystroke-by-keystroke noise.
How much does Claude Code cost, Claude Pro vs Team vs API?
Three billing options:
- Claude Pro ($20/mo): unlimited Claude Code usage with model auto-routing. Best for solo devs, effectively flat-rate AI pair-programming.
- Claude Team ($25/seat/mo, 5+ seats): Pro features + admin controls + shared workspace + SSO. Best for engineering teams.
- Anthropic API (pay-per-token): $3/M input + $15/M output for Sonnet, $15/M + $75/M for Opus. With prompt caching enabled, repeated reads of
vendor/drop ~90% of input cost. Best for pipelined / CI / sub-agent-heavy workflows.
For most Magento dev work, Claude Pro flat rate is the right answer, you don’t want to think about per-token cost while shipping. For agentic / parallel sub-agent workflows, API with prompt caching is more economical.
Privacy, does Anthropic train models on my code?
No, not on commercial-tier inputs. Under Anthropic’s Commercial Terms of Service, customer inputs and outputs (Claude Pro, Claude Team, Anthropic API) are not used for model training. That’s contractual, not just a setting.
For zero-data-retention setups (regulated industries, NDA-heavy work), Anthropic supports a zero-data-retention mode on the API and Bedrock / Vertex routes, inputs aren’t logged at all past the live request. Free-tier claude.ai consumer use can opt-in to training (the consumer privacy notice differs), but Claude Code does not run on free-tier accounts. Net effect: your codebase stays in your VCS, nothing leaves except the API call you made.
What are the best Claude Code workflows for ecommerce dev?
Six workflows that compound massively in ecommerce dev:
- Setup-patch generation: a
/setup-patchslash-command that scaffolds idempotentDataPatchInterfacepatches with dependency wiring, for seeding configs, products, categories, FAQs. - db_schema → migration: describe the column you want, Claude Code writes
db_schema.xml+db_schema_whitelist.json+ a setup-patch for backfill. - Hyvä port: a
/hyva-port-blockcommand that takes a Luma block and spits out the Hyvä equivalent with Tailwind classes + Alpine.js. - MFTF + PHPUnit: features ship with tests in the same PR, non-negotiable in
CLAUDE.md. - Sub-agent audit: nightly sub-agent that audits your repo against Magento Coding Standard + EQP, files Linear tickets via MCP.
- SEO page builder: a slash-command that scaffolds a new Tier-1 pillar page (block + layout + template + LESS + 3 setup-patches) following your established pattern. (We use this exact one to ship our SEO landing pages.)
For the deep-dive, see our Magento playbook and Hyvä playbook.
Send a brief. Get a written quote in 24 hours.
Two paragraphs is enough: scope, price and timeline come back in writing.