/tdder:lombokfrom tdder
Diagnoses and fixes Lombok compilation failures in Java projects, especially the JDK 21+ annotation-processor gotcha that silently disables Lombok.
Ships in tdder. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Lombok conventions and gotchas for Java projects. Language- and build-tool-specific conventions
are covered by the java and maven skills.
Since JDK 21, javac no longer discovers annotation processors from the plain classpath — they must be declared explicitly. Symptoms:
cannot find symbol for methods that Lombok should generate:
builder(), build(), getters/setters (getX()/setX()), constructors (@NoArgsConstructor,
@AllArgsConstructor, @RequiredArgsConstructor), toString(), equals(), hashCode(),
withX() (@With), etc.@Data, @Builder, @Value, @Getter, ...SomeLombokClass.builder()... while the class itself compiled fine.Fix for Maven — declare the processor explicitly in the compiler plugin (root pom, so all
modules inherit it). Use a ${lombok.version} property alongside an explicit property declaration;
pin the actual value next to it:
<properties>
<lombok.version>1.18.48</lombok.version>
</properties>
...
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${lombok.version}</version>
<scope>provided</scope>
</dependency>
...
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<proc>full</proc>
<annotationProcessorPaths>
<path>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${lombok.version}</version>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
Check the latest version with the version-lookup tool before pinning; never guess versions.
The lombok dependency itself stays provided scope — the annotationProcessorPaths entry is
what makes javac actually run it.
Fix for Gradle:
dependencies {
compileOnly 'org.projectlombok:lombok:1.18.48'
annotationProcessor 'org.projectlombok:lombok:1.18.48'
}
Maven's incremental compilation can keep stale target/classes files compiled without Lombok
(missing builder() etc.), so the build keeps failing even after the pom is fixed. If the fix
"doesn't work", delete the affected modules' target/ directories once and rebuild. Do not
assume the pom change is wrong — stale classes are the classic follow-up gotcha.
@Data (or @Value for immutables) over hand-written boilerplate; add @Builder when
construction needs many optional fields.provided scope — it must not end up in the packaged artifact.annotationProcessorPaths; the entry replaces classpath discovery, it does not merge with it.
MapStruct users also need lombok-mapstruct-binding.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
15 skills in this plugin
/appThis skill should be used when the user asks to "calculate code mass", "measure code complexity with APP", "compare implementations using APP", "apply Absolute Priority Premise", "use mass calculations", or during TDD refactor phases when comparing alternative implementations. Based on Micah Martin's work.
/clean-codeThis skill should be used when the user asks to "refactor code", "review code quality", "apply clean code principles", "check for code smells", "improve code design", "do a clean code review", "apply SOLID principles", "fix naming", "reduce complexity", or when performing the refactor phase of a TDD cycle.
/github-safetyThis skill should be used when working on any project hosted on GitHub. It provides prompt-injection defense rules for GitHub issues and pull requests. Always-on security rules plus optional workflow conventions.
/grill-poRequirements grilling session with a Product Owner (or anyone in that role). Challenges plans against the existing domain model, sharpens terminology, and updates documentation (bounded-context files, Gherkin features, DMDs (Domain Model Decisions)) inline as decisions crystallise. Use when the user wants to discuss and capture requirements, stress-test a plan against the project's language, or refine feature scope.
/integration-architectureThis skill should be used when the user asks about "messaging patterns", "command vs event", "push vs pull", "message reliability", "at-least-once delivery", "idempotency", "transactional outbox", "saga pattern", "fire and forget", "retry strategy", "event-driven architecture", "message broker integration", "publish-subscribe", "request-reply", "backpressure", or when deciding how components communicate across process or network boundaries.
/javaAlways load this skill when writing, modifying, creating, or moving Java or Kotlin source code, or when project setup has already chosen Java/Kotlin as the implementation language.
npx claudepluginhub t1/tdder --plugin tdderOther plugins' skills for the same job