What problem does it solve?
This Skill provides a comprehensive guide to implementing and adhering to a strict 4-layer architecture, ensuring code maintainability, scalability, and clear separation of concerns.
Core Features & Use Cases
- Architectural Blueprint: Details the responsibilities of each layer (Bootstrap, Domain Application, Domain Service, Domain Repository) and their interdependencies.
- DTO Flow Management: Clearly defines data conversion points and dependency directions between API DTOs, Domain DTOs, and Entities.
- Dependency Injection Rules: Outlines precise rules for injecting dependencies across layers to prevent anti-patterns.
- Transaction Management: Specifies where and how transactions should be managed for optimal data integrity.
- Use Case: When starting a new Spring Boot project or refactoring an existing one, use this Skill to establish a robust and consistent architectural foundation that developers can easily follow.
Quick Start
Follow the layer architecture guidelines to structure your new feature's code.