trebormc/drupal-ai-agents

AI agents, rules, and skills for Drupal projects

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

beads-task-tracking

01

trebormc/drupal-ai-agents

Skill Claude CodeCodex

Manages tasks using Beads (bd), a git-backed task tracker running in a dedicated DDEV container. Use for creating, updating, closing, and querying tasks throughout development sessions. A wrapper at /usr/local/bin/bd delegates commands to the Beads container transparently. Examples: - user: "create a task for this…

10 1mo ago A 188 tokens original Apache-2.0

code-analysis

02

trebormc/drupal-ai-agents

Skill Claude CodeCodex

Standalone code quality analysis that produces a prioritized findings report: BLOCKERS (the code must NOT ship until fixed) strictly separated from SUGGESTIONS (improvements for quality, maintainability, scalability, Drupal community practices). Analysis only — it never fixes code. Designed to run manually, as an…

10 1mo ago A 222 tokens original Apache-2.0

commit-message

03

trebormc/drupal-ai-agents

Skill Claude CodeCodex

Generates concise commit messages by analyzing git diff and status. Saves the message to a text file in the project root for the user to review and commit manually. Uses Conventional Commits format with type(scope) prefix, ALWAYS in English (Drupal community standard), with a drupal.org variant (issue ID + By: lines)…

10 1mo ago A 161 tokens original Apache-2.0

config-management

04

trebormc/drupal-ai-agents

Skill Claude CodeCodex

Manages Drupal configuration: export, import, configsplit setup, schema validation, and environment-specific overrides via settings.php. Use when dealing with config sync, configsplit, settings.php overrides, or config schema creation. Examples: - user: "set up config split for dev/stage/prod" -> configure configsplit…

10 1mo ago A 156 tokens original Apache-2.0

trebormc/drupal-ai-agents

Skill Claude CodeCodex

Drupal-specific accessibility guidance (WCAG 2.2 AA): Form API auto-generated ARIA, #states vs #access semantics, core hiding utilities (visually-hidden, hidden), Drupal.announce() and tabbingManager instead of hand-rolled ARIA/live regions/focus traps, and the tools-first detection order. Generic web-accessibility…

10 1mo ago A 182 tokens original Apache-2.0

drupal-audit-setup

06

trebormc/drupal-ai-agents

Skill Claude CodeCodex

Installs and configures the Drupal Audit module (drupal/audit) and its submodules. Provides site health scores, module inventory, and code quality analysis via drush commands. Use when the Audit module is not yet installed, or when setting up a new project. Recommended: enable auditall for production submodules, plus…

10 1mo ago A 142 tokens original Apache-2.0

drupal-behat-test

07

trebormc/drupal-ai-agents

Skill Claude CodeCodex

Generates Behat tests for Drupal 10/11 using the Drupal Extension for Behat. Use this skill when the project already has Behat configured (look for behat.yml), when acceptance tests written in natural language (Gherkin) are needed, E2E flows, or when the client needs to read and validate test scenarios. Trigger…

10 1mo ago A 158 tokens original Apache-2.0

trebormc/drupal-ai-agents

Skill Claude CodeCodex

Reference patterns and templates for common Drupal 10/11 development tasks: forms, block plugins, routing, controllers, hooks, caching, Batch API, Queue API, and AJAX forms. Use when implementing these patterns in custom modules. For module scaffolding (info.yml, services.yml), use module-scaffold. Examples: - user…

10 1mo ago A 163 tokens original Apache-2.0

drupal-debugging

09

trebormc/drupal-ai-agents

Skill Claude CodeCodex

Provides Drupal debugging commands for inspecting services, entities, cache, configuration, watchdog logs, database queries, and PHP evaluation via drush. Use when diagnosing issues, inspecting Drupal state, or troubleshooting errors. Examples: - user: "check watchdog logs" -> show recent log entries - user: "debug…

10 1mo ago D 115 tokens original Apache-2.0

trebormc/drupal-ai-agents

Skill Claude CodeCodex

Generates Functional tests for Drupal 10/11 using BrowserTestBase. Use this skill when you need to verify rendered forms, form submission via UI, permissions and access via HTTP, HTML output of pages, admin forms, node creation/editing via the interface, redirects, or anything requiring a full HTTP response but NOT…

10 1mo ago C 151 tokens original Apache-2.0

trebormc/drupal-ai-agents

Skill Claude CodeCodex

Generates FunctionalJavascript tests for Drupal 10/11 using WebDriverTestBase. Use this skill when the code under test depends on JavaScript: AJAX forms, entity reference autocompletes, modals, drag-and-drop, visibility toggles, CKEditor, complex #states. These are the slowest PHPUnit tests in Drupal, use them only…

10 1mo ago A 161 tokens original Apache-2.0

drupal-kernel-test

12

trebormc/drupal-ai-agents

Skill Claude CodeCodex

Generates Kernel tests for Drupal 10/11 using KernelTestBase. Use this skill when the code interacts with container services, entities, database, configuration, plugins, hooks, migrations, event subscribers, or any Drupal API that does not require rendering HTML in a browser. This is the most used and recommended test…

10 1mo ago A 168 tokens original Apache-2.0

drupal-migration

13

trebormc/drupal-ai-agents

Skill Claude CodeCodex

Handles Drupal content migrations: D7 to D10/D11 upgrades, custom migrations from external sources (CSV, JSON, API, SQL), Migrate API configuration, source/process/destination plugins, and incremental migration strategies. Examples: - user: "migrate content from D7 to D10" -> plan and implement migration - user…

10 1mo ago A 130 tokens original Apache-2.0

trebormc/drupal-ai-agents

Skill Claude CodeCodex

Makes and keeps a contrib module compatible with Drupal 10, 11 and 12 at once, and triages automated compatibility issues (Project Update Bot / Upgrade Status). The right answer is often "do NOT apply the bot's patch yet" — this skill encodes which findings to accept and which to reject. Examples: - user: "make this…

10 1mo ago A 194 tokens original Apache-2.0

trebormc/drupal-ai-agents

Skill Claude CodeCodex

Prepares a custom module's repository for contribution to drupal.org: GitLab CI, test-suite registration, repository hygiene, and the hand-off documents future maintainers (human or AI) need. Use before publishing or contributing a module to the community. Examples: - user: "prepare this module for drupal.org" -> CI +…

10 1mo ago A 179 tokens original Apache-2.0

trebormc/drupal-ai-agents

Skill Claude CodeCodex

Generates E2E test files with Playwright for Drupal 10/11. Creates persistent TypeScript test files in the repository for visual regression, cross-browser, accessibility, and E2E flows. This skill writes test code, it does not execute it. Trigger: "playwright test", "visual regression", "screenshot test"…

10 1mo ago A 142 tokens original Apache-2.0

trebormc/drupal-ai-agents

Skill Claude CodeCodex

Expert reference for Drupal's render pipeline: render arrays vs Response objects, cache metadata semantics (minimum-wins max-age bubbling, cache keys), CacheableMetadata, cases where bubbling does NOT happen (AccessResult, #access booleans, config overrides), lazy builder constraints, two-phase tag invalidation…

10 1mo ago A 191 tokens original Apache-2.0

trebormc/drupal-ai-agents

Skill Claude CodeCodex

Audits a contrib module against the drupal.org security review checklist before applying for security advisory coverage (the "vetted" role project application). Finds and fixes the code patterns human reviewers reject. Use before opting a module into security coverage or requesting drupal.org security review.…

10 1mo ago A 170 tokens original Apache-2.0

trebormc/drupal-ai-agents

Skill Claude CodeCodex

Audits and refactors an EXISTING Drupal test suite: removes zero-value tests, unifies duplicated scaffolding, converts fragile DB-simulation unit tests to kernel tests, and closes the dependency-injection coverage gap with kernel smoke tests. Complements the drupal-testing family (which writes NEW tests). Use to…

10 1mo ago A 198 tokens original Apache-2.0

drupal-testing

20

trebormc/drupal-ai-agents

Skill Claude CodeCodex

Orchestrator for Drupal testing. Analyzes code, determines the correct test type, and delegates to the appropriate specialized skill. Covers the full test lifecycle: Unit, Kernel, Functional, FunctionalJavascript, Behat and Playwright. Use when writing tests, improving coverage, running test suites, or when the user…

10 1mo ago A 137 tokens original Apache-2.0

drupal-unit-test

21

trebormc/drupal-ai-agents

Skill Claude CodeCodex

Generates PHPUnit unit tests for Drupal 10/11 custom modules following community best practices. Covers services, plugins, forms, controllers, and event subscribers with proper mocking patterns. Uses PHPDoc annotations (not PHP 8 attributes) for Drupal 10+11 compatibility. Examples: - user: "write unit tests for my…

10 1mo ago A 136 tokens original Apache-2.0

drupal-update

22

trebormc/drupal-ai-agents

Skill Claude CodeCodex

Safe Drupal update workflow: Composer updates, database updates, config sync. Handles core, contrib, and security-only updates. Pre-flight checks, backups, rollback procedures. Use when updating Drupal packages, applying security patches, or running composer update safely.

10 1mo ago A 53 tokens original Apache-2.0

drush-commands

23

trebormc/drupal-ai-agents

Skill Claude CodeCodex

Executes Drupal Drush commands for cache clearing, database updates, module management, cron, watchdog logs, and site maintenance. Use when user needs any Drush operation. Use proactively after code changes to clear caches or run database updates. Examples: - user: "clear cache" -> run drush cr via ssh web - user…

10 1mo ago A 131 tokens original Apache-2.0

module-scaffold

24

trebormc/drupal-ai-agents

Skill Claude CodeCodex

Scaffolds a new Drupal 10/11 custom module with proper PSR-4 structure, services.yml, routing.yml, info.yml, permissions.yml, and config schema. Use when creating a new custom module or when user says "create module", "new module", "scaffold module". Examples: - user: "Create a module called eventmanager" -> scaffold…

10 1mo ago A 130 tokens original Apache-2.0