What problem does it solve? Rector can silently rewrite PHP code across an entire Laravel codebase, and auto-applying its output without review risks breaking changes. This Skill enforces a safe workflow: always dry-run first, review the diff, and only apply after explicit confirmation. ## Core Features & Use Cases - Dry-run enforcement: Mandates running rector process --dry-run before any changes, with pre-commit hook integration that blocks commits when dry-run finds diffs. - Docker-based execution: Standardized commands for running Rector inside project containers, with support for composer script shortcuts. - Reference configuration: Provides the stocker project's rector.php as a template covering PHP 8.3 upgrades, code quality, dead code removal, and name importing. - Use Case: Before modernizing a Laravel app's PHP syntax, run the dry-run, show the diff to the team lead, and apply only the approved changes. ## Quick Start Ask the AI to run a Rector dry-run on the Laravel project inside its Docker container and show the proposed diff before applying anything.