I created a Claude MODX Skill

I recently switched from ChatGPT to Claude as my primary AI tool. I created a MODX skill and have been “training“ it. It has already helped build some complicated scripts and plug-ins (at least for me). After finishing the code, you can have Claude create a JSON file and use the ModxTransfer snippet to create all the elements or resources.

I put it on Github GitHub - crecorn/MODX-ClaudeSkill-: Expert-level MODX Revolution CMS development, templating, and content management.

MODX CMS Skill for Claude AI

A comprehensive Claude AI skill for MODX Revolution CMS development. This skill provides Claude with expert-level knowledge of MODX templating, extras configuration, and best practices for building professional websites.

:bullseye: What This Skill Does

When installed, Claude gains deep expertise in:

  • MODX Tag Syntax - Resource fields, placeholders, snippets, chunks, TVs, and output modifiers

  • Core Extras - pdoTools, MIGX, ClientConfig, SEO Suite, Image+, FormIt, Collections, Tagger

  • Naming Conventions - Consistent element naming patterns for templates, chunks, TVs, and settings

  • Schema Markup - JSON-LD structured data for LocalBusiness, Service, FAQ, and more

  • Import/Export - ModxTransfer patterns for bulk content management

  • Performance - Caching strategies and optimization techniques

3 Likes

Very nice!

Is the MODXTransfer snippet something Claude created?

Yes, that is way over my brain grade. MODXTransfer is actually a great snippet for moving resources and elements to new installs because you can export and import. It probably should be its own extra.

Very cool, indeed, and some great conventions you’ve landed upon. Kudos!

I would love to see the MODX Transfer Snippet—suspect there are many others that would as well.

I’d suggest always uncaching the base href call in case some bot accesses the site over http after a cache clear, “breaking” your CSS for real web visitors that follow it. (It’s loaded in memory, anyway, so no practical performance hit.)

There’s a few pages with what I presume are broken emoji in the markdown files. Happy to find those specifically for you if you’d like. I suspect this would be highly portable to other LLMs since the context is provided in md files. Just would need that MODX Transfer snippet!

2 Likes