php-modernizationlisted
Install: claude install-skill ValentinNikolaev/agent-skills
<!-- SPDX-License-Identifier: CC-BY-SA-4.0 -->
# PHP Modernization
Modernize a bounded PHP project while preserving its declared behavior and supported consumers. This skill and its compatibility reference adapt and substantially rewrite Netresearch DTT GmbH's `php-modernization-skill` at commit `8df68546e8d9fa00e4530e9c26e73adcc3322834`. They are distributed under CC-BY-SA-4.0; see [LICENSE.netresearch-content](LICENSE.netresearch-content) and [NOTICE.netresearch](NOTICE.netresearch). Upstream scripts and automated fix loops are not bundled.
## Route precisely
- Use for an explicit PHP runtime upgrade, adoption of modern PHP features, or a PHP typing/static-analysis/refactoring-tool migration with a defined target.
- Use `code-review` to inspect an existing diff without edits, `code-simplification` for a local behavior-preserving cleanup, and `vet-dependency` when selecting a replacement package is the primary decision.
- Use `deprecation-and-migration` for live API, schema, or stored-data rollout. When a PHP upgrade touches such a contract, identify those transition gates separately rather than assuming runtime compatibility proves rollout safety.
- A request for assessment or a plan authorizes discovery and planning only. Apply local changes when implementation is requested; do not deploy, publish, commit, or run external mutations merely because a preview is ready.
## Discover before running tools
1. Read repository and path-scoped instructions; record status, reque