# Magento Coding Standards

> Use this tool when you need to enforce coding standards in Magento 2 development, solving problems such as inconsistent code quality, security vulnerabilities, and theme management issues. It takes in PHP code and theme configurations as input, and outputs validation results, security checks, and explanations for improvement. Ideal for use in Magento 2 projects to ensure adherence to best practices and optimize code quality.

Canonical page: https://skillsregistry.net/skills/midhun-edv-magento-coding-standards  
JSON: https://api.skillsregistry.net/v1/skills/midhun-edv-magento-coding-standards

## Description

Provides comprehensive Magento 2 coding standards enforcement with seven tools covering pattern lookup, code validation, security checking, rule explanation, and theme management. Includes a knowledge base of 83+ coding standard rules, 150+ discouraged PHP functions, 50+ restricted classes, and 25+ jQuery deprecations. Supports four built-in theme presets (Hyva, Luma, Breeze, Porto) with theme-specific validation rules and pattern overrides, plus custom theme definitions via JSON configuration files.

## Trust

- **Trust score (0–1):** 0.94
- **Verification tier:** verified
- **Last scanned:** 2026-09-19

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** security
- **Updated:** 2026-09-19

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/midhun-edv-magento-coding-standards)
- **Repository:** <https://github.com/midhun-edv/magento-coding-standard-mcp>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "midhun-edv-magento-coding-standards"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/midhun-edv-magento-coding-standards` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/midhun-edv-magento-coding-standards/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
