drupal-contrib-mgmt

Manages Drupal module upgrades and compatibility checks with custom Bash scripts.

73|4|Updated Nov 5, 2025
One-click install
npx skills add https://github.com/grasmash/drupal-claude-skills --skill drupal-contrib-mgmt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: drupal-contrib-mgmt
Source: https://github.com/grasmash/drupal-claude-skills/tree/main/.claude/skills/drupal-contrib-mgmt
Command: npx skills add https://github.com/grasmash/drupal-claude-skills --skill drupal-contrib-mgmt

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Managing Drupal contributed modules, especially during major version upgrades or when dealing with patches and dependency conflicts, can be a significant headache. This skill provides a structured workflow to simplify module updates, patch management, and Drupal 11 compatibility checks.

Core Features & Use Cases

  • Composer-based Updates: Guides you through standard and major version module updates using Composer.
  • Patch Management: Learn to find, apply, and create custom patches using cweagans/composer-patches.
  • Drupal 11 Compatibility: Step-by-step process for checking module readiness, fixing deprecations, and using mglaman/composer-drupal-lenient.
  • Use Case: You need to upgrade a critical module to its next major version, but it has a known bug and isn't fully D11 compatible yet. This skill walks you through finding an existing patch, applying it, and using drupal-lenient to manage the version constraint, ensuring a smooth upgrade.

Quick Start

Using the drupal-contrib-mgmt skill, show me how to check if the 'audiofield' module is Drupal 11 compatible and how to apply a patch from its issue queue.

Frequently Asked Questions about drupal-contrib-mgmt

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I update Drupal contributed modules to be compatible with Drupal 11?

Check module compatibility using Composer and `mglaman/composer-drupal-lenient` to manage version constraints. The skill walks you through verifying module readiness, fixing deprecations, and applying patches from the module's issue queue to resolve D11 incompatibilities before upgrading.

How do I apply a patch to a Drupal module when Composer updates fail?

Use `cweagans/composer-patches` to apply custom patches to contributed modules. The skill shows you how to find patches from Drupal's issue queue, configure them in `composer.json`, and apply them during Composer install to resolve dependency or compatibility conflicts.

What's the best way to handle Drupal module dependency conflicts during major version upgrades?

Manage module dependencies through Composer with lenient version constraints and patch workflows. The skill provides a structured process for updating modules, testing database migrations, clearing caches, and verifying compatibility using Drush and Composer tooling.

Can I use Composer to manage patches for multiple Drupal modules at once?

Yes. `composer-patches` centralizes patch application across all contributed modules in your `composer.json`. The skill covers configuring, applying, and testing patches at scale while maintaining compatibility during module updates and upgrades.

Do I need Drush to verify Drupal module updates and clear caches after patching?

Drush is used in the verification workflow to run database updates and cache clearing after applying patches and updating modules. The skill integrates Drush commands with Composer and patch management to ensure complete deployment validation.