What problem does it solve? Writing entity-to-DTO mapping code by hand is repetitive and error-prone, especially when handling flattened associations, partial updates, and MapStruct annotation rules. This Skill generates the mapper for you, wired to your actual entity and DTO fields. ## Core Features & Use Cases - MapStruct or Custom Mappers: Generates either a MapStruct interface/abstract class with @Mapping annotations or a plain custom converter with static methods (Java) or extension functions (Kotlin). - Field-Aware Mapping: Compares entity and DTO fields via the Spring MCP server to produce correct @Mapping(source, target) pairs, dot-notation for flat ToOne fields, and helper methods for flat collections. - Optional Update Methods: Adds partialUpdate (with configurable null strategy) and updateWithNull methods on request, plus @AfterMapping handlers for bidirectional associations. - Dependency Management: Automatically adds mapstruct and mapstruct-processor artifacts to your Gradle or Maven build file when missing. - Use Case: After creating an OrderDto, ask for a mapper and receive a ready-to-compile OrderMapper with toEntity, toOrderDto, and correct association mappings. ## Quick Start Ask the assistant to create a MapStruct mapper from the Order entity to OrderDto using default settings.