Skip to content
skillcellar
All skills

craft-twig-guidelines

Indexed

Twig coding standards and conventions for Craft CMS 5 templates. ALWAYS load this skill when writing, editing, or reviewing any .twig file in a Craft CMS project, even for small edits. Covers: variable naming (camelCase, no abbreviations), null handling (?? operator, ??? with empty-coalesce plugin), whitespace control ({%- trimming, NOT {%- minify -%}), include isolation (always 'only'), Craft Twig helpers ({% tag %}, tag(), attr(), |attr, |parseAttr, |append, svg()), collect() for props and class collections, .implode(), ========= comment headers on component files, and pitfalls (snake_case, macros as components, hardcoded colors).

michtio/craftcms-claude-skills/skills/craft-twig-guidelines90 starsMITLast pushed 30 Nov 2026No findings
Indexed automatically from public GitHub, not reviewed. This page shows what the skill’s SKILL.md says about itself and what the scan flagged in it. It cannot show that the skill is safe. Read its files on GitHub before you install it.

Install

install

$ npx skills add https://github.com/michtio/craftcms-claude-skills --skill craft-twig-guidelines

The skills CLI downloads the skill from GitHub when you run the command, so what you get may have changed since the scan.

Scan

The scan flagged nothing in SKILL.md when it was last read. It doesn’t read the skill’s other files, and a clean scan doesn’t prove a skill is safe.

Copies

No other indexed repository has this exact folder.