magento2-dev-core SKILL.md skillB
magento2-dev-core from ddtcorex/maestro-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add ddtcorex/maestro-skills/magento2-dev-core@git:20261027.b2b8f0bPins git:20261027.b2b8f0b in mdr.lock. Pin the fingerprint instead.
- Audit grade
- B, 16 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- ddtcorex/maestro-skills
- Path
skills/magento2-dev-core/SKILL.md- Versions recorded
- 8
- Latest version
- git:20261027.b2b8f0b, committed Oct 27, 2026
- First version recorded
- Jul 31, 2026
- Size
- 11,430 bytes
- Repository stars
- 5
- License
- MIT
This skill should be used when the user is creating new Magento 2 modules or customizations, implementing features following Magento architecture, working with Dependency Injection, Repositories, or Plugins, writing secure Magento code, or building backend logic, CLI commands, or cron jobs. Foundation skill for professional Magento 2 development. This is the CORE skill that other Magento 2 skills depend on. Always load this first.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Magento 2 Developer Core
This skill provides the foundational patterns all Magento 2 developers must follow. It covers architectural decisions, security, and best practices that apply to every part of a Magento project.
## Related Skills
This is the foundation the other Magento 2 skills build on: `magento2-frontend-dev` and `magento2-hyva-dev` cover the two mutually exclusive theme stacks (check the theme's `theme.xml` parent to see which one the project actually uses, Luma vs Hyvä), `magento2-backend-dev` covers APIs/CLI/cron, and `magento2-linter`, `magento2-security-scan`, `magento2-performance-audit` verify the patterns below, `magento2-code-review` orchestrates all three (plus this skill's own anti-pattern checks) into one report scoped to a PR/module/theme/project. In a Govard environment, pair this with `govard-magento` for the container/CLI side.
## Core Architectural Standards
> Note: For framework-agnostic PHP (PSR-12/Composer/PDO) see `php-dev-core`. This skill covers Magento-specific DI/Repository/Plugin.
### Dependency Injection (DI)
**DO**: Use Constructor Injection for all dependencies.
```php
class MyService
{
public function __construct(
…Read the whole file at its exact version.
How to install
mdr add ddtcorex/maestro-skills/magento2-dev-core@sha256:5310ae63b7dad10aThe line at the top of this page pins the label git:20261027.b2b8f0b, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_5kg2vaje4tkyx25b)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 8 versions of this file, between Jul 31, 2026 and Oct 27, 2026, about one every 13 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261027.b2b8f0b latest | 2026-10-27 | b2b8f0b | 11,430 B | B | view · diff |
| git:20261005.6d59fc7 | 2026-10-05 | 6d59fc7 | 11,451 B | B | view · diff |
| git:20260921.73fb79b | 2026-09-21 | 73fb79b | 11,711 B | B | view · diff |
| git:20260829.ecee255 | 2026-08-29 | ecee255 | 11,697 B | B | view · diff |
| git:20260826.cc74b06 | 2026-08-26 | cc74b06 | 11,562 B | B | view · diff |
| git:20260823.fe896b1 | 2026-08-23 | fe896b1 | 11,212 B | B | view · diff |
| git:20260813.e845e20 | 2026-08-13 | e845e20 | 11,207 B | B | view · diff |
| git:20260731.c348c82 | 2026-07-31 | c348c82 | 11,176 B | B | view |
Audit of the latest version
- fail: No script tag (matched: <script)
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (11430 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.
Source
ddtcorex/maestro-skills · 5 stars · license MIT · pushed 2026-10-27 · branch master
API
GET https://markdownregistry.com/api/v1/artifacts/art_5kg2vaje4tkyx25b GET https://markdownregistry.com/api/v1/resolve?ref=ddtcorex/maestro-skills/magento2-dev-core GET https://markdownregistry.com/api/v1/blob/5310ae63b7dad10ad67cebef80b301d3baf060861005663690f4f706ba112ddd
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.