drupal-config-mgmt

Inspect Drupal config differences with read-only drush commands and --no flags.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Accidental configuration imports can lead to data loss or environment inconsistencies. This skill provides safe, read-only methods and best practices to inspect and sync Drupal configuration, preventing unintended changes and ensuring environment stability.

Core Features & Use Cases

  • Safe Config Inspection: Use --no flag with drush cim or drush cex to preview changes without applying them.
  • Read-Only Operations: Utilize drush config:get and drush config:status for secure, non-destructive config review.
  • Manual Sync Workflows: Guides you through manually editing and committing config files, ensuring precise control.
  • Use Case: Before deploying new features, you need to verify that your local configuration matches the staging environment. This skill helps you compare config differences safely and apply only the necessary changes, preventing accidental overwrites.

Quick Start

Use the drupal-config-mgmt skill to show me the differences between my local configuration and the remote 'dev' environment, ensuring no changes are accidentally imported.

Frequently Asked Questions about drupal-config-mgmt

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

FAQPage Schema
How do I safely inspect Drupal configuration differences between environments without importing changes?

Use drush cim or drush cex with the --no flag to preview configuration differences without applying them. This read-only approach lets you inspect what would change before committing to any modifications, preventing accidental overwrites across local, staging, or remote environments.

What's the best way to sync Drupal config between development and remote servers safely?

Follow a manual workflow: use drush config:status and drush config:get for non-destructive inspection, manually edit configuration files with clear commit messages, then apply changes deliberately. This approach prevents auto-confirm imports that can cause data loss or environment inconsistencies.

Can I use drush to check my configuration status without triggering automatic imports?

Yes. Drush config:status and drush config:get provide read-only inspection of your configuration state. These commands safely review differences without executing imports, making them ideal for pre-deployment verification across SSH, DDEV, or local development environments.

How do I avoid accidental Drupal config imports when working with remote servers or local development?

Adopt explicit non-destructive patterns: always use --no with cim/cex, prioritize read-only drush commands, maintain per-commit changes with descriptive messages, and never rely on auto-confirm workflows. This systematic approach prevents costly configuration errors in cross-environment inspection and syncing.

What are the risks of automatic configuration imports in Drupal deployment workflows?

Automatic imports can overwrite environment-specific settings, cause data loss, or create inconsistencies between staging and production. Manual, explicit workflows with drush --no flags and read-only status checks mitigate these risks by requiring deliberate approval before any configuration changes apply.