Generate and maintain patches for Composer-installed packages (Drupal contrib modules, WordPress packages, PHP libraries) using cweagans/composer-patches. Invoke when the user needs to modify a contrib or vendor package, mentions "composer patch", "patch a module", "patch a contrib module", "cweagans", "diff -ruN", "extra.patches", or needs a package change that applies cleanly in CI. Covers generating diff -ruN patches, handling new files, wiring composer.json, and verifying the patch applies.
$npx -y skills add kanopi/cms-cultivator --skill composer-patch-generatorInstalls into the current project.
Run `npx skills use "https://github.com/kanopi/cms-cultivator" --skill "kanopi/cms-cultivator/composer-patch-generator"` 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/kanopi/cms-cultivator" that are relevant to the current task. Run `npx skills add "https://github.com/kanopi/cms-cultivator"` and select the relevant skills, then follow their instructions.