关于
This skill helps developers transform complex 'fat' Symfony controllers into 'lean' controllers by adhering to best practices and the Single Responsibility Principle. It identifies business logic, validation, and authorization within controller actions and automates their extraction into dedicated services, Data Transfer Objects (DTOs), and Symfony Voters. By streamlining request handling and offloading side effects to asynchronous messages, it significantly improves code maintainability, reduces technical debt, and makes your application easier to unit test.