Complexity management

From VilnaCRM-Org/php-service-template · View interactive version

Complexity management is an AI agent skill from the GitHub repository VilnaCRM-Org/php-service-template. Preserve PHPInsights quality standards for php-service-template without lowering thresholds.

How to use this skill

Skill file

Complexity Management

Protected Thresholds

From phpinsights.php:

Do not lower them.

Command

make phpinsights

Refactoring Guidance

Typical Hotspots In This Template

Verification

Run:

make phpinsights
make psalm
make unit-tests

If the change also moved code across layers, add make deptrac.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.