Drupal 11 OOP and procedural hooks — hook_form_alter, hook_node_presave, hook_theme, #[Hook] attribute, and when to use hooks vs event subscribers.
$npx -y skills add edutrul/drupal-ai --skill drupal-hooksInstalls into the current project.
Run `npx skills use "https://github.com/edutrul/drupal-ai" --skill "edutrul/drupal-ai/drupal-hooks"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/edutrul/drupal-ai" that are relevant to the current task. Run `npx skills add "https://github.com/edutrul/drupal-ai"` and select the relevant skills, then follow their instructions.