What problem does it solve? Setting up static analysis, automated refactoring, and code formatting on a framework-agnostic PHP project requires choosing correct PHPStan levels, Rector sets, and PHP-CS-Fixer rule sets, plus wiring them into CI in the right order. This Skill provides decision guides and ready-to-copy config templates so the three tools work together without overlap. ## Core Features & Use Cases - PHPStan configuration: Rule levels 0-10, baseline strategy for legacy code, strict-rules and Bleeding Edge options, with a complete phpstan.neon template. - Rector automation: PHP version upgrades via withPhpSets(), prepared sets for dead code and type coverage, and incremental level-by-level adoption for legacy codebases. - PHP-CS-Fixer setup: @PER-CS rule sets, risky-rule handling, and the Pint boundary for Laravel projects, plus a composer scripts and GitHub Actions CI pipeline template. - Use Case: You inherit a legacy PHP 8.1 codebase with no quality gates. Use this Skill to generate a baseline PHPStan config, adopt Rector one level per PR, enforce @PER-CS3.0 style, and gate everything in CI. ## Quick Start Ask the agent to set up PHPStan, Rector, and PHP-CS-Fixer with a CI pipeline on your non-Laravel PHP project.