craft-site
Installation
SKILL.md
Craft CMS 5 — Front-End Twig (Atomic Design)
Atomic design system patterns for Craft CMS 5 site templates. Vanilla Twig — no module dependency. Works with any Craft 5 project.
This skill is scoped to front-end template architecture — component design,
routing, composition, theming, and buildchain. For extending Craft (plugins,
modules, PHP), see the craftcms skill.
Companion Skills — Always Load Together
When this skill triggers, also load:
craft-twig-guidelines— Twig coding standards: variable naming, null handling, whitespace control, include isolation, Craft helpers. Required for any Twig code.craft-content-modeling— Sections, entry types, fields, Matrix, relations. Required when deciding what content to query or how templates access data.ddev— All commands run through DDEV. Required for running Vite, npm, and Craft CLI commands.craft-cloud— When the site is hosted on Craft Cloud (detect viacraft-cloud.yamlat the repo root orcraftcms/cloudincomposer.json). Required for edge static caching rules,cloud.esi(...)dynamic islands inside cached pages, edge image transform constraints, and thecsrfInput()requirement on cacheable pages.servd— When the site is hosted on Servd (detect viaservd.yamlat the repo root orservd/craft-asset-storageincomposer.json). Required for Servd static caching,{% dynamicInclude %}islands in cached pages, running Blitz in reverse-proxy mode, and off-server image transforms.