SkillTrust

← All skills

craft-twig-guidelines

95 / 100 · Low risk

Fine to try.

By michtio/craftcms-claude-skills (GitHub) · coding · 89 stars · scanned at commit 822f317

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 use 'only'), Craft Twig helpers ({% tag %}, tag(), attr(), |attr filter, |parseAttr, |append, svg()), collect() for …

Works with any agent that supports SKILL.md skills.

What this skill can do

Connects to the internet

The author does not mention this.

Found in 3 places.

Install

Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.

if [ -e ~/.agents/skills/'craft-twig-guidelines' ] || [ -L ~/.agents/skills/'craft-twig-guidelines' ]; then echo 'A skill folder named craft-twig-guidelines already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/michtio/craftcms-claude-skills' "$d" && git -C "$d" checkout --quiet '822f3177187ddf146d11ab158b2cc5244f92bc25' -- 'skills/craft-twig-guidelines' && mkdir -p ~/.agents/skills && cp -R "$d"/'skills/craft-twig-guidelines' ~/.agents/skills/'craft-twig-guidelines' && rm -rf "$d"; fi

Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'craft-twig-guidelines' ~/.claude/skills/'craft-twig-guidelines' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.

Badge for your README

The badge for michtio/craftcms-claude-skills shows the score of its lowest-scoring skill.

SkillTrust badge for michtio/craftcms-claude-skills

[![SkillTrust](https://zalavijaysinh.github.io/skilltrust/badges/michtio/craftcms-claude-skills.svg)](https://zalavijaysinh.github.io/skilltrust/repos/michtio/craftcms-claude-skills/)

Score history

DateVersionScore
2026-11-13822f31795
2026-11-07c5a32d095