drupal-drush

Execute Drush commands for Drupal configuration, module management, and code generation.

67|13|Updated Apr 15, 2026
One-click install
npx skills add https://github.com/edutrul/drupal-ai --skill drupal-drush-edutrul
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: drupal-drush
Source: https://github.com/edutrul/drupal-ai/tree/main/.claude/skills/drupal-drush
Command: npx skills add https://github.com/edutrul/drupal-ai --skill drupal-drush-edutrul

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Drush command workflows streamline Drupal development by consolidating cache management, configuration handling, and code scaffolding into repeatable CLI operations, reducing manual steps and human error.

Core Features & Use Cases

  • CLI-driven module management: enable, disable, and uninstall modules with consistent commands.
  • Configuration & cache automation: export/import configuration and clear caches with safe defaults.
  • Code generation & scaffolding: generate modules, services, controllers, and other boilerplate code non-interactively.
  • Non-interactive workflows: drive prompts and options via JSON (--answers) for automation in CI/CD.

Quick Start

Generate a new module scaffold and enable it on your Drupal site using Drush.

Frequently Asked Questions about drupal-drush

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

FAQPage Schema
How do I automate Drupal module scaffolding and management from the command line?

Drupal module scaffolding and management can be automated by executing Drush commands to generate boilerplate code and enable modules non-interactively. This approach consolidates repetitive CLI operations into predictable workflows, reducing manual steps and human error.

Can I run Drush commands non-interactively in a CI/CD pipeline for Drupal?

Yes, Drush commands can run non-interactively in CI/CD pipelines by passing a JSON file to the --answers option. This allows automated configuration import, cache clearing, and code generation without requiring manual user input during execution.

What is the best way to handle Drupal configuration and cache management across environments?

Handling Drupal configuration and cache management across environments is best done by automating Drush commands for configuration export/import and cache clears. This ensures consistent state management with safe defaults across both development and production workflows.

Do I need an existing Drush-enabled Drupal project to use these automation commands?

Yes, you need access to an existing Drush-enabled Drupal project to execute these automation commands. The Skill relies on standard Drush commands for predictable results, requiring the environment to already support CLI-driven Drupal operations.

Why use Drush command workflows instead of manual Drupal administration?

Drush command workflows are used instead of manual Drupal administration to streamline development by consolidating cache management, configuration handling, and code scaffolding into repeatable CLI operations. This significantly reduces manual steps and the potential for human error.