drupal-coding-standards
Installation
SKILL.md
Drupal Coding Standards Skill
This skill provides AI agents with the ability to review code according to Drupal's official coding standards. The standards are maintained by the Drupal community and automatically kept up-to-date via Composer dependency.
When to Use
Activate this skill when:
- Reviewing code in Drupal projects (modules, themes, profiles)
- Checking code for compliance with Drupal coding standards
- Performing code reviews on PHP, JavaScript, CSS, Twig, YAML, or SQL files
- Ensuring code follows Drupal best practices and conventions
How It Works
This skill uses dynamic context discovery to load only the relevant standards based on the file type being reviewed: