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 c02b959 4.5 KB Updated

File contents

drupaltools/skills/tree/main/skills/drupaltools-optimize commit c02b959f7f

Frequently asked questions

npx skillmds@latest add drupaltools/drupaltools-optimize