Skip to content
Skill

Craft site

Guides an AI agent through Craft CMS 5 front-end Twig templates and atomic design

Craft site is an open-source agent skill for design and media. It is available on Claude Code.

Scripts
shell
Platforms
Claude Code
GitHub stars
91
Last commit
License
MIT
Listing updated

Similar skills

About Craft site

This skill gives a coding agent the conventions for building Craft CMS 5 site front ends in Twig, organized around atomic design. It covers how atoms, molecules and organisms are structured, how props, extends and block patterns work, how layout chains and view routing are set up, and how content builders render Matrix blocks. It also covers Tailwind named-key collections, multi-brand CSS theming with tokens, and where JavaScript belongs between Twig, Alpine, DataStar and Vue.

The skill is a set of reference files the agent reads depending on the task. Topics include Vite and Tailwind buildchain setup, responsive image presets, template caching with CSP nonces, multi-language and hreflang planning, search pages, feeds and sitemaps, headless GraphQL use, and front-end login, registration, password reset and profile pages. It includes a Craft version check script that runs through Bash when the skill loads.

It expects a Craft CMS 5 project and points to companion skills for Twig coding standards, content modeling, and hosting or plugin specifics such as Formie, SEOmatic and Blitz. It is aimed at front-end template work and does not cover PHP plugin or module development.

When your agent uses it

Craft CMS 5 front-end Twig development: atomic design, template architecture, components, Vite buildchain. Covers atoms/molecules/organisms, props/extends/block patterns, layout chains, view routing, content builders, image presets, Tailwind named-key collections, multi-brand CSS tokens, JavaScript boundaries (Alpine/DataStar/Vue, tabs, accordions), and front-end auth (login, registration, password reset, profiles).

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 22 files (287 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-skills

Or copy only this skill to ~/.claude/skills/craft-site:

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-site &&
cp -R "$tmp/skills/craft-site" ~/.claude/skills/craft-site &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/craft-site inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/craft-site 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-site &&
cp -R "$tmp/skills/craft-site" ~/.agents/skills/craft-site &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/craft-site inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/craft-site 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-site &&
cp -R "$tmp/skills/craft-site" ~/.cursor/skills/craft-site &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/craft-site inside it instead.

Cursor docs on skills

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-site

Or copy the folder to ~/.gemini/skills/craft-site yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/craft-site:

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-site &&
cp -R "$tmp/skills/craft-site" ~/.copilot/skills/craft-site &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/craft-site inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/michtio/craftcms-claude-skills.git

Then copy craftcms-claude-skills/skills/craft-site into your agent's skills folder as craft-site. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Atomic component structure
Explains how atoms, molecules and organisms are named and built with props, extends and blocks.
Layout and view routing
Covers layout chains, section template paths, views and content builders for Matrix blocks.
Tailwind and brand theming
Describes named-key class collections and multi-brand CSS token layers.
Vite buildchain setup
Covers Vite bridge configuration, script loading per page and Tailwind v4 under DDEV.
Front-end authentication flows
Provides patterns for login, registration, password reset and account profile pages.
Search, feeds and sitemaps
Covers search page setup, RSS, Atom, JSON Feed and XML sitemap templates.

Good for

  • Build a reusable hero or card component with variants
  • Set up a Vite and Tailwind buildchain for a Craft site
  • Render Matrix blocks through a content builder
  • Add a login and password reset flow to the front end
  • Plan a multi-language site with hreflang tags
  • Create an RSS feed or XML sitemap template

Craft site FAQ

What does the skill need to run?

It expects a Craft CMS 5 project. It checks the Craft version through a bash script and falls back to composer files when that check gives no output.

Does Craft site cover PHP plugin development?

No. It is scoped to front-end template architecture, and PHP plugin and module work is left to the separate craftcms skill.

Which tools does Craft site use?

Its only allowed tool is a Bash call that runs the craft-version.sh script inside the skill folder.

How do I install Craft site in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/craft-site to use it in all your projects, or to .claude/skills/craft-site 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 site 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 site?

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 site?

The closest alternatives to Craft site are Craft twig guidelines, Craftcms, Craft content modeling, Frontend design and Tailwindcss4.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from michtio/craftcms-claude-skills

  1. Gives agents a safe Pest workflow for testing Craft CMS 5 plugins without touching live

    • Open source
    • 91 GitHub stars
    • Developer tools
  2. Guides an agent through Craft Cloud config, deploys, caching, and Cloud-specific limits

    • Open source
    • 91 GitHub stars
    • Databases
  3. Guides Craft CMS 5 content architecture: sections, entry types, fields, Matrix

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

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

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

    • Open source
    • 91 GitHub stars
    • Developer tools