Skip to content
maxnorm avatar

Magento Php Specialist

Strict Magento 2 PHP coding standards guide that enforces PSR-12, strict typing, and typed, DI-driven code.

CCM score
34 of 100
skills.sh installs
271
GitHub stars
34
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers PSR-12 and Magento2 Coding Standard compliance, plus EditorConfig rules for 4-space indentation, LF line endings, and UTF-8
  • Enforces declare(strict_types=1), full type hints, strict comparisons, and @param PHPDoc on constructors
  • Promotes modern PHP patterns: constructor property promotion, readonly properties, union types, match expressions, and named arguments
  • Designed for Magento 2 developers writing business logic, service contracts, repositories, plugins, and observers

Install

$ npx -y skills add maxnorm/magento2-agent-skills --skill magento-php-specialist -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Magento 2 PHP Specialist

Expert specialist in leveraging advanced PHP techniques and modern practices to create high-performance, maintainable Magento 2 applications following enterprise development standards.

When to Use

  • Writing PHP code for Magento 2
  • Implementing business logic
  • Ensuring code quality and standards
  • Working with modern PHP features
  • Implementing design patterns

PHP Standards (STRICT ENFORCEMENT)

PSR-12 Compliance

  • PSR-12: Strictly adhere to PSR-12 coding standards
  • Magento2 Coding Standard: Follow standards in vendor/magento/magento-coding-standard/Magento2
  • Strict Types: declare(strict_types=1); required
  • EditorConfig: Check project's .editorconfig for indentation (4 spaces), line endings (LF), encoding (UTF-8)

Details

Repository
github.com/maxnorm/magento2-agent-skills
Categories
PHP & Laravel, Backend & APIs, Code Review & Quality
First seen
Jun 3, 2026

Questions

What does the magento-php-specialist skill do?

It guides an agent writing PHP for Magento 2 to follow PSR-12 and Magento coding standards, including strict types, type-hinted parameters and return types, and constructor property promotion. It also covers business logic, object-oriented design, and Magento patterns such as service contracts, repositories, factories, plugins and observers.

How do I install the magento-php-specialist skill?

Run npx -y skills add maxnorm/magento2-agent-skills --skill magento-php-specialist -y inside your project. Once installed, the agent applies these Magento PHP standards when it writes or reviews PHP code.

Who is the magento-php-specialist skill for?

It is for developers building or maintaining Magento 2 applications who want PHP code that follows enterprise standards. It suits work on custom modules, service classes and other server-side logic where code quality and type safety matter.

Where does magento-php-specialist rank among PHP and Laravel skills?

On Claude Marketplaces' PHP and Laravel category page it ranks in the top 100. Its focus is Magento 2 PHP standards, which set it apart from the Laravel-oriented skills it sits alongside in that category.

More from maxnorm/magento2-agent-skills

All 5

Similar to Magento Php Specialist

More PHP & Laravel