# Craft site

> Craft site is an open-source agent skill for design and media. Guides an AI agent through Craft CMS 5 front-end Twig templates and atomic design. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/michtio/craftcms-claude-skills/tree/main/skills/craft-site
- **Repository:** https://github.com/michtio/craftcms-claude-skills
- **GitHub stars:** 91
- **License:** MIT
- **Skill name:** craft-site
- **Collection:** https://github.com/michtio/craftcms-claude-skills
- **Categories:** [design and media](https://ai-powered.com/categories/design-and-media), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

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).

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs shell scripts](https://github.com/michtio/craftcms-claude-skills/tree/HEAD/skills/craft-site)
- [Asks for: Bash(sh ${CLAUDE_SKILL_DIR}/scripts/craft-version.sh)](https://github.com/michtio/craftcms-claude-skills/blob/HEAD/skills/craft-site/SKILL.md)
- [No network calls found in its scripts](https://github.com/michtio/craftcms-claude-skills/tree/HEAD/skills/craft-site)
- [License: MIT](https://github.com/michtio/craftcms-claude-skills/tree/HEAD/skills/craft-site)

## Features

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

## Install

### Claude Code

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):

```sh
/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`:

```sh
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.

### Codex

Copy the skill folder to `~/.agents/skills/craft-site` to use it in every repository:

```sh
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.

### Cursor

Copy the skill folder to `~/.cursor/skills/craft-site` to use it in every project:

```sh
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.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
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.

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Craft twig guidelines](https://ai-powered.com/skills/craft-twig-guidelines): Craft twig guidelines is an open-source agent skill for developer tools.
- [Craftcms](https://ai-powered.com/skills/craftcms): Craftcms is an open-source agent skill for developer tools.
- [Craft content modeling](https://ai-powered.com/skills/craft-content-modeling): Craft content modeling is an open-source agent skill for developer tools.
- [Frontend design](https://ai-powered.com/skills/frontend-design-lichamnesia): Frontend design is an open-source agent skill for design and media.
- [Tailwindcss4](https://ai-powered.com/skills/tailwindcss4): Tailwindcss4 is an open-source agent skill for developer tools.
- [Nuxt4 frontend](https://ai-powered.com/skills/nuxt4-frontend): Nuxt4 frontend is an open-source agent skill for developer tools.
- [Craft plugins](https://ai-powered.com/skills/craft-plugins): Craft plugins is an open-source agent skill for developer tools.
- [Frontend design](https://ai-powered.com/skills/frontend-design-melandlabs): Frontend design is an open-source agent skill for design and media.

---
Source: https://ai-powered.com/skills/craft-site
