Deptrac fixer

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

Deptrac fixer is an AI agent skill from the GitHub repository VilnaCRM-Org/php-service-template. Fix architectural boundary violations without editing deptrac.yaml.

How to use this skill

Skill file

Deptrac Fixer

Goal

Resolve Deptrac violations by changing code placement and dependencies, not by weakening the rules.

Command

make deptrac

Core Rules For This Template

Common Fix Patterns

Domain imports Symfony validator

Domain imports Doctrine attributes

Domain imports API Platform attributes

Wrong layer placement

Verification

After the architectural fix:

make deptrac
make psalm
make unit-tests

If the change is large, finish with ci-workflow.

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.