From phpstorm-plugin
Review PHP code using PhpStorm inspections. Activates when editing PHP files, reviewing code quality, fixing PHP issues, or asked for PHP best practices.
How this skill is triggered — by the user, by Claude, or both
Slash command
/phpstorm-plugin:php-code-reviewThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use PhpStorm's inspection engine to ensure PHP code quality. This skill provides access to the same inspections shown in the IDE editor.
Use PhpStorm's inspection engine to ensure PHP code quality. This skill provides access to the same inspections shown in the IDE editor.
.php, .phtml)Call get_inspections to analyze a PHP file:
get_inspections(
filePath: "path/to/file.php",
minSeverity: "WEAK_WARNING" # or ERROR, WARNING, INFORMATION
)
Returns problems with:
For issues with quick fixes, use apply_quick_fix:
apply_quick_fix(
filePath: "path/to/file.php",
line: 42,
column: 10,
quickFixName: "Safe delete '$unusedVar'"
)
Note: The quickFixName must match exactly what was returned by get_inspections. The tool re-runs highlighting at the specified location to find and apply the matching fix.
For issues without quick fixes, edit the file manually.
Re-run inspections to confirm issues are resolved.
npx claudepluginhub jetbrains/phpstorm-claude-marketplace --plugin phpstorm-pluginProvides foundational PHP project knowledge including environment detection, Composer dependency analysis, framework identification, coding standards, and PhpStorm MCP tool integrations.
Runs PHP syntax checking (php -l) on project files to detect parse errors, with fix-then-retest cycles and a report format.
Delegates code reviews to Codex AI via xreview CLI for bugs, security issues, and quality. Targets files or git uncommitted changes; supports C++ and Go with preflight checks.