phpstan-developer

Community

Streamline PHPStan rule and extension development.

Authorpeterfox
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Build PHPStan rules, collectors, and extensions that analyze PHP code for custom errors. Use when asked to create, modify, or explain PHPStan rules, collectors, or type extensions. Triggers on requests like "write a PHPStan rule to...", "create a PHPStan rule that...", "add a PHPStan rule for...", "write a collector for...", or when working on a phpstan extension package.

Core Features & Use Cases

  • Comprehensive scaffolding and guidance for rule, collector, and extension development.
  • Clear testing, neon registration, and documentation patterns to streamline integration into projects.
  • Use Case: A developer wants to add a new PHPStan rule to enforce a project-specific convention and needs end-to-end guidance from creation to tests.

Quick Start

Create a new PHPStan extension by following the scaffolding pattern and running tests to validate rules.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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-developer
Download link: https://github.com/peterfox/agent-skills/archive/main.zip#phpstan-developer

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 471,000+ vetted skills library on demand.