petrvs-phpstan-quality
OfficialFix PHPStan/Larastan issues safely and fast
Software Engineering#type safety#static analysis#validation#phpstan#phpdoc#larastan#eloquent relations
Authorgestaogovbr
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps you turn PHPStan/Larastan findings for the Petrvs-PGD codebase into real, correct improvements instead of leaving noisy or misleading warnings unresolved.
Core Features & Use Cases
- Static analysis triage: Validate whether each reported finding is a true bug, a missing type hint, an incorrect PHPDoc contract, or a Larastan inference limitation.
- Type and model-relation correctness: Address undefined variables, duplicate validation keys, and Eloquent relation/type issues by inspecting the relevant models and query chains.
- Incremental quality improvement: Re-run PHPStan on the smallest affected path first, then expand scope only when shared code changes.
Quick Start
Ask the AI to review the PHPStan output for the smallest changed path in Petrvs and propose safe code/type corrections without suppressions.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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: petrvs-phpstan-quality Download link: https://github.com/gestaogovbr/pgd-petrvs-publico/archive/main.zip#petrvs-phpstan-quality Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.