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.
npx skills add ddtcorex/maestro-skills --skill php-dev-coregit clone --depth 1 https://github.com/ddtcorex/maestro-skillsWrote 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.
[](https://agentmods.dev/skills/ddtcorex/maestro-skills/php-dev-core)<a href="https://agentmods.dev/skills/ddtcorex/maestro-skills/php-dev-core"><img src="https://agentmods.dev/badge/skills/ddtcorex/maestro-skills/php-dev-core/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.
<a href="https://agentmods.dev/skills/ddtcorex/maestro-skills/php-dev-core"><img src="https://agentmods.dev/badge/skills/ddtcorex/maestro-skills/php-dev-core.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00074 | $0.02692 |
| Opus 5.5 | $0.00030 | $0.01077 |
| Sonnet 5.5 | $0.00015 | $0.00538 |
| Haiku 4.5 | $0.00007 | $0.00269 |
Grade A, and why
php-dev-core 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 272 lines — stays where its author put it; the contents beside it link to each section on GitHub.
PHP Developer Core
Foundation skill for framework-agnostic PHP. Covers coding standards, Composer, static analysis, security, and testing across Magento 2, Laravel, Symfony, and WordPress. Pair with govard-toolbox for container and environment commands (govard up, govard sh, govard audit). For framework-specific tooling see govard-laravel, govard-symfony, govard-wordpress, or magento2-dev-core for Magento DI and service contracts.
Related Skills
REQUIRED BACKGROUND: Load govard-toolbox first for environment lifecycle and audit matrix. This skill adds language-level patterns. Framework skills (govard-laravel, govard-symfony, govard-wordpress) depend on both govard-toolbox and php-dev-core; magento2-dev-core cross-references this skill for generic PHP and owns Magento-specific DI and plugins.
1. Coding Standards & Types
Every new PHP file MUST start with strict types:
<?php
declare(strict_types=1);
PSR-12 is the default. When framework conventions diverge, PSR-12 wins for generic code.
| Rule | PSR-12 | Notes |
|---|---|---|
| Opening tag | <?php then declare(strict_types=1); |
Blank line after declare |
| Braces | Next line for classes/methods | Same line for controls |
| Visibility | Always explicit: public, protected, private |
Include readonly where needed |
| Naming | Classes PascalCase, methods camelCase |
Constants UPPER_SNAKE |
| Use grouping | Grouped use for same namespace |
One use per line for clarity |
| Indentation | 4 spaces, no tabs, LF | Line limit 120 |
PSR-4 autoloading is required. Map namespaces in composer.json:
{
"autoload": {
"psr-4": { "Vendor\\Package\\": "src/" }
}
}
PHP 8.1-8.4 idioms to prefer:
readonlyproperties andreadonly classfor DTOs (8.1+), constructor promotion.enumfor closed sets instead of class constants (8.1+).matchoverswitchfor exhaustive mapping;neverfor functions that always throw.- Intersection types (
X&Y) andmixedwhere genuinely needed; avoid untyped parameters. finalclasses by default; open only with documented reason.
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.
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.
- 1mo ago First seen · 272 lines · 74 tokens per session scan A af3b61163896
php-dev-core is a skill published in the GitHub repository ddtcorex/maestro-skills (5 stars, last pushed yesterday), licensed MIT. It adds 74 tokens to every session and 2,692 once invoked, about $0.0003 per session on Opus 5.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.
Other skills, from other repositories
magento-php-specialist
Advanced PHP development for Magento 2 following PSR-12 and Magento coding standards. Use when writing PHP code, implementing business logic, or ensuring code quality. Masters modern PHP features, object-oriented programming, design patterns, and Magento-specific PHP practices.
laravel-specialist
Build and configure Laravel 10+ applications, including creating Eloquent models and relationships, implementing Sanctum authentication, configuring Horizon queues, designing RESTful APIs with API resources, and building reactive interfaces with Livewire. Use when creating Laravel models, setting up queue workers…
laravel-security
Laravel security best practices for authn/authz, validation, CSRF, mass assignment, file uploads, secrets, rate limiting, and secure deployment.
integration-fixture
Add a .test integration fixture for one behavior.
Behat BDD Testing
PHP BDD testing with Behat framework using Gherkin feature files, Mink browser extension, context classes, and Symfony integration for behavior-driven acceptance testing.
create-module
Scaffold a new Marko module — a self-contained Composer package with composer.json, namespaced src/, and Pest tests. Use this skill whenever the user asks to create, add, or scaffold a new Marko module or package. Concrete triggers: 'create a module named payment', 'scaffold an acme/blog package', 'add a new module…