jetbrains/phpstorm-claude-marketplace · Archived

php-code-review

Review PHP code using PhpStorm inspections. Use when editing PHP files, reviewing code quality, fixing PHP issues, or when asked about PHP best practices.

First seen Apr 9, 2026

Installation

$ npx skills add jetbrains/phpstorm-claude-marketplace --skill php-code-review

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from jetbrains/phpstorm-claude-marketplace.

npx skills add jetbrains/phpstorm-claude-marketplace

Browse all from jetbrains/phpstorm-claude-marketplace

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 28
License LICENSE
Default branch main
Open issues 0
Status Archived

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,753 B
  • docs SUMMARY.md 177 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 3 installs

SKILL.md

PHP Code Review Skill

Use PhpStorm's inspection engine to ensure PHP code quality. This skill provides access to the same inspections shown in the IDE editor.

When to Use

  • After editing PHP files (.php, .phtml)
  • When user asks to review PHP code quality
  • When fixing PHP-related issues
  • When asked about PHP best practices for this codebase

Workflow

1. Run Inspections

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:

  • severity: ERROR > WARNING > WEAK_WARNING > INFORMATION
  • line/column: Exact location (1-based)
  • description: What's wrong
  • quickFixes: Available automated fixes (name + description)

2. Evaluate Results

  • ERROR: Must fix - code may not work correctly
  • WARNING: Should fix - potential bugs or bad practices
  • WEAK_WARNING: Consider fixing - style or minor issues
  • INFORMATION: Optional - suggestions for improvement

3. Apply Fixes

For issues with quick fixes, use applyquickfix:

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.

4. Verify

Re-run inspections to confirm issues are resolved.