StakSoft has open-sourced magento-claude-skills — a free Claude Code plugin that gives Claude expert, up-to-date knowledge of Magento 2, Mage-OS, and Adobe Commerce development. It makes the AI scaffold modules, build Hyvä themes, write PHPUnit tests, and audit storefront performance — producing code that compiles with bin/magento setup:di:compile and passes phpcs --standard=Magento2 on the first try. Install it in one line:
npx skills add staksoft/magento-claude-skills -a claude-codeWhy generic AI gets Magento wrong
Magento 2 is convention-heavy, and the public web is full of decade-old tutorials. Ask a generic AI assistant to “create a Magento module” and you routinely get:
ObjectManager::getInstance()instead of constructor injectionDeprecated
InstallSchemascripts instead of declarativedb_schema.xmlA class
<preference>(global rewrite) where a plugin would compose without conflictBlock classes instead of view models for template logic
A
cacheable="false"block that silently disables full-page cache for an entire page
It looks plausible — and breaks on compile. These skills encode current Magento 2.4.x / Mage-OS conventions plus a verification step, so the output is correct, not just convincing.
What's in the plugin: three skills
Skill | What it does |
|---|---|
magento-module | Module scaffolding, plugin vs observer vs preference decisions, declarative schema, dependency injection, admin UI, REST/GraphQL APIs, CLI/cron/queues, PHPUnit testing, and debugging playbooks for |
magento-hyva | Hyvä theme development with Alpine.js, Tailwind CSS, and Magewire — child-theme setup, the Tailwind build, overriding templates, and Luma→Hyvä compatibility. |
magento-audit | Cache-first storefront performance audit: full-page cache leaks, Varnish/Redis/ |
The skills load automatically when you ask a relevant question — no manual command needed.
How to install
# Option 1 — vercel-labs/skills CLI (recommended)
npx skills add staksoft/magento-claude-skills -a claude-code
# Option 2 — Claude Code plugin marketplace
claude plugin marketplace add staksoft/magento-claude-skills
claude plugin install magento-skillsCommands and how to use them
Command | Use it to |
|---|---|
| Scaffold a new module and build the feature. |
| Scaffold a Hyvä child theme and build Alpine/Tailwind/Magewire components. |
| Audit a live storefront for full-page cache, TTFB, and Core Web Vitals. |
You can also just ask in plain English — “create a module that adds a gift-message field to checkout” or “why isn't my product page caching?” — and the right skill activates.
Example use cases
“Create a module Acme_GiftMessage that adds a gift-message field to checkout” → scaffolds the module, a declarative-schema table, and a plugin/observer, then compiles it.
“setup:di:compile is failing with an incompatible-argument error” → walks the debugging playbook to find and fix the cause.
“Add a REST endpoint and a GraphQL query to my module” → builds service contracts with correct
getList()/SearchResults wiring.“Build a Hyvä FAQ accordion with Alpine.js” or “convert my Luma module to Hyvä” → produces Alpine/Tailwind/Magewire components.
“Audit my storefront's performance” → returns a severity-ranked report with exact fixes.
Does it actually work? We measured it.
In a benchmark of real build-and-debug tasks on a Mage-OS 3.0.0 / Magento 2.4.9 install, the magento-module skill scored 100% vs an 86% baseline with no skill — every generated module compiled and passed the Magento coding standard. We also installed the published package via npx skills and had it build a module with a custom table, repository, and CLI command end to end; it compiled clean.
Frequently asked questions
Is it free?
Yes. The plugin is open source under the MIT license. You only need Claude Code or the Claude Agent SDK.
Does it work with Adobe Commerce and Mage-OS, or only Magento Open Source?
All three. They share the same 2.4.x module architecture, so the conventions apply identically. It was verified on Mage-OS 3.0.0 (Magento 2.4.9).
Do I need a Magento MCP server to use it?
No. The skills work standalone against a local codebase. An MCP server is optional and adds live store/config data.
Which Magento versions are supported?
Magento 2.4.x and Mage-OS, on PHP 8.1+. The conventions target current declarative schema, dependency injection, and service-contract patterns.
How is this different from a Magento MCP server?
An MCP server connects Claude to a running store's API. This plugin teaches Claude the development conventions and debugging procedures so the code it writes is correct. They're complementary.
Need expert Magento or Mage-OS help?
StakSoft has 10+ years of Magento and e-commerce engineering experience. We build custom modules, headless and Hyvä storefronts, integrations, and performance optimizations.
Open source on GitHub · MIT License · npx skills add staksoft/magento-claude-skills -a claude-code