sota-php SKILL.md skillA
sota-php from martinholovsky/sota-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add martinholovsky/sota-skills/sota-php@git:20261026.808c340Pins git:20261026.808c340 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- martinholovsky/sota-skills
- Path
skills/sota-php/SKILL.md- Versions recorded
- 17
- Latest version
- git:20261026.808c340, committed Oct 26, 2026
- First version recorded
- Jul 4, 2026
- Size
- 12,008 bytes
- Repository stars
- 26
- License
- CC-BY-4.0
State-of-the-art PHP engineering (supported PHP branches) for both writing new PHP and auditing existing PHP code. Covers strict_types and modern idioms (enums, readonly, match, fibers, property hooks), OWASP-grade security (SQL injection, XSS, file uploads, LFI/RFI, unserialize/Phar object injection, sessions, password hashing, sodium, SSRF), framework-neutral web hardening, Composer supply chain and static analysis (PHPStan/Psalm levels, baselines), and runtime performance…
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
# SOTA PHP (2026) ## Purpose This skill encodes the 2026 state of the art for PHP: a supported-version baseline (PHP 8.3+ floor; verify the supported branches at php.net/supported-versions.php, see [`rules/01`](rules/01-language-baseline.md)), `strict_types` everywhere, typed object-oriented design, security-by-default at every trust boundary, a locked and audited Composer supply chain, and measured runtime performance. It serves two modes: - **BUILD** — writing new code or modifying existing code to this standard. - **AUDIT** — reviewing existing code against this standard and reporting findings. The detailed rules live in `rules/*.md`. Read SKILL.md fully; load rules files on demand per the index table below. ## BUILD mode When creating or modifying PHP code: 1. **Establish context first.** Check `composer.json` (`require.php`, `config.platform`), `composer.lock`, the framework in use, PHPStan/Psalm config, and CS ruleset. Match the project's PHP floor — no enums on a project that still supports 8.0. For a *new* project, scaffold per [`rules/05`](rules/05-composer-tooling.md): PHP ≥ 8.3 floor, committed lockfile, PHPStan at max …
Read the whole file at its exact version.
How to install
mdr add martinholovsky/sota-skills/sota-php@sha256:0809d8a88e6e10c7The line at the top of this page pins the label git:20261026.808c340, 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_4pdufpgicd5c43mu)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 17 versions of this file, between Jul 4, 2026 and Oct 26, 2026, about one every 7 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261026.808c340 latest | 2026-10-26 | 808c340 | 12,008 B | A | view · diff |
| git:20261025.4bffa60 | 2026-10-25 | 4bffa60 | 11,834 B | A | view · diff |
| git:20261025.edb0d8a | 2026-10-25 | edb0d8a | 11,725 B | A | view · diff |
| git:20261024.8dd2b0a | 2026-10-24 | 8dd2b0a | 11,402 B | A | view · diff |
| git:20261012.ae1b29b | 2026-10-12 | ae1b29b | 11,161 B | A | view · diff |
| git:20260926.e89beb1 | 2026-09-26 | e89beb1 | 10,242 B | A | view · diff |
| git:20260925.0da8106 | 2026-09-25 | 0da8106 | 10,249 B | A | view · diff |
| git:20260925.9af1226 | 2026-09-25 | 9af1226 | 10,142 B | A | view · diff |
| git:20260925.5ef7703 | 2026-09-25 | 5ef7703 | 9,634 B | A | view · diff |
| git:20260925.51daf1f | 2026-09-25 | 51daf1f | 9,521 B | A | view · diff |
| git:20260925.22599bd | 2026-09-25 | 22599bd | 9,217 B | A | view · diff |
| git:20260924.d4d271a | 2026-09-24 | d4d271a | 9,064 B | A | view · diff |
| git:20260923.4e0bd2c | 2026-09-23 | 4e0bd2c | 8,689 B | A | view · diff |
| git:20260916.296902d | 2026-09-16 | 296902d | 8,631 B | A | view · diff |
| git:20260820.7720f5a | 2026-08-20 | 7720f5a | 8,644 B | A | view · diff |
| git:20260710.0c49830 | 2026-07-10 | 0c49830 | 8,581 B | A | view · diff |
| git:20260704.67df0cc | 2026-07-04 | 67df0cc | 8,554 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (12008 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
- pass: No script tag
Source
martinholovsky/sota-skills · 26 stars · license CC-BY-4.0 · pushed 2026-11-05 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_4pdufpgicd5c43mu GET https://markdownregistry.com/api/v1/resolve?ref=martinholovsky/sota-skills/sota-php GET https://markdownregistry.com/api/v1/blob/0809d8a88e6e10c76762a3788f58a733e91d05e7f0a932fa84e2261bddcdfd30
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.