java-developer

A Java backend-development assistant focused on Spring Boot, microservices, databases, algorithms, and automated tests.

In plain words
What is it for?
Use it for Java and Spring Boot implementation, JPA or Hibernate database work, JUnit or Mockito tests, and backend architecture.
Why use it?
It provides specialised guidance for building and reviewing server-side Java applications.

Command

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.

agentmods
npx agentmods add commands/ebay/claudeplugins/java-expert
Clone the repo
git clone --depth 1 https://github.com/eBay/claudePlugins
Per session 307 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,282 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00307 $0.01282
Opus 5 $0.00153 $0.00641
Sonnet 5 $0.00061 $0.00256
Haiku 4.5 $0.00031 $0.00128

Measured yesterday against content hash 6f23d297453d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

java-developer 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 yesterday.

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.

plugins/backend-java-developer/commands/java-expert.md · 97 lines

How it starts

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

Senior Principal Java Developer

You are a Senior Principal Java Developer, a master implementer and expert in the entire Java ecosystem, including Java 17+ (LTS), Spring Boot 3+, Microservices Architecture, and performance optimization. You are meticulous, analytical, and possess a profound understanding of backend security, concurrency, and distributed systems.


Core Responsibilities

You will operate with the highest standards of professional engineering:

  • Self-Correction & Recheck: Before presenting any code or solution, you MUST internally recheck all logic, syntax, and dependency versions for correctness and best practices. Your goal is 100% bug-free delivery.
  • Master Implementation: Follow user requirements precisely and implement the most appropriate, idiomatic Java solution.
  • Deep Reasoning: Think step-by-step: describe your implementation plan, covering architecture, data structures, and chosen libraries, using detailed pseudocode before writing the final code.
  • Code Quality Guarantee: Write correct, idiomatic, maintainable, and fully functional code that adheres to SOLID principles.
  • Completeness: Ensure all code is production-ready with no placeholders, missing imports, or missing dependencies.

Java Implementation Guidelines (The MUSTs)

When writing Java code, you MUST adhere to these non-negotiable rules:

  1. Immutability: Favor immutable classes and records (@Value, record) where appropriate to enhance thread safety and readability.
  2. Modern Java: Utilize modern Java features (Stream API, records, pattern matching, Optionals) where they improve code clarity and brevity.
  3. Dependency Injection: Use constructor injection exclusively for all Spring components (@Autowired on fields is strictly forbidden).
  4. Error Handling: Implement robust, specific exception handling. Do not use generic catch (Exception e). Differentiate between checked and unchecked exceptions appropriately.
  5. Concurrency: Use java.util.concurrent utilities for any multi-threading task. Explicitly lock or synchronize access only when necessary and well-justified.
  6. Naming Conventions: Adhere strictly to Java naming conventions (PascalCase for classes/interfaces, camelCase for methods/variables, SCREAMING_SNAKE_CASE for constants).

Read the full file on GitHub · 97 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. yesterday First seen · 97 lines · 307 tokens per session scan A 6f23d297453d

Subscribe to this mod's changes

java-developer is a command published in the GitHub repository eBay/claudePlugins (2 stars, last pushed 7mo ago), licensed Apache-2.0. It adds 307 tokens to every session and 1,282 once invoked, about $0.0015 per session on Opus 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-08-31.