claude-code-magento-agents
CLAUDE.md123 starsChanged 15 months agoMITView on GitHub
This repository contains Claude Code agent definitions for Magento 2 development, organized into specialized categories: The repository follows a standardized naming pattern for consistency: Each agent file follows the standard Claude Code agent format: When working with these agents, they should be familiar with: - Magento 2 module structure (etc/, Model/, Block/, Controller/, view/) - Dependency injection and service contracts - Plugin system and observers - Layout XML and template hierarchy - CLI commands and cron jobs - API development…
The file
We split this CLAUDE.md into the rules it gives an agent
5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 73
Agent Creation: Create new specialized agents by following the existing naming convention and structure
- Distinctive: line 74
Agent Organization: Place agents in the appropriate category directory based on their primary function
- Very specific: line 75
Agent Testing: Use the magento-code-reviewer agent proactively for code quality assurance
- Distinctive: line 76
Version Control: All agent definitions are tracked in Git for version control and collaboration
- Distinctive: line 80
When working with these agents, they should be familiar with:
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Repository Structure
This repository contains Claude Code agent definitions for Magento 2 development, organized into specialized categories:
Agent Categories
- 01-core-development/ - Core Magento development experts
code-reviewer.md- Elite code review expert for AI-powered analysis and security scanningfeature-developer.md- Feature development specialisttheme-developer.md- Theme development expertissue-debugger.md- Bug investigation and resolution specialistmodule-developer.md- Custom module development expert
- 02-frontend-development/ - Frontend development specialists
hyva-specialist.md- Hyvä theme development expertluma-specialist.md- Luma theme customization specialistlayout-developer.md- XML layout construction experttemplate-developer.md- PHTML template development specialist
- 03-backend-development/ - Backend development specialists
api-developer.md- REST/GraphQL API development expertcronjob-developer.md- Scheduled task implementation specialistmodel-developer.md- Data model and database expert
- 04-performance-security/ - Performance and security analysts
cache-analyst.md- Caching optimization expertindex-analyst.md- Database index optimization specialistperformance-analyst.md- Performance profiling and optimization expertsecurity-analyst.md- Security audit and vulnerability assessment specialist
- 05-language-specialists/ - Technology-specific specialists
php-specialist.md- Advanced PHP development expertalpine-specialist.md- Alpine.js integration specialistknockout-specialist.md- Knockout.js development expertless-specialist.md- LESS preprocessing specialistsass-specialist.md- SASS/SCSS development expertmagewire-specialist.md- Magewire (Livewire for Magento) specialist
- 06-infrastructure/ - Infrastructure and deployment engineers
deployment-engineer.md- Deployment automation and CI/CD expertenvironment-engineer.md- Environment setup and configuration specialist
Naming Convention
The repository follows a standardized naming pattern for consistency:
- Core Development:
{function}-developer.md,{function}-reviewer.md, or{function}-debugger.md - Frontend Development:
{technology}-specialist.mdor{function}-developer.md - Backend Development:
{function}-developer.md - Performance/Security:
{domain}-analyst.md - Language Specialists:
{technology}-specialist.md - Infrastructure:
{function}-engineer.md
Agent Definition Structure
Each agent file follows the standard Claude Code agent format:
---
name: agent-name
description: Brief description of the agent's expertise and purpose
model: opus|sonnet (recommended model for the agent)
---
Agent instructions and specialized knowledge...Development Workflow
- Agent Creation: Create new specialized agents by following the existing naming convention and structure
- Agent Organization: Place agents in the appropriate category directory based on their primary function
- Agent Testing: Use the
magento-code-revieweragent proactively for code quality assurance - Version Control: All agent definitions are tracked in Git for version control and collaboration
Key Magento 2 Concepts
When working with these agents, they should be familiar with:
- Magento 2 module structure (
etc/,Model/,Block/,Controller/,view/) - Dependency injection and service contracts
- Plugin system and observers
- Layout XML and template hierarchy
- CLI commands and cron jobs
- API development (REST/GraphQL)
- Performance optimization (caching, indexing)
- Security best practices
- Theme development (Luma, Hyvä)
- Frontend technologies (RequireJS, KnockoutJS, Alpine.js)
Agent Specialization
Each agent is designed to be highly specialized in their domain while maintaining awareness of Magento 2 best practices. The code-reviewer agent should be used proactively to ensure code quality across all development activities.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

