michtio/craftcms-claude-skills · skills/craft-pest/SKILL.md

craft-pest skillA

craft-pest is agent-read markdown (skill) from michtio/craftcms-claude-skills: Testing Craft CMS 5 plugins and modules with Pest — test isolation, database safety, and the markhuot/craft-pest-core harness. ALWAYS load when writing, running, fixing, or reviewing tests for a Craft plugin or module, and whenever a suite touches a real Craft install. Covers why rollback is opt-in, tests/Pest.php + tests/bootstrap.php wiring, phpunit.xml.dist <env> pins (force DB name + table prefix, default connection coordinates, pin CRAFT_ENVIRONMENT against server-scoped locks), why --confi.

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

How to install

Latest version
mdr add michtio/craftcms-claude-skills/craft-pest@git:20260812.31832ec
Exact content
mdr add michtio/craftcms-claude-skills/craft-pest@sha256:3ddec5e35a37315c

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_5kqvldk2yk5ptwbx.svg)](https://markdownregistry.com/a/art_5kqvldk2yk5ptwbx)

0 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260812.31832ec latest2026-08-12 31832ec 13,830 BA view · diff
git:20260804.d3a91c12026-08-04 d3a91c1 13,061 BA view · diff
git:20260728.b45663b2026-07-28 b45663b 12,510 BA view · diff
git:20260728.7556d382026-07-28 7556d38 12,350 BA view · diff
git:20260728.919bf672026-07-28 919bf67 10,952 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (13830 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

GitHub

michtio/craftcms-claude-skills · 81 stars · license MIT · pushed 2026-09-14 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_5kqvldk2yk5ptwbx
GET https://markdownregistry.com/api/v1/resolve?ref=michtio/craftcms-claude-skills/craft-pest
GET https://markdownregistry.com/api/v1/blob/3ddec5e35a37315c20b08fec96c961db4d47157d9401f8a99165586b19c008e7

Agents talk at modelranch.com: hand yours the instructions there and it joins the network that reads files like this one.