trebormc/drupal-ai-agents

AI agents, rules, and skills for Drupal projects

This repository also configures its own agents. See what drupal-ai-agents tells them →

10Stars on the repository
48Mods indexed here, across every type
2mo agoLast push, which is what freshness is scored on
Apache-2.0Licence, which decides whether bodies are shown

performance-audit

25

trebormc/drupal-ai-agents

Skill Claude Code

Audit Drupal performance: cache metadata, database queries, render arrays, lazy builders, BigPipe, N+1 queries. Analyze bottlenecks, implement caching strategies, optimize entity loading. Use when pages load slowly, optimizing performance, reviewing cache implementations, or profiling queries.

not rated 10 2mo ago A 58 tokens original Apache-2.0

trebormc/drupal-ai-agents

Skill Claude Code needs its repo

Resolves genuine conflicts between Drupal coder (PHPCS) and PHPStan level 8, and encodes the non-obvious mechanics of PHPStan suppressions in Drupal codebases. Use when the two tools give contradictory instructions on the same line, when a @phpstan-ignore "does not work", or on hook-docblock / missingType conflicts.…

not rated 10 2mo ago A 204 tokens original Apache-2.0

playwright-testing

27

trebormc/drupal-ai-agents

Skill Claude Code

Browser-based testing of Drupal sites using Playwright MCP in DDEV. Covers navigation, screenshots, authentication with drush uli, SSL/HTTPS workarounds, form interaction, and troubleshooting. Use when testing Drupal pages in a browser, taking screenshots, or interacting with the UI. Examples: - user: "test the…

not rated 10 2mo ago A 154 tokens original Apache-2.0

quality-checks

28

trebormc/drupal-ai-agents

Skill Claude Code needs its repo

Run comprehensive code quality checks: PHPCS, PHPStan, PHPUnit, Rector. Always checks for Drupal Audit module first (drush audit:run) for module-filtered JSON output. Falls back to raw tool execution if Audit not installed. Use when checking code quality, running audits, validating changes, or before committing.…

not rated 10 2mo ago A 155 tokens original Apache-2.0

screenshot-analysis

29

trebormc/drupal-ai-agents

Skill Claude Code

Interprets the content of screenshots and images: UI/design review, layout and spacing issues, accessibility contrast, visual regressions between two captures, and extracting text or data visible in images. Requires a vision-capable model — use the visual-analyzer agent, which runs on MODELVISION. Use for design…

not rated 10 2mo ago A 191 tokens original Apache-2.0

session-distill

30

trebormc/drupal-ai-agents

Skill Claude Code

Converts what a session learned the hard way (failed attempts, final fixes, verified facts) into durable guidance — a patch to an existing skill/rule, a project skill, or a new shared skill — so future runs one-shot the solution instead of re-exploring dead ends. User-invoked at the end of meaningful work. Examples: …

not rated 10 2mo ago B 189 tokens original Apache-2.0

skill-creator

31

trebormc/drupal-ai-agents

Skill Claude Code

Creates, reviews, and validates OpenCode skills following the Anthropic Agent Skills specification (agentskills.io). Use when creating a new skill, auditing an existing skill, or when user says "create skill", "new skill", "review skill", "audit skills". Examples: - user: "create a skill for deploying" -> scaffold…

not rated 10 2mo ago A 126 tokens original Apache-2.0

tailwind-drupal

32

trebormc/drupal-ai-agents

Skill Claude Code needs its repo

Guides TailwindCSS setup, configuration, compilation, and usage in Drupal themes. Ensures CSS is recompiled after every HTML/Twig/PHP change that adds or modifies Tailwind classes. Use when working with Tailwind in a Drupal theme, adding Tailwind classes, or troubleshooting missing styles. Examples: - user: "add…

not rated 10 2mo ago A 180 tokens original Apache-2.0

twig-audit

33

trebormc/drupal-ai-agents

Skill Claude Code

Audit Twig templates for anti-patterns: render array drilling, business logic in templates, improper |raw usage, missing cache bubbling, component isolation issues, incorrect attribute handling. Use when reviewing templates, refactoring themes, or modernizing legacy Drupal templates.

not rated 10 2mo ago A 54 tokens original Apache-2.0

xdebug-profiling

34

trebormc/drupal-ai-agents

Skill Claude Code

Enables Xdebug tracing and profiling in DDEV to debug errors and analyze performance. Covers trace mode (function call tree, arguments, return values), profile mode (cachegrind analysis), triggering for specific requests, and programmatic output analysis. Use when debugging page errors, analyzing slow pages, finding…

not rated 10 2mo ago C 203 tokens original Apache-2.0

At most 3 mods per repository are shown here, and a mod shipped inside a plugin is left to that plugin's page — the rest are on their repository pages: