What problem does it solve?
This skill helps you convert Drupal custom modules from prototype to production-ready quality by implementing configuration management, admin interfaces, coding standards, and documentation patterns.
Core Features & Use Cases
- Configuration management: Create and enforce configuration schemas, default settings, and forms.
- Admin interfaces: Add settings forms, routes, menus, and permissions to expose configuration to administrators.
- Code quality & documentation: Integrate PHPCS, PHPStan, and thorough module documentation to ensure maintainable code.
- Frontend-backend integration: Use drupalSettings to pass server config to JavaScript for cohesive UI behavior.
- Use Case: You’re migrating a custom module with no config into a production-ready module that can be deployed via CI/CD.
Quick Start
Follow the steps in SKILL.md to polish a Drupal module: review config, add settings form, wire routing and permissions, align with coding standards, and document usage.