explain_rule
Explains Magento 2 coding standard rules with reasoning, examples, and fix suggestions to help developers understand and apply compliance guidelines.
Instructions
Get detailed explanation of a Magento coding standard rule including reasoning, bad/good examples, and fix suggestions.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ruleName | Yes | The rule name to explain (e.g., "Magento2.Security.XssTemplate", "XssTemplate", "DiscouragedFunction") |