marketplace/bundles/pm-dev-java/skills/java-lombok/SKILL.md
Lombok patterns including @Delegate, @Builder, @UtilityClass for reducing boilerplate
npx skillsauth add cuioss/plan-marshall java-lombokInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
REFERENCE MODE: This skill provides reference material. Load specific standards on-demand based on current task.
Lombok standards for reducing boilerplate code while maintaining code quality and testability.
This skill applies to Java projects using Project Lombok for boilerplate reduction.
Important: Load this standard for any Lombok work involving @Delegate, @Builder, @Value, @Data, or @UtilityClass.
Read: standards/lombok-core-annotations.md
This provides rules for:
@Delegate for delegation over inheritance@Builder with records vs classes (including @Builder.Default limitations)@Value vs records decision guidance@Data for mutable objects@UtilityClass for static method classesLoad for entity/bean work involving @EqualsAndHashCode, @ToString, @Getter, @Setter:
Read: standards/lombok-canonical-methods.md
This provides rules for:
@EqualsAndHashCode with business keys and inheritance@ToString with sensitive field exclusion@Getter / @Setter for mutable beans (JPA entities)| Scenario | Recommendation |
|----------|---------------|
| Immutable data carrier | Java record (not @Value) |
| 4+ constructor parameters | @Builder |
| Need @Builder.Default or toBuilder | Class with @Builder |
| Delegation over inheritance | @Delegate |
| JPA entity with business key | @Getter + @Setter + @EqualsAndHashCode(of = ...) |
| Static utility methods | @UtilityClass |
pm-dev-java:java-core - Core Java patterns, records migrationpm-dev-java:java-null-safety - Null safety with Lomboktesting
A test skill for README generation
testing
A test skill with existing references
tools
Skill without references directory
development
Test skill with table-format references