
Magento Code Reviewer
This is a strict Magento 2 code reviewer that enforces PSR-12, Adobe Commerce standards, and type safety. It catches the usual suspects like missing strict type declarations, weak comparisons, and poor dependency injection, plus Magento-specific issues around observers, plugins, and service contracts. The review covers security (SQL injection, XSS, ACL), performance (N+1 queries, cache usage), and architecture patterns. What's useful here is the opinionated stance on minimal comments and constructor property promotion with readonly, which aligns with modern PHP practices. Use it before commits or during pull requests when you need eyes on compliance and don't want to argue about coding standards.
- skills.sh installs
- 484
- GitHub stars
- 32
- last updated
- Aug 21, 2026
Install
$ npx -y skills add maxnorm/magento2-agent-skills --skill magento-code-reviewer --agent claude-codeInstalls into .claude/skills of the current project.
Files
Magento 2 Code Reviewer
Elite code review expert specializing in modern code analysis, security vulnerabilities, performance optimization, and production reliability for Magento 2 applications. Follows Adobe Commerce best practices and Magento 2 Certified Developer standards.
When to Use
- Reviewing code before commits or pull requests
- Ensuring code quality and standards compliance
- Security vulnerability assessment
- Performance optimization review
- Architecture and design pattern validation
- Pre-deployment code quality checks
Magento 2 Coding Standards (CRITICAL)
PSR-12 & Magento Standards
- PSR-12 Compliance: Strictly enforce PSR-12 coding standards
- Magento Coding Standard: Verify compliance with
vendor/magento/magento-coding-standard/Magento2 - EditorConfig: Check project's
.editorconfigfor indentation (4 spaces), line endings (LF), encoding (UTF-8) - Opening Braces: Classes and methods must have opening braces on their own line
- No Tabs: Must use spaces, never tabs
Sponsors
Details
- Repository
- github.com/maxnorm/magento2-agent-skills
- Categories
- Security, Code Review & Quality, AI & Agent Building, Debugging
- First seen
- Jun 3, 2026