lombok

lombok is a skill for Claude Code from t1/tdder. It costs 139 tokens per session (1,012 once invoked), scanned A, original, Apache-2.0.

A Java library and build setup guide for Lombok, which generates common code such as getters, setters, constructors, and builders from annotations. It covers configuring Lombok's code generator in Maven and Gradle projects, especially with JDK 21 and later.

In plain words
What is it for?
Use it when a Maven or Gradle project uses Lombok annotations or when Lombok-generated methods are missing during compilation or tests.
Why use it?
It helps explain compilation errors when Java code expects methods that Lombok should have generated but did not. It also avoids build failures caused by annotation processing not being configured explicitly.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the tdder plugin — 15 skills, 2 commands, 6 agents, 1 hook shipped together

Good fit Use it when a Maven or Gradle project uses Lombok annotations or when Lombok-generated methods are missing during compilation or tests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/t1/tdder/lombok
View source ↗ t1/tdder
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add t1/tdder --skill lombok
Clone the repo
git clone --depth 1 https://github.com/t1/tdder

Made for: Claude Code.

Or install tdder, the plugin that ships this one along with the rest of its 15 skills, 2 commands, 6 agents, 1 hook.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for lombok

README.md
[![agentmods](https://agentmods.dev/badge/skills/t1/tdder/lombok/github.svg)](https://agentmods.dev/skills/t1/tdder/lombok)
Your own site
<a href="https://agentmods.dev/skills/t1/tdder/lombok"><img src="https://agentmods.dev/badge/skills/t1/tdder/lombok/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for lombok

Your own site · 80×15
<a href="https://agentmods.dev/skills/t1/tdder/lombok"><img src="https://agentmods.dev/badge/skills/t1/tdder/lombok.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 139 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,012 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00139 $0.01012
Opus 5.5 $0.00056 $0.00405
Sonnet 5.5 $0.00028 $0.00202
Haiku 4.5 $0.00014 $0.00101

Measured 28d ago against content hash 4a19b6388a1c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

lombok scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 28d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/lombok/SKILL.md · 101 lines

How it starts

The opening of the file, as written. The whole thing — 101 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Lombok

Lombok conventions and gotchas for Java projects. Language- and build-tool-specific conventions are covered by the java and maven skills.

Trigger: Lombok Not Running (JDK 21+)

Since JDK 21, javac no longer discovers annotation processors from the plain classpath — they must be declared explicitly. Symptoms:

  • Compilation fails with 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.
  • The error location is a class annotated with @Data, @Builder, @Value, @Getter, ...
  • Tests fail to compile calling 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:

Read the full file on GitHub · 101 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 28d ago Changed · +16 lines · +56 tokens per session 4a19b6388a1c
  2. 29d ago First seen · 85 lines · 83 tokens per session scan A b977c64da8c8

Subscribe to this mod's changes

lombok is a skill published in the GitHub repository t1/tdder (14 stars, last pushed 2d ago), licensed Apache-2.0. It adds 139 tokens to every session and 1,012 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-01.

Related

lombok compared with skills from other repositories

lombok next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
lombokt1/tdderSkill142d agoApache-2.0A139Claude Code
implementtaipt1504/claudehutSkill31mo agononeA59Claude Code
go-errorsCasLubbers/code-design-skillsSkill23mo agononeA101Claude Code
java-boy-scoutCasLubbers/code-design-skillsSkill23mo agononeA95Claude Code
py-boy-scoutCasLubbers/code-design-skillsSkill23mo agononeA0Claude Code
ts-boy-scoutCasLubbers/code-design-skillsSkill23mo agononeA0Claude Code
java-perf-checkducpm2303/claude-java-pluginsSkill177mo agononeA56Claude Code