craft-content-modeling
This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.
Craft CMS 5 — Content Modeling
Craft Version of This Project
!sh ${CLAUDE_SKILL_DIR}/scripts/craft-version.sh
If no Craft version line appears above, establish the version before any version-specific advice: craftcms/cms in composer.lock for a site, the lowest version the craftcms/cms constraint in composer.json allows for a plugin, or ask. Then check it against the version tags in this skill ([5.10+], [changed 5.12], [seomatic 5.1+]).
How to structure content in Craft CMS 5: sections, entry types, fields, Matrix, relations, asset management, and strategic patterns for real projects. This skill covers content architecture (what goes in the CP, how it's organized, and how templates access it). For extending Craft with PHP (plugins, modules, custom element types), see the craftcms skill.
Companion Skills — Always Load Together
When this skill triggers, also load:
craft-site— Template architecture, component patterns, routing. Required when content decisions affect how templates render data.craft-twig-guidelines— Twig coding standards. Required when writing any Twig examples or template code alongside content modeling.ddev— All commands run through DDEV. Required for running project config commands, Craft CLI, and content migrations.
Craft docs links (entries, sections, fields, field types, Matrix, relations, eager loading, project config): references/sections-and-entry-types.md (Documentation). Use WebFetch on specific doc pages when a reference file doesn't cover enough detail.