Drupaltools Optimize

Optimize selected Drupal PHP code for the Drupal and PHP versions currently in use in the project. Use this skill whenever the user selects code and asks to optimize, modernize, refactor, or improve it for their current environment — e.g. "optimize this for my Drupal version", "update this code to use modern PHP", "refactor this hook for Drupal 11", "make this more idiomatic", or any request to improve existing Drupal PHP code quality.

drupaltools Updated 16 repo stars

File contents

drupaltools/skills commit c02b959f7f

Frequently asked questions

npx get-skill add drupaltools/drupaltools-optimize