craft-garnish SKILL.md skillA
craft-garnish from michtio/craftcms-claude-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add michtio/craftcms-claude-skills/craft-garnish@git:20261005.8e2d9c5Pins git:20261005.8e2d9c5 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- michtio/craftcms-claude-skills
- Path
skills/craft-garnish/SKILL.md- Versions recorded
- 7
- Latest version
- git:20261005.8e2d9c5, committed Oct 5, 2026
- First version recorded
- May 11, 2026
- Size
- 8,040 bytes
- Repository stars
- 88
- License
- MIT
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.
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
# Garnish — Craft CMS Control Panel JavaScript Toolkit Reference for Garnish, Craft CMS's built-in JavaScript UI framework. Covers the class system, UI widgets, drag interactions, form components, accessibility helpers, and integration with Craft's CP. This skill is scoped to **Garnish itself** — the JavaScript library at `src/web/assets/garnish/`. For PHP-side plugin development (elements, controllers, services), see the `craftcms` skill. For CP template markup that Garnish widgets attach to, see the `craftcms` skill's `cp.md` reference. ## Companion Skills — Load When Needed - **`craftcms`** — Load when the task involves PHP asset bundle classes, plugin architecture, or CP template markup that Garnish widgets attach to. Skip for pure JavaScript refactoring, Garnish API questions, or JS-only tasks. - **`craft-php-guidelines`** — Load only when editing PHP files (asset bundle classes, controllers that register JS). Skip for pure JS work. ## Documentation - Garnish source: `src/web/assets/garnish/src/` in the Craft CMS repository - No official external documentation exists — this skill IS the documentation. …
Read the whole file at its exact version.
How to install
mdr add michtio/craftcms-claude-skills/craft-garnish@sha256:6be24c06bbc1e433The line at the top of this page pins the label git:20261005.8e2d9c5, 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_wz4qxxrbakbl5akh)
5 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 7 versions of this file, between May 11, 2026 and Oct 5, 2026, about one every 25 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261005.8e2d9c5 latest | 2026-10-05 | 8e2d9c5 | 8,040 B | A | view · diff |
| git:20261005.e2e0a79 | 2026-10-05 | e2e0a79 | 8,040 B | A | view · diff |
| git:20260729.c4dfe8d | 2026-07-29 | c4dfe8d | 8,025 B | A | view · diff |
| git:20260728.919bf67 | 2026-07-28 | 919bf67 | 8,228 B | A | view · diff |
| git:20260714.e594ffc | 2026-07-14 | e594ffc | 7,272 B | A | view · diff |
| git:20260630.7d31246 | 2026-06-30 | 7d31246 | 7,420 B | A | view · diff |
| git:20260511.93805fb | 2026-05-11 | 93805fb | 6,825 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 (8040 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
michtio/craftcms-claude-skills · 88 stars · license MIT · pushed 2026-11-04 · 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/6be24c06bbc1e433b6c88332219eabbccf163eb214e4b5af3e18a25ca4d926ca
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.