enterprise-java

enterprise-java is a skill for Claude Code, Codex from HK-hub/AgentSkills. It costs 53 tokens per session (1,273 once invoked), scanned A, original, MIT.

A guide to building enterprise Java applications with Spring, microservices, design patterns, databases, and cloud tools. Java is a programming language, while Spring is a framework commonly used for larger Java services.

In plain words
What is it for?
Use it for Spring Boot services, microservices, database-backed applications, concurrency, performance tuning, Docker, Kubernetes, and continuous delivery.
Why use it?
It provides a consistent way to approach architecture, maintainability, performance, security, and distributed systems in Java projects.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it for Spring Boot services, microservices, database-backed applications, concurrency, performance tuning…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hk-hub/agentskills/enterprise-java
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 HK-hub/AgentSkills --skill enterprise-java
Clone the repo
git clone --depth 1 https://github.com/HK-hub/AgentSkills

Made for: Claude Code, Codex.

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 enterprise-java

README.md
[![agentmods](https://agentmods.dev/badge/skills/hk-hub/agentskills/enterprise-java.svg)](https://agentmods.dev/skills/hk-hub/agentskills/enterprise-java)
Your own site
<a href="https://agentmods.dev/skills/hk-hub/agentskills/enterprise-java"><img src="https://agentmods.dev/badge/skills/hk-hub/agentskills/enterprise-java.svg" alt="Measured on agentmods" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,273 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.00053 $0.01273
Opus 5 $0.00026 $0.00636
Sonnet 5 $0.00011 $0.00255
Haiku 4.5 $0.00005 $0.00127

Measured 3d ago against content hash 6f25ab8029a7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

enterprise-java 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 3d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

enterprise-java/SKILL.md · 200 lines

How it starts

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

Enterprise Java Skill

You are an expert Java enterprise developer with 10+ years of enterprise development experience, specializing in building robust, scalable, and maintainable systems.

Your Expertise

Technical Depth

  • Java Mastery: Java 8-21, JVM internals, performance tuning, concurrency
  • Spring Ecosystem: Spring Boot, Spring Cloud, Spring Security
  • Architecture: Microservices, DDD, Event-Driven, Clean Architecture
  • Database: MySQL, PostgreSQL, Redis, MongoDB, optimization and design
  • Distributed Systems: Transactions, locking, caching, messaging
  • DevOps: Docker, Kubernetes, CI/CD, monitoring

Core Principles You Follow

1. SOLID Principles
  • Single Responsibility: One class, one reason to change
  • Open/Closed: Open for extension, closed for modification
  • Liskov Substitution: Subtypes must be substitutable
  • Interface Segregation: Many specific interfaces > one general
  • Dependency Inversion: Depend on abstractions, not concretions
2. Clean Code
  • Clear naming that reveals intention
  • Functions do one thing well
  • Minimal comments - code explains itself
  • No magic numbers or strings
  • DRY (Don't Repeat Yourself)
3. Enterprise Patterns
  • Repository for data access
  • Service layer for business logic
  • DTO for data transfer
  • Factory/Builder for object creation
  • Strategy for algorithm variations

Code Generation Standards

Standard Class Template & Layered Architecture Pattern (Service, Repository, Controller Java templates): see references/class-templates.md

Response Patterns by Task Type

Response Templates (Code Review, Architecture Design, Performance Optimization, Problem Diagnosis): see references/response-patterns.md

Best Practices You Always Apply

Exception Handling

// ❌ Bad
try {
    service.process();
} catch (Exception e) {
    e.printStackTrace();
}

// ✅ Good
try {
    service.process();
} catch (BusinessException e) {
    log.warn("Business validation failed: {}", e.getMessage());
    throw e;
} catch (Exception e) {
    log.error("Unexpected error in process", e);
    throw new SystemException("Processing failed", e);
}

Read the full file on GitHub · 200 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3d ago First seen · 200 lines · 53 tokens per session scan A 6f25ab8029a7

Subscribe to this mod's changes

enterprise-java is a skill published in the GitHub repository HK-hub/AgentSkills (6 stars, last pushed 19d ago), licensed MIT. It adds 53 tokens to every session and 1,273 once invoked, about $0.0003 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-09-03.

Related

Other skills, from other repositories

java-patterns

Modern Java 17+ patterns — records, sealed classes, Stream API, CompletableFuture, Spring Boot, JPA. Activate when writing or reviewing Java.

DVNghiem/FlowDeck · 35 tokens

springboot-patterns

Spring Boot architecture patterns, REST API design, layered services, data access, caching, async processing, and logging. Use for Java Spring Boot backend work.

khanhhuyenngo985-sys/character-scene-design-skills · 36 tokens

java-coding-standards

Java coding standards for Spring Boot services: naming, immutability, Optional usage, streams, exceptions, generics, and project layout.

khanhhuyenngo985-sys/character-scene-design-skills · 35 tokens

wxjava-api-contributor

A contributor guide for adding or maintaining official WeChat API support in WxJava, a Java software development kit. It covers services, request and response data objects, data conversion, HTTP handling, starter configuration, and regression tests.

binarywang/WxJava · 68 tokens

azure-communication-callautomation-java

Build call automation workflows with Azure Communication Services Call Automation Java SDK. Use when implementing IVR systems, call routing, call recording, DTMF recognition, text-to-speech, or AI-powered call flows.

microsoft/skills · 49 tokens

azure-communication-chat-java

Build real-time chat applications with Azure Communication Services Chat Java SDK. Use when implementing chat threads, messaging, participants, read receipts, typing notifications, or real-time chat features.

microsoft/skills · 41 tokens