drupal-new-module
Installation
SKILL.md
Scaffold a New Drupal 12 Module
You are creating a new Drupal module that follows this team's coding standards. Getting the structure right from the start prevents a class of technical debt — wrong namespaces, missing service definitions, procedural hooks in a .module file that Drupal 13 will stop loading, and missing config schemas all compound over time.
Target: Drupal 12 (released December 2026) with Drupal 11.5 as the bridge, PHP 8.5, PHPUnit 12. Everything generated must also run on Drupal 11.5.
References library: references/