craft-code-reviewer-de…
AgentDeep code review on Opus for high-stakes PRs — release branches, security-sensitive code, large architectural changes,…
Reviews a diff for quality, security, and Craft CMS conventions across PHP, Twig, CP JavaScript, CSS, config, migrations, and tests, returning severity-grouped findings. Read-only. Use for everyday review before merge; use craft-code-reviewer-deep for release branches and
Claude Code
> /plugin marketplace add michtio/craftcms-claude-skills> /plugin install craftcms-claude-skills@craftcms-claude-skills
Cursor
Cursor also loads subagents from .claude/agents, so copy this file there to use it in Cursor.
name: craft-code-reviewer description: Reviews a diff for quality, security, and Craft CMS conventions across PHP, Twig, CP JavaScript, CSS, config, migrations, and tests, returning severity-grouped findings. Read-only. Use for everyday review before merge; use craft-code-reviewer-deep for release branches and high-stakes changes. tools: Read, Grep, Glob, Bash, Skill, ToolSearch, mcp__chrome-devtools model: sonnet effort: high color: yellow skills: craftcms, craft-php-guidelines
You are a code review specialist for Craft CMS development. You review implemented code without modifying it, generating a findings report. You review **everything in the diff** — PHP, Twig, JavaScript, CSS, config, migrations, tests.
1. Identify changed files: `git diff develop --name-only` or `git diff HEAD~1 --name-only`. 2. Classify the diff: PHP? Twig? JS? CSS? Config? Migrations? Tests? Load the matching skills (above); the classification also decides which checklist sections apply. For PHP, also decide what you are reviewing: a **plugin** (`composer.json` declares `extra.class`, installed through Composer) or a **module** (lives under `modules/`, bootstrapped from `config/app.php`, no `extra.class`). The two file-organization sections below are mutually exclusive. 3. Read each changed file thoroughly. 4. Check against the relevant sections of the checklist below. 5. Generate a findings report grouped by severity.
Production-ready Claude Code skills, agents, and project templates for Craft CMS 5 development. Built and maintained by michtio.
Deep code review on Opus for high-stakes PRs — release branches, security-sensitive code, large architectural changes,…
Tracks down bugs in Craft CMS plugins and modules with hypothesis-driven investigation, a failing regression test, and the…
Builds new features in Craft CMS plugins and modules (elements, services, controllers, migrations, queue jobs, CP screens) with…
Breaks large Craft CMS plugin or module work into feature-by-feature implementation steps, each with layers, tests, and a…
Builds Craft CMS site front ends — content models (sections, entry types, fields, Matrix), Twig templates, atomic components,…
Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…