Skill / SKILL.md

Drupal Rector Update

kanopi/cms-cultivator

Migrate a Drupal project's Rector configuration to the modern Composer-based sets approach (Rector 2.5–2.6.4 with palantirnet/drupal-rector 1.x), where set selection is driven automatically by the installed drupal/core version instead of a hand-maintained list. Use whenever someone wants to set up, update, modernize, or fix Rector on a Drupal site, mentions rector.php, DrupalSetProvider, withComposerBased, composer-based sets, or automatic version selection for Rector, or says things like 'update rector', 'get rector onto the new approach', 'stop maintaining rector set lists', or 'add rector to this Drupal site'. Has side effects: edits composer.json and rector.php and can rewrite custom module/theme code. Migrates Rector configuration only — running an existing Rector setup (rector-check, rector-fix, a failing Rector check) belongs to code-standards-checker.
3 views 17 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Migrate a Drupal project's Rector configuration to the modern Composer-based sets approach (Rector 2.5–2.6.4 with palantirnet/drupal-rector 1.x), where set selection is driven automatically by the installed drupal/core version instead of a hand-maintained list. Use whenever someone wants to set up, update, modernize, or fix Rector on a Drupal site, mentions rector.php, DrupalSetProvider, withComposerBased, composer-based sets, or automatic version selection for Rector, or says things like 'update rector', 'get rector onto the new approach', 'stop maintaining rector set lists', or 'add rector to this Drupal site'. Has side effects: edits composer.json and rector.php and can rewrite custom module/theme code. Migrates Rector configuration only — running an existing Rector setup (rector-check, rector-fix, a failing Rector check) belongs to code-standards-checker.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/kanopi/cms-cultivator' skill-source

Use the complete skill-source/skills/drupal-rector-update directory with your client’s skill installer.

  • skills/drupal-rector-update

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/drupal-rector-update

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
a90128a6ea6991a38d9436d1bb7a7004b86ec576ade2e18dd75305709cadfc1a
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills