
Craft content modeling
Guides Craft CMS 5 content architecture: sections, entry types, fields, Matrix
Craft content modeling is an open-source agent skill for developer tools. It is available on Claude Code.
- Scripts
- shell
- Platforms
- Claude Code
- GitHub stars
- 91
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Craft content modeling
This skill gives an agent a structured approach to planning Craft CMS 5 content models. It walks through choosing between Single, Channel and Structure sections, designing entry types and field layouts, and picking field types such as Matrix, CKEditor nested entries and relations. It also covers multi-site propagation and the Entries element index sources stored in project config.
The guidance is organized around a reuse-first workflow for fields. The agent is expected to inventory the existing field pool, classify each proposed field as reuse or new, and check proposed handles against Craft's reserved handle list before creating anything. It also covers relation querying with relatedTo() and eager loading with .with() and .eagerly() to avoid N+1 queries.
The skill relies on a bundled shell script that reports the project's Craft version, and on reference files covering infrastructure, project config and object templates. It expects a Craft CMS 5 project and commands run through DDEV, and it coordinates with companion skills for templates and Twig code.
When your agent uses it
Craft CMS 5 content modeling: sections, entry types, fields, Matrix, relations, project config, and content architecture strategy. Covers choosing section types, designing entry types and field layouts, selecting field types, Matrix and nested entries, relations and eager loading, and multi-site propagation.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
- Runs shell scripts(see the files on GitHub)
- Asks for: Bash(sh ${CLAUDE_SKILL_DIR}/scripts/craft-version.sh)(see the files on GitHub)
- No network calls found in its scripts(see the files on GitHub)
- License: MIT(see the files on GitHub)
From a static check of its 11 files (134 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the craftcms-claude-skills plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add michtio/craftcms-claude-skills
/plugin install craftcms-claude-skills@craftcms-claude-skillsOr copy only this skill to ~/.claude/skills/craft-content-modeling:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/michtio/craftcms-claude-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/craft-content-modeling &&
cp -R "$tmp/skills/craft-content-modeling" ~/.claude/skills/craft-content-modeling &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/craft-content-modeling inside it instead.
Copy the skill folder to ~/.agents/skills/craft-content-modeling to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/michtio/craftcms-claude-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/craft-content-modeling &&
cp -R "$tmp/skills/craft-content-modeling" ~/.agents/skills/craft-content-modeling &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/craft-content-modeling inside it instead.
Copy the skill folder to ~/.cursor/skills/craft-content-modeling to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/michtio/craftcms-claude-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/craft-content-modeling &&
cp -R "$tmp/skills/craft-content-modeling" ~/.cursor/skills/craft-content-modeling &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/craft-content-modeling inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/michtio/craftcms-claude-skills.git --path skills/craft-content-modelingOr copy the folder to ~/.gemini/skills/craft-content-modeling yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/craft-content-modeling:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/michtio/craftcms-claude-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/craft-content-modeling &&
cp -R "$tmp/skills/craft-content-modeling" ~/.copilot/skills/craft-content-modeling &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/craft-content-modeling inside it instead.
Get the folder:
git clone --depth 1 https://github.com/michtio/craftcms-claude-skills.gitThen copy craftcms-claude-skills/skills/craft-content-modeling into your agent's skills folder as craft-content-modeling. Agents that support SKILL.md read one folder per skill.
What it does
- Section type selection
- Helps choose between Single, Channel and Structure sections for a given content need.
- Field reuse workflow
- Inventories the existing field pool and classifies proposed fields as reuse or new.
- Reserved handle checks
- Flags field handles that collide with Craft's reserved handle list and suggests synonyms.
- Matrix and nested entries
- Guides when to use Matrix, CKEditor nested entries or Content Block fields.
- Relations and eager loading
- Covers relatedTo() query shapes and eager loading to prevent N+1 queries.
- Multi-site and project config
- Covers propagation methods, field translation and safe project config workflow.
Good for
- Plan the content architecture for a new Craft CMS 5 site
- Decide whether a page should be a Single, Channel or Structure section
- Add fields to an existing entry type without duplicating field definitions
- Check whether a proposed field handle is reserved in Craft
- Set up relatedTo queries and eager loading for related entries
- Tidy the Entries element index after adding new sections
Craft content modeling FAQ
Which Craft version does Craft content modeling target?
It targets Craft CMS 5, with version-specific notes tagged by release and a script that reports the project's version.
Does Craft content modeling trigger for plugin or module development?
No. The skill excludes PHP plugin and module development, custom field type code, front-end Twig and buildchain work.
Which tools does Craft content modeling need?
It is allowed to run a shell script that reads the Craft version, and commands are expected to run through DDEV.
How do I install Craft content modeling in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/craft-content-modeling to use it in all your projects, or to .claude/skills/craft-content-modeling in one project. Or install the craftcms-claude-skills plugin, which includes it: /plugin marketplace add michtio/craftcms-claude-skills, then /plugin install craftcms-claude-skills@craftcms-claude-skills.
Does Craft content modeling run scripts?
Yes. It runs shell scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Craft content modeling?
Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.
What are the best alternatives to Craft content modeling?
The closest alternatives to Craft content modeling are Craftcms, Craft site, Content management systems, Craft twig guidelines and Craft plugins.
Where this comes from
- Description: from the skill's own SKILL.md.
More from michtio/craftcms-claude-skills

Gives agents a safe Pest workflow for testing Craft CMS 5 plugins without touching live
- Open source
- 91 GitHub stars
- Developer tools

Guides an agent through Craft Cloud config, deploys, caching, and Cloud-specific limits
- Open source
- 91 GitHub stars
- Databases

Deploys and runs Craft CMS on fortrabbit managed PHP hosting with safe git workflows
- Open source
- 91 GitHub stars
- Developer tools

Guides agents writing Craft CMS control panel JavaScript with the Garnish UI toolkit
- Open source
- 91 GitHub stars
- Developer tools

Runs one approved Craft CMS slice through outside builders under locked test gates
- Open source
- 91 GitHub stars
- Developer tools

Guides setting up and extending Craft CMS 5.12+ MCP servers and OAuth access
- Open source
- 91 GitHub stars
- Developer tools


