About
The Laravel Data Writer skill empowers developers to create clean, high-performance Data Transfer Objects (DTOs) within Laravel applications by following the Spatie Laravel Data package conventions. It enforces strict structural patterns like constructor property promotion and attribute-based validation while discouraging common anti-patterns like manual rule arrays or standard PHP arrays for collections. Whether you are organizing complex nested data structures for API controllers or setting up TypeScript exports for the frontend, this skill ensures your data layer remains consistent, scalable, and easy to maintain according to professional standards.