craft-php-guidelines
95 / 100 · Low risk
Fine to try.
Craft CMS 5 PHP coding standards and conventions. ALWAYS load when writing, editing, reviewing, or discussing any PHP in a Craft plugin or module — even small edits. Also when running ECS, PHPStan, or scaffolding with ddev craft make. Covers: PHPDoc blocks (@author, @since, @throws chains), section headers (=========), class organization, naming conventions (services, queue jobs, records, events, enums), defineRules() and validation, beforePrepare() and addSelect(), MemoizableArray, DateTimeHel…
What this skill can do
Connects to the internet
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'craft-php-guidelines' ] || [ -L ~/.agents/skills/'craft-php-guidelines' ]; then echo 'A skill folder named craft-php-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 'c5a32d048fb364bd59f13bede60972c71fc19ffc' -- 'skills/craft-php-guidelines' && mkdir -p ~/.agents/skills && cp -R "$d"/'skills/craft-php-guidelines' ~/.agents/skills/'craft-php-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-php-guidelines' ~/.claude/skills/'craft-php-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
[](https://zalavijaysinh.github.io/skilltrust/repos/michtio/craftcms-claude-skills/)
Score history
| Date | Version | Score |
|---|---|---|
| 2026-11-07 | c5a32d0 | 95 |