craftcms SKILL.md skillA

craftcms from michtio/craftcms-claude-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add michtio/craftcms-claude-skills/craftcms@git:20261029.d656b83

Pins git:20261029.d656b83 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/craftcms/SKILL.md
Versions recorded
8
Latest version
git:20261029.d656b83, committed Oct 29, 2026
First version recorded
Jul 28, 2026
Size
28,588 bytes
Repository stars
88
License
MIT

Craft CMS 5 plugin and module development — extending Craft with PHP. Covers elements, element queries, services, models, records, controllers, migrations, queue jobs, console commands, field types, native fields, events, behaviors, Twig extensions, widgets, filesystems, permissions, project config, GraphQL, testing, and debugging.

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

# Craft CMS 5 — Extending (Plugins & Modules)

Reference for extending Craft CMS 5 through plugins and modules. Covers everything from elements and services to controllers, migrations, fields, and events.

This skill is scoped to **extending** Craft — building plugins, modules, custom element types, field types, and backend integrations. For site/platform development (content modeling, sections, entry types, Twig templating, plugin selection), see the `craft-site` skill.

## Companion Skills — Always Load Together

When this skill triggers, also load:

- **`craft-php-guidelines`** — PHPDoc standards, section headers, naming conventions, class organization, ECS/PHPStan, verification checklist. Required for any PHP code.
- **`ddev`** — All commands run through DDEV. Required for running ECS, PHPStan, scaffolding, and tests.
- **`craft-garnish`** — When working on CP JavaScript, asset bundles, or interactive CP components. Covers Garnish's class system, UI widgets (Modal, HUD, DisclosureMenu, Select), drag system, and the Craft.* JS class pattern.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add michtio/craftcms-claude-skills/craftcms@sha256:335c4ce161213ba4

The line at the top of this page pins the label git:20261029.d656b83, 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.

Badge

mdr badge

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

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 8 versions of this file, between Jul 28, 2026 and Oct 29, 2026, about one every 13 days.

versioncommittedcommitsizeaudit
git:20261029.d656b83 latest2026-10-29 d656b83 28,588 BA view · diff
git:20261005.8e2d9c52026-10-05 8e2d9c5 26,901 BA view · diff
git:20261005.e2e0a792026-10-05 e2e0a79 26,901 BA view · diff
git:20260914.614a89e2026-09-14 614a89e 26,889 BA view · diff
git:20260812.31832ec2026-08-12 31832ec 26,572 BA view · diff
git:20260804.d3a91c12026-08-04 d3a91c1 25,495 BA view · diff
git:20260729.8079f3b2026-07-29 8079f3b 24,145 BA view · diff
git:20260728.b45663b2026-07-28 b45663b 24,156 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the 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 (28588 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 · 88 stars · license MIT · pushed 2026-11-04 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_nim3hv6jpepaanwz
GET https://markdownregistry.com/api/v1/resolve?ref=michtio/craftcms-claude-skills/craftcms
GET https://markdownregistry.com/api/v1/blob/335c4ce161213ba47eaa1683f0aa2bc94f71a044b0313af520109dfd20f7593d

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.

More from michtio/craftcms-claude-skills

CLAUDE.md@project-template CLAUDE.md file
michtio/craftcms-claude-skills · project-template/CLAUDE.md
git:20261005.9d5d181 · audit A · 88 stars
CLAUDE.md@reference CLAUDE.md file
michtio/craftcms-claude-skills · reference/CLAUDE.md
git:20261005.954eba9 · audit A · 88 stars
craft-cloud SKILL.md skill
michtio/craftcms-claude-skills · skills/craft-cloud/SKILL.md · Craft Cloud — Pixel & Tonic's serverless hosting platform for Craft CMS. Covers craft-cloud.yaml configuration, the…
git:20261005.163e2dd · audit A · 88 stars
craft-content-modeling SKILL.md skill
michtio/craftcms-claude-skills · skills/craft-content-modeling/SKILL.md · Craft CMS 5 content modeling — sections, entry types, fields, Matrix, relations, project config, and content…
git:20261029.d656b83 · audit A · 88 stars
craft-garnish SKILL.md skill
michtio/craftcms-claude-skills · skills/craft-garnish/SKILL.md · Garnish — Craft CMS's built-in JavaScript UI toolkit for the control panel. ALWAYS load when writing, editing, or…
git:20261005.8e2d9c5 · audit A · 88 stars
craft-pest SKILL.md skill
michtio/craftcms-claude-skills · skills/craft-pest/SKILL.md · Testing Craft CMS 5 plugins and modules with Pest — test isolation, database safety, and the markhuot/craft-pest-core…
git:20261005.8e2d9c5 · audit A · 88 stars
craft-php-guidelines SKILL.md skill
michtio/craftcms-claude-skills · skills/craft-php-guidelines/SKILL.md · Craft CMS 5 PHP coding standards and conventions. ALWAYS load when writing, editing, reviewing, or discussing any PHP…
git:20261005.8e2d9c5 · audit A · 88 stars
craft-plugin-release SKILL.md skill
michtio/craftcms-claude-skills · skills/craft-plugin-release/SKILL.md · Releasing Craft CMS plugins — tagging, Packagist propagation, GitHub releases, branch promotion, shared-library…
git:20261005.8e2d9c5 · audit A · 88 stars
craft-plugins SKILL.md skill
michtio/craftcms-claude-skills · skills/craft-plugins/SKILL.md · Index and router for plugin-specific Craft CMS 5 guidance — configuration, Twig API, PHP API, migrations, deployment…
git:20261005.8e2d9c5 · audit A · 88 stars
craft-project-setup SKILL.md skill
michtio/craftcms-claude-skills · skills/craft-project-setup/SKILL.md · Scaffold Claude Code configuration specifically for Craft CMS projects. Generates CLAUDE.md and .claude/rules/ files…
git:20261104.c1ed6b5 · audit A · 88 stars
CLAUDE.md@skills/craft-project-setup/templates/module CLAUDE.md file
michtio/craftcms-claude-skills · skills/craft-project-setup/templates/module/CLAUDE.md
git:20260412.a97ad5f · audit A · 88 stars
CLAUDE.md@skills/craft-project-setup/templates/plugin CLAUDE.md file
michtio/craftcms-claude-skills · skills/craft-project-setup/templates/plugin/CLAUDE.md
git:20261005.9d5d181 · audit A · 88 stars

Every file in michtio/craftcms-claude-skills

Browse by kind, by grade A, or by owner.