maxnorm avatar

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-code

Installs 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 .editorconfig for 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

More from maxnorm/magento2-agent-skills

All 9

Recommended

More Security
1bobmatnyc avatarsupabase-backend-platformbobmatnyc/claude-mpm-skillsSupabase open-source Firebase alternative with Postgres, authentication, storage, and realtime subscriptions. Use when building full-stack applications requirin482skills.sh installs
2webmaxru avatargithub-agentic-workflowswebmaxru/enonic-agent-skillsAuthors, reviews, installs, and debugs GitHub Agentic Workflows in repositories, including workflow markdown, frontmatter, gh aw compile and run flows, safe out478skills.sh installs
3bobmatnyc avatarthreat-modelingbobmatnyc/claude-mpm-skillsThreat modeling workflow for software systems: scope, data flow diagrams, STRIDE analysis, risk scoring, and turning mitigations into backlog and tests. Use whe474skills.sh installs
4manutej avatarkubernetes-orchestrationmanutej/luxor-claude-marketplaceComprehensive guide to Kubernetes container orchestration, covering workloads, networking, storage, security, and production operations474skills.sh installs
5davila7 avatarcode-reviewdavila7/claude-code-templatesPerform code reviews following Sentry engineering practices. Use when reviewing pull requests, examining code changes, or providing feedback on code quality. Co457skills.sh installs
6aj-geddes avataraws-rds-databaseaj-geddes/useful-ai-promptsDeploy and manage relational databases using RDS with Multi-AZ, read replicas, backups, and encryption. Use for PostgreSQL, MySQL, MariaDB, and Oracle.453skills.sh installs