Parse and validate Drupal configuration YAML files for best practices compliance. Analyzes exported configuration files to check naming conventions, structure compliance, and configuration patterns without requiring a running Drupal instance.

GitHub stars
35

Install

/plugin install drupal-config-parser@drupal-best-practices

Run it inside Claude Code after adding the marketplace with /plugin marketplace add theodorosploumis/drupal-best-practices.

Contents

Discovered from source

Skills 1

Description

Parse Drupal configuration YAML files to validate best practices without requiring a running Drupal instance. This skill can analyze exported configuration files to check naming conventions, structure compliance, and configuration patterns.

Usage

  • Prompt Claude to validate Drupal configurations against best practices
  • Use for CI/CD pipelines, pre-commit hooks, or offline validation
  • Analyze configuration before importing to a live site
  • Validate configuration snapshots and backups

Command Line Usage

# Analyze config from default locations
./validate-config.sh

# Analyze specific config directory
./validate-config.sh --path /path/to/config

# Analyze specific config file
./validate-config.sh --file node.type.article.yml

# Validate specific rules
./validate-config.sh --rules naming,dependencies

Guardrails

  • Only processes YAML files with .yml or .yaml extension
  • Validates YAML syntax before processing
  • Reports errors clearly without breaking on invalid files
  • Maintains backward compatibility with existing validation scripts

Validation

Run the config parser to validate Drupal configurations:

./ai/scripts/validate-config.sh

References

  • Drupal Best Practices README
  • Drupal Configuration Management documentation
  • Drupal core configuration schema definitions

Sponsors

Details

Marketplace
theodorosploumis/drupal-best-practices
Source
ai/skills/config-parser
Category
Community

More from theodorosploumis/drupal-best-practices

All 10