When a user requests an entity, aggregate, or persistence model, the skill guides aggregate-boundary and schema checks, JPA package placement, and modeling choices for roots, value objects, and DTOs. It requires pairing the entity sketch with a Flyway migration note, repository-query impact flags, and test ideas for invariants.
84%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Passed
No findings from the security scan
Role: Skill — entity/aggregate sketch generator
Trigger: user asks for an entity, aggregate, or persistence model.
schema-design when table boundaries are unclear.com.orbit.entity (package-by-layer — never hexagonal packages).@Getter/@Setter/@Builder/@NoArgsConstructor/@AllArgsConstructor/id @EqualsAndHashCode — not @Data). Value objects and API DTOs use @Data+@Builder+args ctors (lombok.md / ADR-0004). Do not introduce new VO/API records.@Embeddable with @Embedded/@EmbeddedId + @AttributeOverride on the aggregate — no AttributeConverter classes (ADR-0005).entity/ + migration note + test ideas for invariants.bdfe0ae
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.