Drupal Code Pattern Checker

•
17
•

Validates Drupal source code against coding standards, SOLID principles, and security best practices before commits.

This skill streamlines the Drupal development workflow by enforcing strict quality gates and coding standards. It analyzes PHP, CSS, and JavaScript files to ensure compliance with PSR-12, Drupal-specific patterns, SOLID principles, and DRY (Don't Repeat Yourself) logic. By identifying security vulnerabilities like SQL injection and missing access controls, as well as architectural issues like hardcoded service calls, it helps developers maintain high-quality, production-ready codebases that adhere to modern Drupal best practices.

Características Principales

01CSS/JS standard checks including BEM naming and mobile-first queries
02Automated Drupal & PSR-12 coding standard validation
0317 GitHub stars
04SOLID and DRY principle enforcement for maintainable PHP architecture
05Security auditing for SQL injection, XSS, and route access control
06Interactive gate enforcement to block non-compliant commits

Casos de Uso

01Automated peer review for Drupal custom modules, services, and themes
02Enforcing dependency injection and preventing deprecated Drupal service calls
03Pre-commit code quality validation to ensure a clean Git history