magento2-code-review

magento2-code-review is a skill for Claude Code from ddtcorex/maestro-skills. It costs 181 tokens per session (1,991 once invoked), scanned A, original, MIT.

A combined review for a Magento 2 pull request, module, theme, or whole project. It brings together style checks, security scanning, performance checks, and Magento architecture checks in one report.

In plain words
What is it for?
Use it to review changes before merging or releasing, with the review scoped to a pull request, module, theme, or full Magento project.
Why use it?
It gives one consistent view of release risks instead of requiring developers to interpret several separate checks.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Codex; mentions OpenCode.

Part of the maestro-skills plugin — 31 skills shipped together

Good fit Use it to review changes before merging or releasing, with the review scoped to a pull request, module, theme, or full Magento project.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ddtcorex/maestro-skills/magento2-code-review
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ddtcorex/maestro-skills --skill magento2-code-review
Clone the repo
git clone --depth 1 https://github.com/ddtcorex/maestro-skills

Made for: Claude Code.

Or install maestro-skills, the plugin that ships this one along with the rest of its 31 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for magento2-code-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/ddtcorex/maestro-skills/magento2-code-review/github.svg)](https://agentmods.dev/skills/ddtcorex/maestro-skills/magento2-code-review)
Your own site
<a href="https://agentmods.dev/skills/ddtcorex/maestro-skills/magento2-code-review"><img src="https://agentmods.dev/badge/skills/ddtcorex/maestro-skills/magento2-code-review/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for magento2-code-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/ddtcorex/maestro-skills/magento2-code-review"><img src="https://agentmods.dev/badge/skills/ddtcorex/maestro-skills/magento2-code-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 181 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,991 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00181 $0.01991
Opus 5 $0.00090 $0.00996
Sonnet 5 $0.00036 $0.00398
Haiku 4.5 $0.00018 $0.00199

Measured 9d ago against content hash 07d5d7b8a21e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

magento2-code-review scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/magento2-code-review/SKILL.md · 148 lines

How it starts

The opening of the file, as written. The whole thing — 148 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Magento 2 Code Review

Orchestrates a review at one of four scopes — PR/MR, module, theme, or whole project — by calling the existing QA trio and magento2-dev-core at the right scope, then merging their output into one report with one severity scale. This skill does not reimplement any check the trio already owns.

REQUIRED BACKGROUND: Load magento2-dev-core first — its references/severity-and-codes.md defines the severity scale and finding codes this skill's report uses.

Invokes magento2-linter (style/static analysis), magento2-security-scan (vulnerability scanning), and magento2-performance-audit (runtime/ infrastructure) at whichever scope is in play — see "Scope modes" below. Theme scope additionally cross-references magento2-hyva-dev (CSP) and magento2-frontend-dev (Luma build/verify); it does not duplicate their content. Together with the trio, this forms the "QA quartet" — the four skills expected to run before a release.

Scope modes

Mode Trigger phrase example File list source
Full path "review this module/project" module/theme/app/code path, as today
Explicit file list caller already knows which files passed straight through
Local git diff "review this PR", branch already checked out git diff against a base ref
Remote fetch "review MR !123 before I check it out" On DSH: gitlab_get_mr_diff (+ gitlab_list_own_review_threads, gitlab_post_inline_comment) in one call. Elsewhere: GitHub MCP (pull_request_read, preferred for GitHub) / glab mr diff / gh pr difftext-pattern checks only, see below

On DSH: call maestro_review_scope_split {diffStats:{files,addedLinesPerFile}, mode} → {split:{quick,deep},reason,estimatedSavingsTokens}. Run quick checks only on quick files, full deep only on deep; inject reason into prompt. Otherwise: apply same extension/path table by hand and note split in review header.

Full mechanics, exact commands, and the remote-fetch limitation: references/scope-modes.md.

Read the full file on GitHub · 148 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 148 lines · 181 tokens per session scan A 07d5d7b8a21e

Subscribe to this mod's changes

magento2-code-review is a skill published in the GitHub repository ddtcorex/maestro-skills (4 stars, last pushed today), licensed MIT. It adds 181 tokens to every session and 1,991 once invoked, about $0.0009 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

magento-code-reviewer

Reviews Magento 2 code for quality, security, performance, and compliance with PSR-12 and Magento coding standards. Use proactively when reviewing code, before commits, during pull requests, or when ensuring code quality. Enforces strict type declarations, proper dependency injection, security best practices, and…

maxnorm/magento2-agent-skills · 67 tokens

improve

Autonomous quality improvement loop. Scores a target against a rubric, selects the highest-leverage axis, attacks it, verifies, documents, and loops. No pre-planning between iterations — each loop re-scores from scratch.

SethGammon/Citadel · 48 tokens

triage

GitHub issue and PR investigator. Pulls open issues/PRs, classifies them, searches the codebase for root cause or reviews contributed code, proposes fixes with file:line references, and optionally implements fixes. Use for investigating GitHub issues and reviewing PRs; do NOT use for general code review unrelated to…

SethGammon/Citadel · 71 tokens

review

5-pass structured code review — correctness, security, performance, readability, consistency.

SethGammon/Citadel · 17 tokens

ai-slop

Operational rubric that turns "don't make AI slop" into observable properties, severity levels, evidence requirements, and repair actions for interface design. Use as the reference rubric when building or reviewing marketing sites, product interfaces, dashboards, portfolios, or e-commerce pages, especially alongside…

waybarrios/opencode-power-pack · 61 tokens

woo-guard

Review generated or changed WooCommerce code — extensions, payment and shipping integrations, checkout customizations, and order/product logic — before it ships. Best used reactively after an agent writes, edits, or reviews code touching WooCommerce APIs: wcgetorder, wcgetorders, wcgetproduct, WC() cart or session…

amElnagdy/guard-skills · 216 tokens