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

craft-garnish skillA

craft-garnish is agent-read markdown (skill) from michtio/craftcms-claude-skills: Garnish — Craft CMS's built-in JavaScript UI toolkit for the control panel. ALWAYS load when writing, editing, or reviewing JavaScript that runs in the Craft CP — plugin CP assets, custom field type JS, element index JS, CP webpack config, or code importing garnishjs / referencing window.Garnish. Also for CP accessibility, keyboard interactions, drag-sort, and CP JS memory issues. Triggers on: Garnish.Base.extend, this.base(), init, setSettings, addListener, on/off/trigger, destroy, garnishjs, G.

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-garnish@git:20260729.c4dfe8d
Exact content
mdr add michtio/craftcms-claude-skills/craft-garnish@sha256:6b7f04af670b482b

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_wz4qxxrbakbl5akh.svg)](https://markdownregistry.com/a/art_wz4qxxrbakbl5akh)

0 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260729.c4dfe8d latest2026-07-29 c4dfe8d 8,025 BA view · diff
git:20260728.919bf672026-07-28 919bf67 8,228 BA view · diff
git:20260714.e594ffc2026-07-14 e594ffc 7,272 BA view · diff
git:20260630.7d312462026-06-30 7d31246 7,420 BA view · diff
git:20260511.93805fb2026-05-11 93805fb 6,825 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 (8025 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_wz4qxxrbakbl5akh
GET https://markdownregistry.com/api/v1/resolve?ref=michtio/craftcms-claude-skills/craft-garnish
GET https://markdownregistry.com/api/v1/blob/6b7f04af670b482b9543eead51abbed1608df489536ff65fb43c82765429ef13

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