phpstan-check

Community

Static analysis for PHP code quality.

Authorgenesiscz
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the process of running PHPStan, a static analysis tool, to identify type errors and potential bugs in your PHP codebase, ensuring higher code quality and fewer runtime issues.

Core Features & Use Cases

  • Type Checking: Detects type mismatches, undefined variables, and other common programming errors.
  • Isolated Analysis: Runs PHPStan in a separate context (forked agent) to prevent interference with your main development session.
  • Fix Suggestions: Can optionally suggest fixes for detected errors, aiding in code refactoring.
  • Use Case: Before committing your code, run /phpstan-check --files=src --level=7 to ensure all new code adheres to strict type checking standards.

Quick Start

Run a full PHPStan check on all files in the 'app' directory with the highest error reporting level.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 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-check
Download link: https://github.com/genesiscz/GenesisTools/archive/main.zip#phpstan-check

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

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.