java-spring-enterprise

java-spring-enterprise is a skill for Claude Code, Codex from iamBrzDev/enterprise-agent-skills. It costs 113 tokens per session (2,251 once invoked), scanned A, original, MIT.

A guide for building large Java applications with Spring Boot using separate business, application, and infrastructure parts. It also covers transactions, database connections, background work, and monitoring.

In plain words
What is it for?
Use it to start or reorganize Spring Boot systems, design services and domain models, handle database transactions, tune connection pools, use Java virtual threads, or add application monitoring.
Why use it?
It helps keep business rules independent from the Spring framework and prevents controllers and services from accumulating unrelated responsibilities.

Skill for Claude CodeCodex

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

Good fit Use it to start or reorganize Spring Boot systems, design services and domain models, handle database transactions, tune connection pools, use Java virtual threads, or add application monitoring.

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

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/iambrzdev/enterprise-agent-skills/java-spring-enterprise/github.svg)](https://agentmods.dev/skills/iambrzdev/enterprise-agent-skills/java-spring-enterprise)
Your own site
<a href="https://agentmods.dev/skills/iambrzdev/enterprise-agent-skills/java-spring-enterprise"><img src="https://agentmods.dev/badge/skills/iambrzdev/enterprise-agent-skills/java-spring-enterprise/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 java-spring-enterprise

Your own site · 80×15
<a href="https://agentmods.dev/skills/iambrzdev/enterprise-agent-skills/java-spring-enterprise"><img src="https://agentmods.dev/badge/skills/iambrzdev/enterprise-agent-skills/java-spring-enterprise.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 113 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,251 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.00113 $0.02251
Opus 5.5 $0.00045 $0.00900
Sonnet 5.5 $0.00023 $0.00450
Haiku 4.5 $0.00011 $0.00225

Measured 1mo ago against content hash 20eddb20b728, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

java-spring-enterprise 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 1mo 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/java-spring-enterprise/SKILL.md · 293 lines

How it starts

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

When to activate

  • Scaffolding a new Spring Boot enterprise project
  • "How do I structure this feature?" in a Java/Spring context
  • Designing a service layer, use case, or domain model
  • Configuring @Transactional — any question about transactions, isolation, or rollback
  • Setting up HikariCP connection pool tuning
  • Implementing Virtual Threads (Java 21+) for I/O-heavy operations
  • Adding observability: Micrometer, Prometheus, Grafana, OpenTelemetry tracing
  • Refactoring a fat controller or a service with too many responsibilities
  • Any mention of Hexagonal Architecture, ports/adapters, DDD, or use cases in Java

Rules — Non-negotiable

  1. No business logic in controllers. Controllers receive HTTP input, delegate to a use case or service, and return a response. Nothing else.

  2. Domain layer has zero Spring dependencies. Entities and domain services must not import Spring annotations. Domain is framework-agnostic.

  3. @Transactional is not a default annotation. Apply it deliberately, with the correct isolation level. Add readOnly = true for all read operations.

  4. Never expose domain entities in API responses. Always map to DTOs or response records before returning from the controller.

  5. HikariCP pool size must be tuned explicitly. The default pool size (10) is wrong for most enterprise workloads. Always configure based on load profile.

Project Structure — Clean / Hexagonal Architecture

src/main/java/com/company/app/
├── domain/
│   ├── model/              # Entities, Value Objects, Aggregates — NO Spring here
│   ├── port/
│   │   ├── in/             # Use case interfaces (driving ports)
│   │   └── out/            # Repository + external service interfaces (driven ports)
│   └── service/            # Domain services — pure business logic
│
├── application/
│   └── usecase/            # Use case implementations — orchestrate domain + ports
│       ├── CreateOrderUseCase.java
│       └── GetOrderByIdUseCase.java
│
├── adapter/
│   ├── in/
│   │   └── web/            # Controllers, request/response DTOs, mappers
│   └── out/
│       ├── persistence/    # JPA entities, repositories (Spring Data)
│       └── external/       # HTTP clients, message producers
│
└── config/                 # Spring configuration, beans, security

Read the full file on GitHub · 293 lines

Files

What ships with it

3 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. 1mo ago Changed 20eddb20b728
  2. 1mo ago First seen · 293 lines · 113 tokens per session scan A ce3aaea6d3cf

Subscribe to this mod's changes

java-spring-enterprise is a skill published in the GitHub repository iamBrzDev/enterprise-agent-skills (5 stars, last pushed 1mo ago), licensed MIT. It adds 113 tokens to every session and 2,251 once invoked, about $0.0005 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-08-31.

Related

Other skills, from other repositories

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

azure-communication-common-java

Azure Communication Services common utilities for Java. Use when working with CommunicationTokenCredential, user identifiers, token refresh, or shared authentication across ACS services.

microsoft/skills · 35 tokens

azure-communication-sms-java

Send SMS messages with Azure Communication Services SMS Java SDK. Use when implementing SMS notifications, alerts, OTP delivery, bulk messaging, or delivery reports.

microsoft/skills · 36 tokens

java-coding-standards

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

hashgraph-online/awesome-codex-plugins · 35 tokens