소개
This skill automates the creation of 'Invalide' classes, a pattern used to centralize and standardize domain-specific exceptions for PHP entities. It enforces architectural best practices such as final classes, private constructors, and static factory methods (prefixed with 'car') for expressive error handling. By verifying entity existence and following a strict template, it helps developers implement robust error management that remains consistent across the codebase, ensuring that business rules are validated efficiently and failures are handled with maximum context.