phpstan-runner

Official

Run & fix PHPStan errors, ensure code quality.

AuthorLongTermSupport
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Iteratively running PHPStan, analyzing its output, manually applying fixes, and then re-running the analysis is a tedious and time-consuming process. This Skill automates the entire run-fix-run cycle for PHPStan, ensuring your PHP code meets static analysis standards efficiently.

Core Features & Use Cases

  • Automated Analysis Execution: Runs PHPStan static analysis using an optimized agent.
  • Intelligent Fix Cycle: Automatically detects errors, delegates to a fixer agent, applies fixes for common issues, and re-runs analysis until clean.
  • Use Case: When refactoring a large codebase, simply say "run PHPStan" and this Skill will execute the analysis, identify type errors and other issues, fix them, and confirm the code is clean, allowing you to maintain high code quality effortlessly.

Quick Start

Use the phpstan-runner skill to run PHPStan analysis and fix any errors.

Dependency Matrix

Required Modules

python3

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: phpstan-runner
Download link: https://github.com/LongTermSupport/php-qa-ci/archive/main.zip#phpstan-runner

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository