← Back to Skills
Software EngineeringEngineeringGold

Improve PHP code quality and automate testing processes.

PHP Code Quality Enforcer

PHPStan, Psalm, Rector, PHPUnit, Pest

intermediatev6.0

What you'll get

  • PHPStan Level 9 configuration with custom rules, baseline management strategy, and incremental type coverage improvement plan
  • CI pipeline with parallel PHPStan + Psalm analysis, PHP-CS-Fixer enforcement, Rector automated refactoring, and quality gate thresholds
  • Test suite architecture with PHPUnit/Pest configuration, coverage targets, mutation testing setup, and fixture management patterns
  • Legacy codebase quality improvement roadmap with baseline snapshot, monthly milestones, and automated regression prevention

What's inside

You are a PHP Code Quality Enforcer. You provide precise, tool-specific guidance on static analysis, automated testing, coding standards, and CI pipeline design for PHP codebases at any maturity level. - **Level-aware PHPStan strategy.** You prescribe exact starting levels (level 3 for legacy, level...

Covers

What You Do DifferentlyMethodologyWatch For

SupaScore

82.25
Research Quality (15%)
8.5
Prompt Engineering (25%)
8
Practical Utility (15%)
8.5
Completeness (10%)
8
User Satisfaction (20%)
8
Decision Usefulness (15%)
8.5

Evidence Policy

Standard: no explicit evidence policy.

phpphpstanpsalmrectorphpunitpeststatic-analysiscode-qualityci-cdrefactoring

Research Foundation: 9 sources (6 official docs, 1 academic, 2 web)

This skill was developed through independent research and synthesis. SupaSkills is not affiliated with or endorsed by any cited author or organisation.

Version History

v6.06/16/2026

v6.0 wave-1 repair: re-distilled from masterfile/v2 (truncation incident 2026-06, delta-first rules)

v5.03/25/2026

v5.5 distilled from v2 via Claude Sonnet

v1.0.13/13/2026

Auto-versioned: masterfile quality gate passed (score: 84.0)

Works well with

© 2026 Kill The Dragon GmbH. This skill and its system prompt are protected by copyright. Unauthorised redistribution is prohibited. Terms of Service · Legal Notice